Difference between revisions of "Template:Cathead wwii corvettes of/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(add template links for other eras)
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 wwii corvettes of | the = yes | Republic of China | China, Republic of }}</code>
 
* <code><nowiki>{{</nowiki>cathead wwii corvettes 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 23: Line 23:
 
* [[Template:Cathead active corvettes of]]
 
* [[Template:Cathead active corvettes of]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:World War II cathead templates|Corvettes]]
+
[[Category:World War II category header templates|Corvettes]]
[[Category:Corvette cathead templates|World War II]]
+
[[Category:Corvette category header templates|World War II]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 01:18, 24 April 2020

This template is for creating a standardized appearance for categories of corvettes that were designed, built, or operated during World War II (1939–1945), and categorized in Category:World War II corvettes.

Usage

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

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

(This works with or without the parameter the.)

See also

other corvette cathead templates
other eras