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

From blackwiki
Jump to navigation Jump to search
imported>Colin Douglas Howell
(Use <includeonly> to keep the template itself from being listed in the category.)
imported>Bellhalla
(rework cathead template)
 
Line 1: Line 1:
−
'''Escort ships of {{{1}}}''' include [[ship]]s designed, built, or operated in or by [[{{{1}}}]] for protection of [[merchant ship]]s and convoy escort duties.
+
{{catexp|[[escort ship]]s designed, built, or operated by {{#if:{{{the|}}}|{{cathead the}}|}}[[{{{1}}}]]}}{{#ifexist:List of escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|
−
<includeonly>[[Category:Escort ships by country|{{{1}}}]][[Category:Naval ships of {{{1}}}]]</includeonly><noinclude>
+
;See also<nowiki>:</nowiki>
−
 
+
* [[List of escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]}}
−
[[Category:Military cathead templates]]
+
<includeonly>
−
 
+
[[Category:Escort ships by country|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 +
[[Category:Naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]</includeonly><noinclude>
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:46, 5 October 2009

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

This template is for creating a standardized appearance for categories of escort ships organized by country in Category:Escort ships by country

Usage

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

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

(This works with or without the parameter the.)

See also

other cathead templates
eras