Difference between revisions of "Template:Cathead ships built in"
Jump to navigation
Jump to search
imported>Colonies Chris (wp:datescript-assisted date/terms audit; see wp:unlinkdates, wp:overlink) |
imported>Mais oui! (cats) |
||
Line 3: | Line 3: | ||
[[Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Built]] | [[Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Built]] | ||
[[Category:Ships by country of construction|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | [[Category:Ships by country of construction|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] | ||
− | {{ | + | {{Category:Industry of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:Industry in {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]|[[Category:Economy of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]}} |
− | {{ | + | {{Category:Goods manufactured in {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:Goods manufactured in {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]|}} |
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 07:19, 19 September 2012
This template is for creating a standardized appearance for categories of ships by country of construction, and categorized in Category:Ships by country of construction.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead ships built in | 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 ships built in | 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 ships built in | 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 ships built in/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. |