Template:ShipLineSummary: Difference between revisions

From VGA Planets Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude><pre></noinclude>
<includeonly>
        <tr valign="bottom">
|-
          <td bgcolor=#FFFFFF align="left" width="250" valign="top">[[{{{name|Name}}}]]</td>
|[[{{{name|Ship design}}}]]
          <td bgcolor=#FFFFFF align="right" width="32" valign="top">{{{tech|[[Tech Levels|Tc]]}}}</td>
| style="text-align: right;" |{{{tech|?}}}
          <td bgcolor=#FFFFFF align="right" width="32" valign="top">{{{beams|0}}}</td>
| style="text-align: right;" |{{{beams|0}}}
          <td bgcolor=#FFFFFF align="right" width="32" valign="top">{{{torps|0}}}/{{{fighters|0}}}</td>
| style="text-align: right;" |{{{torps|0}}}/{{{fighters|0}}}
          <td bgcolor=#FFFFFF align="right" width="32" valign="top">{{{engines|[[Engines|En]]}}}</td>
| style="text-align: right;" |{{{engines|?}}}
 
| style="text-align: right; border: 1px dotted #0FF" |{{{mc|?}}}
          <td bgcolor=#FFFFFF align="right" width="32" valign="top">{{{mc|[[Megacredits|MC]]}}}</td>
| style="text-align: right; border: 1px dotted #F88" |{{{dur|?}}}
          <td bgcolor=#EDDA74 align="right" width="32" valign="top">{{{dur|[[Duranium|Dur]]}}}</td>
| style="text-align: right; border: 1px dotted #F0F" |{{{trit|?}}}
          <td bgcolor=#3BB9FF align="right" width="32" valign="top">{{{trit|[[Tritanium|Tri]]}}}</td>
| style="text-align: right; border: 1px dotted #0FF" |{{{moly|?}}}
          <td bgcolor=#B5EAAA align="right" width="32" valign="top">{{{moly|[[Molybdenum|Mol]]}}}</td>
| style="text-align: right;" |{{{mass|?}}}
          <td bgcolor=#FFFFFF align="right" width="32" valign="top">{{{mass|[[Mass]]}}}</td>
| style="text-align: right;" |{{{cargo|?}}}
          <td bgcolor=#FFFFFF align="right" width="32" valign="top">{{{cargo|[[Cargo|Car]]}}}</td>
| style="text-align: right;" |{{{fuel|?}}}
 
| style="text-align: right;" |{{{crew|?}}}
          <td bgcolor=#E77471 align="right" width="32" valign="top">{{{fuel|[[Neutronium|Fuel]]}}}</td>
|{{{special|none}}}
          <td bgcolor=#FFFFFF align="right" width="32" valign="top">{{{crew|[[Crew]]}}}</td>
| style="text-align: right;" |{{{adv|0}}}
          <td bgcolor=#FFFFFF align="left" valign="top">{{{special|none}}}</td>
</includeonly>
          <td bgcolor=#FFFFFF align="left" valign="top">{{{adv|0}}}</td>
        </tr>
<noinclude></pre></noinclude>


<noinclude>
<noinclude>
This template implements a line in a ship table.
This template implements a line in a ship table.


==Template Syntax:==
==Template Syntax:==

Revision as of 03:12, 17 November 2014


This template implements a line in a ship table.

Template Syntax:

{{ShipLineSummary
 |name=
 |tech=
 |beams=
 |torps=
 |fighters=
 |engines=
 |mc=
 |dur=
 |trit=
 |moly=
 |mass=
 |cargo=
 |fuel=
 |crew=
 |special=
 |adv=
}}

The |beams=, |torps=, |fighters=, and |adv parameters are optional, and default to 0 when omitted. Likewise, |special= is optional, and defaults to none when omitted.

Examples

{{ShipLineSummary|name=Outrider Class Scout|tech=1|beams=1|engines=1|mc=50|dur=20|trit=40|moly=5|mass=75|cargo=40|fuel=260|crew=180|special=[[Cloak|Cl]]}}