Difference between revisions of "Template:Cathead active auxiliary ships of"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(conditional for "Auxiliary ships of [country] by era")
imported>Timrollpickering
m (allow cat rename)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
[[Category:Active auxiliary ships|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
[[Category:Active auxiliary ships|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
[[Category:Active naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Auxiliary ships]]
 
[[Category:Active naval ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}|Auxiliary ships]]
{{#ifexist:Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era|[[Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era]]|[[Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 2010]]
+
{{#ifexist:Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by period|[[Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by period]]|[[Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 2010]]}}
 +
{{#ifexist:Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era|[[Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era]]|[[Category:Auxiliary ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 2010]]}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:11, 31 May 2012

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

This template is for creating a standardized appearance for categories of auxiliary ships that are currently in service, and categorized in Category:Active auxiliary ships.

Usage

For countries not prefixed with the definite article the, like "Belgium" or "France", use:

  • {{cathead active auxiliary ships 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 active auxiliary ships 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 active auxiliary ships of | the = yes | Republic of China | China, Republic of }}

(This works with or without the parameter the.)

See also

other auxiliary ship cathead templates
other eras