Difference between revisions of "Template:Cathead navy destroyers/doc"
imported>Cydebot m (Robot - Speedily moving category Destroyer cathead templates to Category:Destroyer category header templates per CFDS.) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
This template is for creating a standardized appearance for categories of [[{{#if:|destroyer ({{{dab}}}){{!}}destroyer|destroyer}}]]s organized by [[navy]]. | This template is for creating a standardized appearance for categories of [[{{#if:|destroyer ({{{dab}}}){{!}}destroyer|destroyer}}]]s organized by [[navy]]. | ||
| + | |||
=== Usage === | === Usage === | ||
For countries not prefixed with the definite article ''the'', like "Belgium" or "France", use: | For countries not prefixed with the definite article ''the'', like "Belgium" or "France", use: | ||
| Line 18: | Line 19: | ||
=== See also === | === See also === | ||
* [[:Template:Cathead destroyers of]] | * [[:Template:Cathead destroyers of]] | ||
| − | * [[:Category:Military | + | * [[:Category:Military category header templates]] |
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Destroyer category header templates|Navy]] | [[Category:Destroyer category header templates|Navy]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 01:13, 24 April 2020
| This is a documentation subpage for Template:Cathead navy destroyers. It contains usage information, categories and other content that is not part of the original template page. |
This template is for creating a standardized appearance for categories of destroyers organized by navy.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead navy destroyers | 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 destroyers | 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 destroyers | 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 destroyers | Japan Maritime Self-Defense Force | Japan | | Japan 1946 }}
Using "Japan 1946" will cause the JMSDF category to sort after the IJN category
See also