Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Expected NPC/doc: Difference between revisions

Template page
Hirmuolio Pine (talk | contribs)
Created page with " This template is used to create the table for expected enemy numbers for combat sites. It takes CSS for formatting from {{t|CMBSite}}. == Sample output == <code><nowiki>{{Ex..."
 
m Fix 2 errors left over from previous edit.
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{NPCTableCSS}}
; Description
: 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.


This template is used to create the table for expected enemy numbers for combat sites. It takes CSS for formatting from {{t|CMBSite}}.
; Dependencies
:; Uses
:: {{T|NPCTableCSS}}


== Sample output ==
; Syntax
<code><nowiki>{{Expected NPC</nowiki><br>
<pre style="margin-left: 1em">
<nowiki>| TotalExpFrigates      = 3 </nowiki><br>
{{Expected NPC
<nowiki>| TotalExpDestroyers   = 2 </nowiki><br>
| TotalExpFrigates      =  
<nowiki>| TotalExpCruisers       = 3</nowiki><br>
| TotalExpDestroyers     =  
<nowiki>| TotalExpBattlecruisers = 4</nowiki><br>
| TotalExpCruisers       =  
<nowiki>| TotalExpBattleships = 5</nowiki><br>
| TotalExpBattlecruisers =  
<nowiki>| TotalExpCapitals       = 6</nowiki><br>
| TotalExpBattleships   =
<nowiki>| TotalExpSentries      = 7</nowiki><br>
| TotalExpDreadnoughts  =  
<nowiki>}}</nowiki></code>
| TotalExpCarriers       =
| TotalExpTitans        =
| 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
::; TotalExpCarriers : The total number of expected Carriers
::; TotalExpTitans : The total number of expected Titans
::; TotalExpSentries : The total number of expected sentries


:gives...
; Sample
<pre>
{{Expected NPC
| TotalExpFrigates      = 3
| TotalExpDestroyers    = 2
| TotalExpCruisers      =
| TotalExpBattlecruisers = 4
| TotalExpBattleships    = 5
| TotalExpDreadnoughts  = 6
| TotalExpSentries      = 7
}}
</pre>
: gives...
{{Expected NPC
{{Expected NPC
| TotalExpFrigates      = 3
| TotalExpFrigates      = 3
| TotalExpDestroyers   = 2
| TotalExpDestroyers     = 2
| TotalExpCruisers       = 3
| TotalExpCruisers       =  
| TotalExpBattlecruisers = 4
| TotalExpBattlecruisers = 4
| TotalExpBattleships = 5
| TotalExpBattleships   = 5
| TotalExpCapitals      = 6
| TotalExpDreadnoughts  = 6
| TotalExpSentries      = 7
| TotalExpSentries      = 7
}}
}}
<includeonly>[[Category:Image templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>