Template:ShipLineSummary: Difference between revisions
From VGA Planets Wiki
Jump to navigationJump to search
mNo edit summary |
(Revised for advantage values) |
||
Line 3: | Line 3: | ||
<td align="left" width="250" valign="top">[[{{{name|Name}}}]]</td> | <td align="left" width="250" valign="top">[[{{{name|Name}}}]]</td> | ||
<td align="right" width="32" valign="top">{{{tech|[[Tech Levels|Tc]]}}}</td> | <td align="right" width="32" valign="top">{{{tech|[[Tech Levels|Tc]]}}}</td> | ||
<td align="right" width="32" valign="top">{{{beams| | <td align="right" width="32" valign="top">{{{beams|0}}}</td> | ||
<td align="right" width="32" valign="top">{{{torps| | <td align="right" width="32" valign="top">{{{torps|0}}}/{{{fighters|0}}}</td> | ||
<td align="right" width="32" valign="top">{{{engines|[[Engines|En]]}}}</td> | <td align="right" width="32" valign="top">{{{engines|[[Engines|En]]}}}</td> | ||
Line 17: | Line 17: | ||
<td align="right" width="32" valign="top">{{{crew|[[Crew]]}}}</td> | <td align="right" width="32" valign="top">{{{crew|[[Crew]]}}}</td> | ||
<td align="left" valign="top">{{{special|none}}}</td> | <td align="left" valign="top">{{{special|none}}}</td> | ||
<td align="left" valign="top">{{{ | <td align="left" valign="top">{{{Adv|0}}}</td> | ||
</tr> | </tr> | ||
<noinclude></pre></noinclude> | <noinclude></pre></noinclude> | ||
Line 44: | Line 44: | ||
|crew= | |crew= | ||
|special= | |special= | ||
|adv= | |||
}}</pre> | }}</pre> | ||
The <b>|beams=</b>, <b>|torps=</b>, <b>|fighters=</b>, and <b>|adv</b> parameters are optional, and default to <i>0</i> when omitted. Likewise, <b>|special=</b> is optional, and defaults to <i>none</i> when omitted. | |||
==Examples== | ==Examples== | ||
<pre> | <pre> | ||
{{ShipLineSummary|name=Outrider Class Scout|tech=1|beams=1 | {{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]]}} | ||
</pre> | </pre> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 23:56, 21 November 2012
</noinclude> <tr valign="bottom"> <td align="left" width="250" valign="top">[[{{{name|Name}}}]]</td> <td align="right" width="32" valign="top">{{{tech|[[Tech Levels|Tc]]}}}</td> <td align="right" width="32" valign="top">{{{beams|0}}}</td> <td align="right" width="32" valign="top">{{{torps|0}}}/{{{fighters|0}}}</td> <td align="right" width="32" valign="top">{{{engines|[[Engines|En]]}}}</td> <td align="right" width="32" valign="top">{{{mc|[[Megacredits|MC]]}}}</td> <td bgcolor=#EDDA74 align="right" width="32" valign="top">{{{dur|[[Duranium|Dur]]}}}</td> <td bgcolor=#3BB9FF align="right" width="32" valign="top">{{{trit|[[Tritanium|Tri]]}}}</td> <td bgcolor=#B5EAAA align="right" width="32" valign="top">{{{moly|[[Molybdenum|Mol]]}}}</td> <td align="right" width="32" valign="top">{{{mass|[[Mass]]}}}</td> <td align="right" width="32" valign="top">{{{cargo|[[Cargo|Car]]}}}</td> <td bgcolor=#E77471 align="right" width="32" valign="top">{{{fuel|[[Neutronium|Fuel]]}}}</td> <td align="right" width="32" valign="top">{{{crew|[[Crew]]}}}</td> <td align="left" valign="top">{{{special|none}}}</td> <td align="left" valign="top">{{{Adv|0}}}</td> </tr> <noinclude>
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]]}}