Template:ShipLineSummary: Difference between revisions
From VGA Planets Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
| style="text-align: right;" |{{{torps|0}}}/{{{fighters|0}}} | | style="text-align: right;" |{{{torps|0}}}/{{{fighters|0}}} | ||
| style="text-align: right;" |{{{engines|?}}} | | style="text-align: right;" |{{{engines|?}}} | ||
| style="text-align: right; border: | | style="text-align: right; border: 2px dotted #0FF" |{{{mc|?}}} | ||
| style="text-align: right; border: | | style="text-align: right; border: 2px dotted #F88" |{{{dur|?}}} | ||
| style="text-align: right; border: | | style="text-align: right; border: 2px dotted #F0F" |{{{trit|?}}} | ||
| style="text-align: right; border: | | style="text-align: right; border: 2px dotted #FF0" |{{{moly|?}}} | ||
| style="text-align: right;" |{{{mass|?}}} | | style="text-align: right;" |{{{mass|?}}} | ||
| style="text-align: right;" |{{{cargo|?}}} | | style="text-align: right;" |{{{cargo|?}}} |
Revision as of 03:25, 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]]}}