Template:ShipLineSummary: Difference between revisions
From VGA Planets Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly> | ||
|- | |||
| [[{{{name|Ship design}}}]] | |||
| style="text-align: right;" |{{{tech|?}}} | |||
| style="text-align: right;" |{{{beams|0}}} | |||
| style="text-align: right;" |{{{torps|0}}}/{{{fighters|0}}} | |||
| style="text-align: right;" |{{{engines|?}}} | |||
| style="text-align: right; border: 2px dotted #088" |{{{mc|?}}} | |||
| style="text-align: right; border: 2px dotted #844" |{{{dur|?}}} | |||
| style="text-align: right; border: 2px dotted #808" |{{{trit|?}}} | |||
| style="text-align: right; border: 2px dotted #880" |{{{moly|?}}} | |||
| style="text-align: right;" |{{{mass|?}}} | |||
| style="text-align: right;" |{{{cargo|?}}} | |||
| style="text-align: right; border: 2px dotted #080" |{{{fuel|?}}} | |||
| style="text-align: right;" |{{{crew|?}}} | |||
| {{{special|none}}} | |||
| style="text-align: right;" |{{{adv|0}}} | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
This template implements a line in a ship table. | This template implements a line in a ship table. | ||
==Template Syntax:== | ==Template Syntax:== | ||
Line 34: | Line 30: | ||
|engines= | |engines= | ||
|mc= | |mc= | ||
| | |dur= | ||
| | |trit= | ||
| | |moly= | ||
|mass= | |mass= | ||
|cargo= | |cargo= | ||
|fuel= | |fuel= | ||
|crew= | |crew= | ||
|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> |
Latest revision as of 23:18, 13 June 2021
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]]}}