Difference between revisions of "Template:Cathead victorian era ships of"
Jump to navigation
Jump to search
imported>Slivicon (parentcat now redirects to container category and has changed definition to allow exclusively subcats, but this template is used in categories where articles are invited directly to the cat, such as Category:Victorian-era ships of Australia) |
imported>Fayenatic london (category "by country" upmerged, see Wikipedia:Categories_for_discussion/Log/2020_February_28#Category:Victorian-era_naval_ships_by_country) |
||
Line 1: | Line 1: | ||
{{Category explanation|ships {{cathead victorian era ships header|the={{{the|}}}|{{{1|}}}}}}} | {{Category explanation|ships {{cathead victorian era ships header|the={{{the|}}}|{{{1|}}}}}}} | ||
<includeonly> | <includeonly> | ||
− | [[Category:Victorian-era ships | + | [[Category:Victorian-era ships|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] |
{{#ifexist:Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era|[[Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era]]|[[Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 1837]]}} | {{#ifexist:Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era|[[Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}} by era]]|[[Category:Ships of {{#if:{{{the|}}}|{{cathead the}}|}}{{{1}}}{{!}} 1837]]}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 09:01, 12 April 2020
This template is for creating a standardized appearance for categories of ships that were designed, built, or operated during the Victorian era (approximately 1837–1901), and categorized in Category:Victorian-era ships.
Usage
For countries not prefixed with the definite article the, like "Belgium" or "France", use:
{{cathead victorian era 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 victorian era 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 victorian era ships of | the = yes | Republic of China | China, Republic of }}
(This works with or without the parameter the.)
See also
- other Victorian era cathead templates in
- other eras
- Template:Cathead wwi ships of
- Template:Cathead wwii ships of
- Template:Cathead korean war ships of
- Template:Cathead vietnam war ships of
- Template:Cathead active ships of
The above documentation is transcluded from Template:Cathead victorian era ships 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. |