Difference between revisions of "Template:Cathead ships built in"

From blackwiki
Jump to navigation Jump to search
imported>Mais oui!
(cats)
imported>Mais oui!
(restore, see Talk)
 
Line 4: Line 4:
 
[[Category:Ships by country of construction|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
[[Category:Ships by country of construction|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
{{#ifexist:Category:Industry of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|[[Category:Industry in {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]|[[Category:Economy of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}]]}}
 
{{#ifexist: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}}}]]|}}
+
{{#ifexist: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>

Latest revision as of 07:22, 19 September 2012

Template documentation[view] [edit] [history] [purge]

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