Difference between revisions of "Template:Cathead navy torpedo boats/doc"
imported>Bellhalla (create new documentation page) |
imported>Bellhalla (→Usage: minor tweak) |
||
Line 7: | Line 7: | ||
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: | 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: | ||
− | * <code><nowiki>{{</nowiki>cathead torpedo boats | + | * <code><nowiki>{{</nowiki>cathead navy torpedo boats | the = yes | ''Navy name'' | ''Country name'' }}</code> |
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 | 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 |
Revision as of 05:50, 2 October 2009
![]() | This is a documentation subpage for Template:Cathead navy torpedo boats. 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 torpedo boats organized by navy.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead navy torpedo boats | 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 torpedo boats | 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 torpedo boats | 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 torpedo boats | Japan Maritime Self-Defense Force | Japan | | Japan 1946 }}
Using "Japan 1946" will cause the JMSDF category to sort after the IJN category
See also