Difference between revisions of "Template:Cathead wwii ships of"
Jump to navigation
Jump to search
imported>Pichpich (attempt at solution) |
imported>Pichpich (Revert to revision 458660429 dated 2011-11-02 16:47:54 by Colonies Chris using popups) |
||
Line 3: | Line 3: | ||
<includeonly> | <includeonly> | ||
[[Category:World War II ships by nation|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | [[Category:World War II ships by nation|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | ||
− | {{#ifexist:Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by | + | {{#ifexist:Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era|[[Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era]]|[[Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 1939]]}} |
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:48, 3 June 2012
This template is for creating a standardized appearance for categories of ships that were designed, built, or operated during World War II (1939–1945), and categorized in Category:World War II ships by nation.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead wwii ships 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 ships 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 ships of | the = yes | Republic of China | China, Republic of }}
(This works with or without the parameter the.)
See also
- other World War II cathead templates in
- other eras
The above documentation is transcluded from Template:Cathead wwii ships 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. |