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

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
m (typo fix)
imported>Bellhalla
(add two optional categories)
 
Line 2: Line 2:
 
<includeonly>
 
<includeonly>
 
[[Category:World War II frigates|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
[[Category:World War II frigates|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 +
{{#ifexist:Category:World War II escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:World War II escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]|}}
 +
{{#ifexist:Category:World War II patrol vessels of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:World War II patrol vessels of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]|}}
 
[[Category:World War II naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Frigates]]
 
[[Category:World War II naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Frigates]]
 
{{#if:{{{de|}}}|[[Category:Frigates and destroyer escorts of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 1939]]|[[Category:Frigates of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 1939]]}}
 
{{#if:{{{de|}}}|[[Category:Frigates and destroyer escorts of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 1939]]|[[Category:Frigates of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 1939]]}}

Latest revision as of 19:22, 5 October 2009

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

This template is for creating a standardized appearance for categories of frigates that were designed, built, or operated during World War II (1939–1945), and categorized in Category:World War II frigates.

Usage

For countries not prefixed with the definite article the, like "Belgium" or "France", use:

  • {{cathead wwii frigates 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 frigates 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 frigates of | the = yes | Republic of China | China, Republic of }}

(This works with or without the parameter the.)

See also

other frigate cathead templates
other eras