Difference between revisions of "Template:Cathead cold war destroyers of"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(use {{catexp}} for scope statement)
imported>Bellhalla
(rework cathead template)
Line 1: Line 1:
{{catexp|[[destroyer]]s designed, built, or operated in or by [[{{{1}}}]] during the [[Cold War]] era (approximately 1945 to 1990)}}
+
{{catexp|[[destroyer]]s {{cathead cold war ships header|the={{{the|}}}|{{{1|}}}}}}}
 
<includeonly>
 
<includeonly>
[[Category:Cold War destroyers|{{{1}}}]]
+
[[Category:Cold War destroyers|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
[[Category:Cold War naval ships of {{{1}}}|Destroyers]]
+
[[Category:Cold War naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Destroyers]]
[[Category:Destroyers of {{{1}}}| 1949]]
+
[[Category:Destroyers of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}| 1945]]
</includeonly><noinclude>[[Category:Cold War cathead templates|{{PAGENAME}}]]</noinclude>
+
</includeonly><noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 19:18, 6 October 2009

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

This template is for creating a standardized appearance for categories of destroyers that were designed, built, or operated during the Cold War (approximately 1945–1990), and categorized in Category:Cold War destroyers.

Usage

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

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

(This works with or without the parameter the.)

See also

other destroyer cathead templates
other eras