Difference between revisions of "Template:Cathead vietnam war ships of"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(make conditional for country's era category, if it exists)
imported>Colonies Chris
Line 1: Line 1:
 
<includeonly>{{parentcat}}
 
<includeonly>{{parentcat}}
</includeonly>{{catexp|[[ship]]s {{cathead vietnam war ships header|the={{{the|}}}|{{{1|}}}}}}}
+
</includeonly>{{catexp|ships {{cathead vietnam war ships header|the={{{the|}}}|{{{1|}}}}}}}
 
<includeonly>
 
<includeonly>
 
[[Category:Vietnam War ships by country|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
[[Category:Vietnam War ships by country|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]

Revision as of 16:53, 2 November 2011

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

This template is for creating a standardized appearance for categories of ships that were designed, built, or operated during the Vietnam War (approximately 1959–1975), and categorized in Category:Vietnam War ships.

Usage

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

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

(This works with or without the parameter the.)

See also

other Vietnam War cathead templates in
other eras