Difference between revisions of "Template:Cathead navy auxiliary ships"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
imported>Bellhalla
(make display of Template:Cathead auxiliary ship note optional)
 
Line 1: Line 1:
 
{{catexp|[[auxiliary ship]]s commissioned or otherwise operated by the [[{{{1}}}]]. For auxiliary ships by era or conflict, or auxiliary ships designed or built in {{#if:{{{the|}}}|{{cathead the}}|}}[[{{{2}}}]] for use by other navies (if any), see [[:Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{2}}}]]}}
 
{{catexp|[[auxiliary ship]]s commissioned or otherwise operated by the [[{{{1}}}]]. For auxiliary ships by era or conflict, or auxiliary ships designed or built in {{#if:{{{the|}}}|{{cathead the}}|}}[[{{{2}}}]] for use by other navies (if any), see [[:Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{2}}}]]}}
{{cathead auxiliary ship note}}
+
{{#if:{{{note|}}}|{{cathead auxiliary ship note}}|}}
 
{{#ifexist:List of auxiliary ships of the {{{1}}}|
 
{{#ifexist:List of auxiliary ships of the {{{1}}}|
 
;See also<nowiki>:</nowiki>
 
;See also<nowiki>:</nowiki>

Latest revision as of 15:40, 9 December 2009


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

This template is for creating a standardized appearance for categories of auxiliary ships organized by navy.

Usage

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

  • {{cathead navy auxiliary ships | Navy name | Country name }}

where Navy name is replaced by the specific navy's name and 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 navy auxiliary ships | the = yes | Navy name | Country name }}

For more complex cases, where the category shouldn't sort under the navy's full name, like wanting to sort "Royal Thai Navy" under T for Thai rather than R for Royal, an optional sort parameter may be used

  • {{cathead navy auxiliary ships | Royal Thai Navy | Thailand | Thai Navy, Royal }}

For a country with more than one navy through its history, like Japan with the Imperial Japanese Navy (IJN) and the Japan Maritime Self-Defense Force (JMSDF), another optional sort parameter may be used to sort the categories in chronological order

  • {{cathead navy auxiliary ships | Japan Maritime Self-Defense Force | Japan | | Japan 1946 }}

Using "Japan 1946" will cause the JMSDF category to sort after the IJN category

See also