More actions
mNo edit summary |
m Update to clarify where the CSS is coming from. |
||
| Line 1: | Line 1: | ||
{{ | {{NPCTableCSS}} | ||
; Description | |||
table. | : This template is used to create the table for expected enemy numbers for combat sites. It takes CSS for formatting from {{Tl|NPCTableCSS}} (Included in {{Tl|CMBSiteInfo}} and the deprecated {{Tl|CMBSite}} so include one of them to get a slightly different looking table. | ||
table. | |||
; Dependencies | |||
:; Uses | |||
:: {{T|NPCTableCSS}} | |||
; Syntax | |||
<pre style="margin-left: 1em"> | |||
{{Expected NPC | |||
| TotalExpFrigates = | |||
| TotalExpDestroyers = | |||
| TotalExpCruisers = | |||
| TotalExpBattlecruisers = | |||
| TotalExpBattleships = | |||
| TotalExpDreadnoughts = | |||
| TotalExpSentries = | |||
}} | |||
</pre> | |||
:; Parameters | |||
:: Empty or omitted parameters will not be shown. | |||
::; TotalExpFrigates : The total number of expected frigates | |||
::; TotalExpDestroyers : The total number of expected destroyers | |||
::; TotalExpCruisers : The total number of expected cruisers | |||
::; TotalExpBattlecruisers : The total number of expected battlecruisers | |||
::; TotalExpBattleships : The total number of expected battleships | |||
::; TotalExpDreadnoughts : The total number of expected dreadnoughts | |||
::; TotalExpSentries : The total number of expected sentries | |||
; Sample | |||
< | <pre> | ||
{{Expected NPC</nowiki> | |||
| TotalExpFrigates = 3 | |||
| TotalExpDestroyers = 2 | |||
| TotalExpCruisers = | |||
| TotalExpBattlecruisers = 4 | |||
| TotalExpBattleships = 5 | |||
| TotalExpDreadnoughts = 6 | |||
| TotalExpSentries = 7 | |||
}} | |||
:gives... | </pre> | ||
: gives... | |||
{{Expected NPC | {{Expected NPC | ||
| TotalExpFrigates = 3 | | TotalExpFrigates = 3 | ||
| TotalExpDestroyers | | TotalExpDestroyers = 2 | ||
| TotalExpCruisers | | TotalExpCruisers = | ||
| TotalExpBattlecruisers = 4 | | TotalExpBattlecruisers = 4 | ||
| TotalExpBattleships | | TotalExpBattleships = 5 | ||
| TotalExpDreadnoughts = 6 | | TotalExpDreadnoughts = 6 | ||
| TotalExpSentries = 7 | | TotalExpSentries = 7 | ||
}} | }} | ||
<includeonly>[[Category:Image templates | <includeonly>[[Category:Image templates}}]]<!-- Any categories for the template itself --></includeonly> | ||
<noinclude>[[Category:Template documentation | <noinclude>[[Category:Template documentation]]</noinclude> | ||