Difference between revisions of "Template:Cathead corvettes of"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(rework cathead template)
imported>The Bushranger
(corvettes are not usually classified as patrol vessels, I believe WP:BOLD)
 
Line 6: Line 6:
 
[[Category:Corvettes by country|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
[[Category:Corvettes by country|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
{{#ifexist:Category:Escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:Escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Corvettes]]|}}
 
{{#ifexist:Category:Escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:Escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Corvettes]]|}}
{{#ifexist:Category:Patrol vessels of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:Patrol vessels of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Corvettes]]|}}
 
 
[[Category:Naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]</includeonly><noinclude>
 
[[Category:Naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:10, 16 November 2011


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

This template is for creating a standardized appearance for categories of corvettes organized by country.

Usage

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

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

(This works with or without the parameter the.)

See also