Difference between revisions of "Template:Cathead victorian era destroyers of/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(create new documentation page)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
This template is for creating a standardized appearance for categories of [[destroyer]]s that were {{cathead victorian era ships header}}, and categorized in [[:Category:Victorian era destroyers]].
+
This template is for creating a standardized appearance for categories of [[destroyer]]s that were {{cathead victorian era ships header}}, and categorized in [[:Category:Victorian-era destroyers]].
  
 
=== Usage ===
 
=== Usage ===
Line 11: Line 11:
 
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:
 
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:
 
* <code><nowiki>{{</nowiki>cathead victorian era destroyers of | the = yes | Republic of China | China, Republic of }}</code>
 
* <code><nowiki>{{</nowiki>cathead victorian era destroyers of | the = yes | Republic of China | China, Republic of }}</code>
(This works with or wihout the parameter ''the''.)
+
(This works with or without the parameter ''the''.)
  
 
=== See also ===
 
=== See also ===
Line 27: Line 27:
 
* [[Template:Cathead active destroyers of]]
 
* [[Template:Cathead active destroyers of]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Victorian era cathead templates|Destroyers]]
+
[[Category:Victorian era category header templates|Destroyers]]
[[Category:Destroyer cathead templates|Victorian era]]
+
[[Category:Destroyer category header templates|Victorian era]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 01:15, 24 April 2020

This template is for creating a standardized appearance for categories of destroyers that were designed, built, or operated during the Victorian era (approximately 1837–1901), and categorized in Category:Victorian-era destroyers.

Usage

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

  • {{cathead victorian era destroyers 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 destroyers 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 destroyers of | the = yes | Republic of China | China, Republic of }}

(This works with or without the parameter the.)

See also

other destroyer cathead templates
other eras