Template:Blockade stats

From YPPedia

|- |{{Blockade stats/{{{5}}}}}| [[{{{1}}}|{{{2}}}]]|| | {{{3}}} || {{{4}}} ||

Usage

These usage notes will not be included in articles bearing this template.

This template must be used with the {{Blockade stats/start}} (Usage) and {{Blockade stats/end}} (Usage) templates in order to ensure that the Win/Loss table is correctly setup.

When entering data with this template, the information must be entered in the correct order. The correct information is
{{Blockade stats|Flag name|Displayed name|Number of wins|Number of losses|Flag status}}

Flag name is the YPPedia linked name, like Jinx (flag).
Displayed name is the name as it appears in the list, like Jinx; defaults to Flag name if left empty.
Flag status is whether the flag is active, defunct, a bk (Brigand King), or check if unsure of its current status.

Please note that flags whose name includes "The" at the beginning should be placed in the list alphabetically using the first letter of the next word. The flag "The Enlightened" would then get a Displayed name of "Enlightened, The".

Below is an example of how the templates would be used to create the preceeding win/loss table.


{{Blockade stats/start}}
{{Blockade stats|Castigo X||2|8|check}}
{{Blockade stats|Coerced Coexistence||4|3|active}}
{{Blockade stats|Corripe Cervisiam||6|2|defunct}}
{{Blockade stats|The Enlightened|Enlightened, The|4|1|bk}}
{{Blockade stats|Jinx (flag)|Jinx|2|2|bk}}
{{Blockade stats/end}}


Will appear as:

Key
Active Flag
Defunct Flag
Brigand King Flag
To be checked
Flag W L* Total Pct
Castigo X 2 8 10 20
Coerced Coexistence 4 3 7 57.14
Corripe Cervisiam 6 2 8 75
Enlightened, The 4 1 5 80
Jinx 2 2 4 50
* includes losses in BK blockades and caused by non-participation


If it is desired to classify flags as active and inactive (as opposed to active and defunct), use {{Blockade stats/start2}} (Usage), and replace all "defunct" parameters with "inactive".


{{Blockade stats/start2}} {{Blockade stats|Castigo X||2|8|check}}
{{Blockade stats|Coerced Coexistence||4|3|active}}
{{Blockade stats|The Enlightened|Enlightened, The|4|1|bk}}
{{Blockade stats|Hellas||2|1|inactive}}
{{Blockade stats|Jinx (flag)|Jinx|2|2|bk}}
{{Blockade stats/end}}


Will appear as:

Key
Active Flag
Inactive Flag
Brigand King Flag
To be checked
Flag W L* Total Pct
Castigo X 2 8 10 20
Coerced Coexistence 4 3 7 57.14
Enlightened, The 4 1 5 80
Hellas 2 1 3 66.67
Jinx 2 2 4 50
* includes losses in BK blockades and caused by non-participation