Difference between revisions of "Template:Cathead submarines of"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(match new style to old wording)
imported>Bellhalla
(add list display option)
 
Line 1: Line 1:
 
{{catexp|[[submarine]]s and [[submersible]] vehicles designed, built, or operated by {{#if:{{{the|}}}|{{cathead the}}|}}[[{{{1}}}]]}}
 
{{catexp|[[submarine]]s and [[submersible]] vehicles designed, built, or operated by {{#if:{{{the|}}}|{{cathead the}}|}}[[{{{1}}}]]}}
 +
 +
{{#ifexist:List of submarines of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|
 +
;See also<nowiki>:</nowiki>
 +
* [[List of submarines of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]}}
 
<includeonly>
 
<includeonly>
 
[[Category:Submarines by country|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
[[Category:Submarines by country|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]

Latest revision as of 16:37, 2 October 2009


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

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

Usage

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

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

(This works with or without the parameter the.)

See also