Difference between revisions of "Template:Cargopod"

From Discovery Wiki
Jump to navigationJump to search
Line 6: Line 6:
 
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;" | {{#if: {{{image|}}}
 
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;" | {{#if: {{{image|}}}
 
| [[image:{{{image}}}|center|220px]]
 
| [[image:{{{image}}}|center|220px]]
| [[image:pod_yellow.png|center|220px]]}}
+
| [[image:no_fighter_gun.png|center|220px]]}}
 
|-
 
|-
 
| colspan="2" class="infobox-name"|<H3>Cargo Pod</H3>
 
| colspan="2" class="infobox-name"|<H3>Cargo Pod</H3>
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:pod_yellow.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.
  
 
==Usage==
 
==Usage==

Revision as of 15:22, 29 October 2012


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.

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