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

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(→‎See also: prune cathead links)
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 gunboats of | the = yes | Republic of China | China, Republic of }}</code>
 
* <code><nowiki>{{</nowiki>cathead wwii gunboats 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 22: Line 22:
 
* [[Template:Cathead spanish-american war gunboats of]]
 
* [[Template:Cathead spanish-american war gunboats of]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:World War II cathead templates|Gunboats]]
+
[[Category:World War II category header templates|Gunboats]]
[[Category:Gunboat cathead templates|World War II]]
+
[[Category:Gunboat 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 gunboats that were designed, built, or operated during World War II (1939–1945), and categorized in Category:World War II gunboats.

Usage

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

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

(This works with or without the parameter the.)

See also

other gunboat cathead templates
other eras