YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Cargopod"

From Discovery Wiki
Jump to navigationJump to search
Line 21: Line 21:
 
{{Clear}}
 
{{Clear}}
 
==Buy/Sell Locations==
 
==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.
+
{{#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.}}
+
{{{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}}

Revision as of 02:32, 21 December 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.

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

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" style="margin-left: 2em;"
!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

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.

Buy/Sell Locations

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