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

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(create new documentation page)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
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 submarines of | the = yes | Republic of China | China, Republic of }}</code>
 
* <code><nowiki>{{</nowiki>cathead vietnam war submarines 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 ===
Line 24: Line 24:
 
* [[Template:Cathead active submarines of]]
 
* [[Template:Cathead active submarines of]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Vietnam War cathead templates|Submarines]]
+
[[Category:Vietnam War category header templates|Submarines]]
[[Category:Submarine cathead templates|Vietnam War]]
+
[[Category:Submarine category header templates|Vietnam War]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 01:17, 24 April 2020

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

Usage

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

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

(This works with or without the parameter the.)

See also

other submarine cathead templates
other eras