Difference between revisions of "Template:Cathead wwii ships of"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(make conditional for country's era category, if it exists)
imported>Colonies Chris
Line 1: Line 1:
 
<includeonly>{{parentcat}}
 
<includeonly>{{parentcat}}
</includeonly>{{catexp|[[ship]]s {{cathead wwii ships header|the={{{the|}}}|{{{1|}}}}}}}
+
</includeonly>{{catexp|ships {{cathead wwii ships header|the={{{the|}}}|{{{1|}}}}}}}
 
<includeonly>
 
<includeonly>
 
[[Category:World War II ships by nation|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
[[Category:World War II ships by nation|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]

Revision as of 16:47, 2 November 2011

Template documentation[view] [edit] [history] [purge]

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