Difference between revisions of "Template:Cathead wwii submarines of"
Jump to navigation
Jump to search
imported>Bellhalla (use {{catexp}} for scope statement; add optional sort) |
imported>Bellhalla (rework cathead template) |
||
Line 1: | Line 1: | ||
− | {{catexp|[[submarine]]s | + | {{catexp|[[submarine]]s {{cathead wwii ships header|the={{{the|}}}|{{{1|}}}}}}} |
<includeonly> | <includeonly> | ||
[[Category:World War II submarines|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | [[Category:World War II submarines|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | ||
− | [[Category:World War II naval ships of {{{1}}}|Submarines]] | + | [[Category:World War II naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Submarines]] |
− | [[Category:Submarines of {{{1}}}| 1939]] | + | [[Category:Submarines of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}| 1939]] |
</includeonly><noinclude> | </includeonly><noinclude> | ||
− | + | {{documentation}} | |
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 12:13, 5 October 2009
This template is for creating a standardized appearance for categories of submarines that were designed, built, or operated during World War II (1939–1945), and categorized in Category:World War II submarines.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead wwii submarines 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 wwii submarines 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 wwii submarines of | the = yes | Republic of China | China, Republic of }}
(This works with or without the parameter the.)
See also
- other submarine cathead templates
- other eras
- Template:Cathead wwi submarines of
- Template:Cathead cold war submarines of
- Template:Cathead active submarines of
The above documentation is transcluded from Template:Cathead wwii submarines 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. |