Difference between revisions of "Template:Armor"

From Discovery Wiki
Jump to navigationJump to search
(page creation)
 
 
(93 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| style="width:100%; padding:10px;" class="weaponmainbox"
+
{| 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"
|align="left"|
 
==Full Name==
 
<h3>{{#if:{{{full-name|}}}|{{{full-name|{{{4|{{{full-name|full-name}}}}}}}}}|''missing''}}</h3>
 
|valign="top" rowspan="2" align="right"|
 
{| class="equipinfobox" style="border:1px solid #aaa; padding:4px; margin-left:8px; width:250px;"
 
 
|-
 
|-
|colspan="2" align="center"|[[Image:Armor.jpg]]
+
| 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}}}
<h3>Statistics</h3>
 
 
|-
 
|-
|Hull Multiplier: ||{{#if:{{{hull-mult|}}}|{{formatnum:'''{{{hull-mult}}}'''}}|''unknown''}}
+
| colspan="2" style="text-align: center; background-color: #14193F;"|{{#if: {{{image|}}}
 +
| {{#ifexist:File:{{{image}}}
 +
| [[Image:{{{image}}}|center|220px]]
 +
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
 +
| [[Image:no_fighter_gun.png|center|220px]]}}
 
|-
 
|-
|Hit Points: ||{{#if:{{{cargo-space|}}}|{{formatnum:'''{{{cargo-space}}}'''}}|''unknown''}}
+
| 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="Cargo space used by the equipment"
|Price: ||{{#if:{{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''unknown''}}
+
| class="infobox-data-title"|'''Cargo Space'''
 +
|| {{{cargo-space|''unknown''}}}
 
|-
 
|-
 +
| class="infobox-data-title"|'''Price'''
 +
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
 
|}
 
|}
|-
+
{{#if:{{{description|}}}|{{{description}}}|''No description available.''}}
|valign="top" style="width:100%;"|
+
==Armor Stats==
==Description==
+
* Hull Multiplier: {{{hull-multi|''unknown''}}} x
{{#if:{{{description|}}}|{{{description}}}|''missing''}}
+
{{Clear}}
{{#if:{{{places-sold|}}}|==Places Sold==
+
==Buy/Sell Locations==
{{{places-sold}}}}}
+
{{#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.}}
{{EquipmentNav}}
+
 
{{#if:{{{examplepage|}}}||[[Category:Armor]]}}
+
{{Clear}}
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
{{Equipment navigation}}
 +
<includeonly>[[Category:Ship Equipment]][[Category:Armor Upgrades]]</includeonly>
 +
<noinclude>-->
 +
'''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==
 
==Usage==
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Armor
 
{{Armor
| full-name =  
+
| image = au1.png
| description =  
+
| short-name = Armor Upgrade Mk I
| hull-mult =  
+
| full-name = Universal Armor Upgrade Mk I
| cargo-space =  
+
| description = Basic armor upgrade mostly used by civilian pilots. This
| price =  
+
upgrade does not provide much protection, but it is relatively cheap and
| places-sold =
+
will sometimes make a difference in a dangerous situation. Multiplies base
}}</nowiki></pre>
+
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
 +
{{!}}}
 +
{{!}}}
 +
}}
 +
</nowiki></pre>
  
 
==Result==
 
==Result==
 
{{Armor
 
{{Armor
| examplepage = true
+
| image = au1.png
| full-name = Crazy Armor Upgrade
+
| short-name = Armor Upgrade Mk I
| description = Spaceship armor increases the hull strength of the ship it is mounted on. This one makes you crazy.
+
| 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.
| hull-mult = 99
+
| price = 255,000
| cargo-space = 99999
+
| cargo-space = 2
| price = 9999999999
+
| 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 64: 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.