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

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(add another category link)
imported>Colonies Chris
(wp:datescript-assisted date/terms audit; see wp:unlinkdates, wp:overlink)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
This template is for creating a standardized appearance for categories of [[ship]]s that were {{cathead vietnam war ships header}}, and categorized in [[:Category:Vietnam War ships]].
+
This template is for creating a standardized appearance for categories of ships that were {{cathead vietnam war ships header}}, and categorized in [[:Category:Vietnam War ships]].
  
 
=== Usage ===
 
=== Usage ===
Line 11: Line 11:
 
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:
 
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:
 
* <code><nowiki>{{</nowiki>cathead vietnam war ships of | the = yes | Republic of China | China, Republic of }}</code>
 
* <code><nowiki>{{</nowiki>cathead vietnam war ships of | the = yes | Republic of China | China, Republic of }}</code>
(This works with or wihout the parameter ''the''.)
+
(This works with or without the parameter ''the''.)
  
 
=== See also ===
 
=== See also ===

Revision as of 16:36, 2 November 2011

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