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
(Created page with "<noinclude><!--</noinclude> {| style="width:100%; padding:10px;" class="weaponmainbox" |align="left"| ==Full Name== <h3>{{#if:{{{full-name|}}}|{{{full-name|{{{4|{{{full-name|f...")
 
 
(42 intermediate revisions by the same user 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:Shields.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>
 
 
|-
 
|-
|Hit Points: ||{{#if:{{{hit-pts|}}}|{{formatnum:'''{{{hit-points}}}'''}}|''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]]}}
 
|-
 
|-
|Price: ||{{#if:{{{price|}}}|${{formatnum:'''{{{price}}}'''}}|''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;"|Cargo Pod
 +
|- title="Damage the equipment can take before being destroyed"
 +
|class="infobox-data-title" | '''Hit-Points'''
 +
|| {{{hit-points|''unknown ''}}}
 
|-
 
|-
 +
|class="infobox-data-title" | '''Price'''
 +
|| {{#if: {{{price|}}}|{{formatnum:{{{price}}}}}|''unknown''}}
 
|}
 
|}
|-
+
{{#if:{{{description|}}}|{{{description}}}|''No description available''}}
|valign="top" style="width:100%;"|
+
{{Clear}}
==Description==
+
==Buy/Sell Locations==
{{#if:{{{description|}}}|{{{description}}}|''missing''}}
+
{{#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|}}}|==Places Sold==
+
{{{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}}}}}
+
 
|}
+
{{Clear}}
 
{{Equipment navigation}}
 
{{Equipment navigation}}
{{#if:{{{examplepage|}}}||[[Category:Shields]]}}
+
<includeonly>[[Category:Ship Equipment]][[Category:Cargo Pods]]</includeonly>
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
+
<noinclude>-->
 +
'''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==
 
==Usage==
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Cargopod
 
{{Cargopod
| full-name =  
+
| image = pod_white.png
| description =  
+
| short-name = White Cargo Pod
| hit-points =  
+
| full-name = White Cargo Pod
| price =  
+
| description = Large containers for carrying cargo. Can be mounted
| places-sold =
+
on transports and trains.
}}</nowiki></pre>
+
| price = 4,000
 +
| hit-points = 4,000
 +
| 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==
 
{{Cargopod
 
{{Cargopod
| examplepage = true
+
| image = pod_white.png
| full-name = Pink Polka-Dot Cargopod
+
| short-name = White Cargo Pod
 +
| full-name = White Cargo Pod
 
| description = Large containers for carrying cargo. Can be mounted on transports and trains.
 
| description = Large containers for carrying cargo. Can be mounted on transports and trains.
| hit-pts = 4000
+
| price = 4,000
| price = 9000
+
| hit-points = 4,000
| 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
 
{{!}}-
 
{{!}}-
{{!}}[[Planet New London]]{{!}}{{!}}[[Bretonia Police]]{{!}}{{!}}[[New London]]{{!}}{{!}}[[Bretonia]]
+
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
 
{{!}}-
 
{{!}}-
{{!}}[[Planet Leeds]]{{!}}{{!}}[[Bretonia Police]]{{!}}{{!}}[[Leeds]]{{!}}{{!}}[[Bretonia]]
+
{{!}}Base B{{!}}{{!}}Faction B{{!}}{{!}}System B{{!}}{{!}}Region B
{{!}}-
 
{{!}}[[Planet New Tokyo]]{{!}}{{!}}[[Kusari State Police]]{{!}}{{!}}[[New Tokyo]]{{!}}{{!}}[[Kusari]]
 
{{!}}-
 
{{!}}[[Planet Manhattan]]{{!}}{{!}}[[Liberty Police, Inc.]]{{!}}{{!}}[[New York]]{{!}}{{!}}[[Liberty]]
 
{{!}}-
 
{{!}}[[Planet Pittsburgh]]{{!}}{{!}}[[Deep Space Engineering]]{{!}}{{!}}[[New York]]{{!}}{{!}}[[Liberty]]
 
{{!}}-
 
{{!}}[[Planet New Berlin]]{{!}}{{!}}[[Rheinland Police]]{{!}}{{!}}[[New Berlin]]{{!}}{{!}}[[Rheinland]]
 
{{!}}-
 
{{!}}[[South Shields Refinery]]{{!}}{{!}}[[Independent Miners Guild]]{{!}}{{!}}[[Newcastle]]{{!}}{{!}}[[Bretonia]]
 
{{!}}-
 
{{!}}[[Planet Nuremberg]]{{!}}{{!}}[[Rheinland Police]]{{!}}{{!}}[[Munich]]{{!}}{{!}}[[Rheinland]]
 
{{!}}-
 
{{!}}[[Planet Erie]]{{!}}{{!}}[[Liberty Police, Inc.]]{{!}}{{!}}[[Pennsylvania]]{{!}}{{!}}[[Liberty]]
 
 
{{!}}}
 
{{!}}}
 
{{!}}}
 
{{!}}}
 
}}
 
}}
[[Category:Templates]]
+
 
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 02:33, 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: 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

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.