Difference between revisions of "Template:Cargopod"

From Discovery Wiki
Jump to navigationJump to search
Line 28: Line 28:
 
'''Template:Cargopod''' is for cargo pods.
 
'''Template:Cargopod''' is for cargo pods.
  
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.
+
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.
  
 
==Usage==
 
==Usage==

Revision as of 15:44, 29 October 2012


Template:Cargopod is for cargo pods.

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.

Usage

{{Cargopod
| image = pod_white.png
| short-name = White Cargo Pod
| full-name = White Cargo Pod
| description = Large containers for carrying cargo. Can be mounted
on transports and trains.
| price = 4,000
| hit-points = 4,000
| places-sold = 
{{{!}} class="wikitable collapsible collapsed"
!Spoiler: Buying Locations
{{!}}-
{{!}}
{{{!}} class="wikitable sortable"
{{!}}-
!Base!!Owner!!System!!Location
{{!}}-
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
{{!}}-
{{!}}Base B{{!}}{{!}}Faction B{{!}}{{!}}System B{{!}}{{!}}Region B
{{!}}}
{{!}}}
}}

Result

White Cargo Pod

Pod white.png

Cargo Pod

Hit-Points 4,000
Price $4,000

Large containers for carrying cargo. Can be mounted on transports and trains.

Places Sold