Difference between revisions of "Template:Cathead corvettes of"
Jump to navigation
Jump to search
imported>Colin Douglas Howell (Use <includeonly> to keep the template itself from being listed in the category.) |
imported>Bellhalla (rework cathead template) |
||
| Line 1: | Line 1: | ||
| − | + | {{catexp|[[corvette]]s designed, built, or operated by {{#if:{{{the|}}}|{{cathead the}}|}}[[{{{1}}}]]}} | |
| − | <includeonly>[[Category:Corvettes by country|{{{1}}}]][[Category:Escort ships of {{{1}}}]][[Category:Patrol vessels of {{{1}}}]] | + | {{#ifexist:List of corvettes of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}| |
| − | + | ;See also<nowiki>:</nowiki> | |
| − | [[Category: | + | * [[List of corvettes of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]}} |
| − | + | <includeonly> | |
| + | [[Category:Corvettes by country|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | ||
| + | {{#ifexist:Category:Escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:Escort ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Corvettes]]|}} | ||
| + | {{#ifexist:Category:Patrol vessels of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:Patrol vessels of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Corvettes]]|}} | ||
| + | [[Category:Naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]</includeonly><noinclude> | ||
| + | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 18:29, 2 October 2009
This template is for creating a standardized appearance for categories of corvettes organized by country.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead corvettes 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 corvettes 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 corvettes of | the = yes | Republic of China | China, Republic of }}
(This works with or without the parameter the.)
See also
| The above documentation is transcluded from Template:Cathead corvettes of/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |