Difference between revisions of "Template:Cathead navy minehunters/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(change sortkey(s))
imported>Cydebot
m (Robot - Speedily moving category Mine warfare vessel cathead templates to Category:Mine warfare vessel category header templates per CFDS.)
Line 22: Line 22:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Mine warfare vessel cathead templates|Navy minehunters]]
+
[[Category:Mine warfare vessel category header templates|Navy minehunters]]
  
 
</includeonly>
 
</includeonly>

Revision as of 17:44, 10 November 2018

This template is for creating a standardized appearance for categories of minehunters organized by navy in Category:Minehunters by navy.

Usage

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

  • {{cathead navy minehunters | Navy name | Country name }}

where Navy name is replaced by the specific navy's name and 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 navy minehunters | the = yes | Navy name | Country name }}

For more complex cases, where the category shouldn't sort under the navy's full name, like wanting to sort "Royal Thai Navy" under T for Thai rather than R for Royal, an optional sort parameter may be used

  • {{cathead navy minehunters | Royal Thai Navy | Thailand | Thai Navy, Royal }}

For a country with more than one navy through its history, like Japan with the Imperial Japanese Navy (IJN) and the Japan Maritime Self-Defense Force (JMSDF), another optional sort parameter may be used to sort the categories in chronological order

  • {{cathead navy minehunters | Japan Maritime Self-Defense Force | Japan | | Japan 1946 }}

Using "Japan 1946" will cause the JMSDF category to sort after the IJN category

See also