Difference between revisions of "Template:Cathead active destroyers of"
Jump to navigation
Jump to search
imported>Bellhalla (add optional sort) |
imported>Bellhalla (rework cathead template) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{catexp| | + | {{catexp|[[destroyer]]s {{cathead active ships header|the={{{the|}}}|{{{1|}}}}}}} |
<includeonly> | <includeonly> | ||
[[Category:Active destroyers|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | [[Category:Active destroyers|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | ||
| − | [[Category:Active naval ships of {{{1}}}|Destroyers]] | + | [[Category:Active naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Destroyers]] |
| − | [[Category:Destroyers of {{{1}}}| | + | [[Category:Destroyers of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}| 2010]] |
| − | </includeonly><noinclude> | + | </includeonly><noinclude> |
| + | {{documentation}} | ||
| + | </noinclude> | ||
Latest revision as of 19:11, 6 October 2009
This template is for creating a standardized appearance for categories of destroyers that are currently in service, and categorized in Category:Active destroyers.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead active destroyers of | Country name }}
where Country name is replaced by the specific country's name. For countries that are prefixed with the definite article, like "the Netherlands" or "the United Kingdom", use:
{{cathead active destroyers of | the = yes | Country name }}
For countries that should sort under something other than their full name—like "Republic of China" sorting under C for China, rather than R for Republic—use an optional sort parameter, as in this example:
{{cathead active destroyers of | the = yes | Republic of China | China, Republic of }}
(This works with or without the parameter the.)
See also
- other destroyer cathead templates
- other eras
- Template:Cathead spanish-american war destroyers of
- Template:Cathead wwi destroyers of
- Template:Cathead wwii destroyers of
- Template:Cathead cold war destroyers of
- Template:Cathead korean war destroyers of
| The above documentation is transcluded from Template:Cathead active destroyers of/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |