Difference between revisions of "Template:Cathead frigates of/doc"
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 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- 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 [[frigate]]s organized by | + | This template is for creating a standardized appearance for categories of [[frigate]]s organized by country. |
| + | |||
=== 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 11: | Line 12: | ||
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 frigates of | the = yes | Republic of China | China, Republic of }}</code> | * <code><nowiki>{{</nowiki>cathead frigates of | the = yes | Republic of China | China, Republic of }}</code> | ||
| − | (This works with or | + | (This works with or without the parameter ''the''.) |
=== See also === | === See also === | ||
* [[:Template:Cathead navy frigates]] | * [[:Template:Cathead navy frigates]] | ||
| − | * [[:Category:Military | + | * [[:Category:Military category header templates]] |
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | [[Category:Frigate | + | [[Category:Frigate category header templates|Frigates]] |
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 01:12, 24 April 2020
| This is a documentation subpage for Template:Cathead frigates of. 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 frigates organized by country.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead frigates 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 frigates 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 frigates of | the = yes | Republic of China | China, Republic of }}
(This works with or without the parameter the.)
See also