Difference between revisions of "Template:Armor"

From Discovery Wiki
Jump to navigationJump to search
 
(67 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| class="weaponmainbox" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #aaa;" cellpadding="3"
+
{| class="infobox bordered" style="float: right; width: 270px; font-size: 90%; line-height: 110%; margin-left: 1em; margin-bottom: 1em; border: 1px solid #aaa;" cellpadding="3"
 
|-
 
|-
| colspan="2" class="infobox-name"|<H3>{{{short-name}}}</H3>
+
| colspan="2" class="infobox-name" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 185%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|{{{short-name}}}
 
|-
 
|-
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
+
| colspan="2" style="text-align: center; background-color: #14193F;"|{{#if: {{{image|}}}
| [[image:{{{image}}}|center|220px]]
+
| {{#ifexist:File:{{{image}}}
| [[image:no_fighter_gun.png|center|220px]]}}
+
| [[Image:{{{image}}}|center|220px]]
 +
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
 +
| [[Image:no_fighter_gun.png|center|220px]]}}
 
|-
 
|-
| colspan="2" class="infobox-name"|<H3>Armor Upgrade</H3>
+
| colspan="2" class="infobox-section" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 150%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|Armor Upgrade
|- title="Hull strength multiplier"
 
|class="infobox-data-title" | '''Hull Multiplier'''
 
|| {{{hull-multi|''unknown''}}} x
 
 
|- title="Cargo space used by the equipment"
 
|- title="Cargo space used by the equipment"
|class="infobox-data-title" | '''Cargo Space'''
+
| class="infobox-data-title"|'''Cargo Space'''
 
|| {{{cargo-space|''unknown''}}}
 
|| {{{cargo-space|''unknown''}}}
 
|-
 
|-
|class="infobox-data-title" | '''Price'''
+
| class="infobox-data-title"|'''Price'''
|| {{#if: {{{price|}}}
+
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
| ${{formatnum:{{{price}}}}}
 
| ''unknown''}}
 
 
|}
 
|}
{{#if:{{{description|}}}|{{{description}}}|''description missing''}}
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
{{#if:{{{places-sold|}}}|==Places Sold==
+
==Armor Stats==
{{{places-sold}}}}}
+
* Hull Multiplier: {{{hull-multi|''unknown''}}} x
 +
{{Clear}}
 +
==Buy/Sell Locations==
 +
{{#if: {{{places-sold|}}}|: The following bases are known to carry this item, although sales may be restricted to pilots with a high positive reputation.
 +
{{{places-sold}}}|: This item is not sold on any known bases. It may only be available from shipwrecks, sold on player bases, or given by administrators.}}
 +
 
 
{{Clear}}
 
{{Clear}}
 
{{Equipment navigation}}
 
{{Equipment navigation}}
{{#if:{{{examplepage|}}}||[[Category:Ship Equipment]][[Category:Armor]]}}
+
<includeonly>[[Category:Ship Equipment]][[Category:Armor Upgrades]]</includeonly>
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
<noinclude>-->
 +
'''Template:Armor''' is for armor upgrades.
  
'''Template:Armor''' is for armor upgrades.
+
Recognized attributes are shown in the ''Usage'' section below. Of particular note:
 +
 
 +
* ''full-name'' is the item's full name, as extracted from the infocard data, and should be used for the page title. It is not used by the template and is only provided for reference.
 +
 
 +
* ''short-name'' is used for the title of the infobox.
 +
 
 +
* ''description'' is used for the text block at the top of the page.
 +
 
 +
* ''image'' is used for the equipment image in the infobox. If a value for the ''image'' attribute is not provided, [[:File:no_fighter_gun.png]] is used as the default image.
  
Recognized attributes are shown in the ''Usage'' section below. The value of ''full-name'' is the item's full name, as extracted from the infocard data, and should be used for the page title, and is only provided here for reference. ''short-name'' is used for the title of the infobox, and the remaining attributes are for infobox attribute values. Note that if a value for the ''image'' attribute is not provided, [[:File:no_fighter_gun.png]] is used as the default image.
+
The remaining attributes are used to populate fields throughout the page.
  
 
==Usage==
 
==Usage==
Line 46: Line 57:
 
| cargo-space = 2
 
| cargo-space = 2
 
| hull-multi = 1.4
 
| hull-multi = 1.4
| places-sold =  
+
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
{{{!}} class="wikitable collapsible collapsed"
 
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
!Base!!Owner!!System!!Location
+
!Base!!Owner!!System!!Region
 
{{!}}-
 
{{!}}-
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
Line 72: Line 82:
 
| cargo-space = 2
 
| cargo-space = 2
 
| hull-multi = 1.4
 
| hull-multi = 1.4
| places-sold =  
+
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
{{{!}} class="wikitable collapsible collapsed"
 
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
!Base!!Owner!!System!!Location
+
!Base!!Owner!!System!!Region
 
{{!}}-
 
{{!}}-
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
Line 87: Line 96:
 
{{!}}}
 
{{!}}}
 
}}
 
}}
 +
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 02:33, 21 December 2012

Template:Armor is for armor upgrades.

Recognized attributes are shown in the Usage section below. Of particular note:

  • full-name is the item's full name, as extracted from the infocard data, and should be used for the page title. It is not used by the template and is only provided for reference.
  • short-name is used for the title of the infobox.
  • description is used for the text block at the top of the page.
  • image is used for the equipment image in the infobox. If a value for the image attribute is not provided, File:no_fighter_gun.png is used as the default image.

The remaining attributes are used to populate fields throughout the page.

Usage

{{Armor
| image = au1.png
| short-name = Armor Upgrade Mk I
| full-name = Universal Armor Upgrade Mk I
| description = Basic armor upgrade mostly used by civilian pilots. This
upgrade does not provide much protection, but it is relatively cheap and
will sometimes make a difference in a dangerous situation. Multiplies base
armor by 1.4; occupies 2 cargo space.
| price = 255,000
| cargo-space = 2
| hull-multi = 1.4
| places-sold = {{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
!Spoiler: Buying Locations
{{!}}-
{{!}}
{{{!}} class="wikitable sortable" style="margin: 4px;"
{{!}}-
!Base!!Owner!!System!!Region
{{!}}-
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
{{!}}-
{{!}}Base B{{!}}{{!}}Faction B{{!}}{{!}}System B{{!}}{{!}}Region B
{{!}}}
{{!}}}
}}

Result

Armor Upgrade Mk I
Au1.png
Armor Upgrade
Cargo Space 2
Price 255,000

Basic armor upgrade mostly used by civilian pilots. This upgrade does not provide much protection, but it is relatively cheap and will sometimes make a difference in a dangerous situation. Multiplies base armor by 1.4; occupies 2 cargo space.

Armor Stats

  • Hull Multiplier: 1.4 x


Buy/Sell Locations

The following bases are known to carry this item, although sales may be restricted to pilots with a high positive reputation.