Difference between revisions of "Template:Cathead mine warfare vessels of/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bellhalla
(create new documentation page)
 
imported>Colonies Chris
(wp:datescript-assisted date/terms audit; see wp:unlinkdates, wp:overlink)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
This template is for creating a standardized appearance for categories of mine warfare vessels—[[minesweeper (ship)|minesweeper]]s, [[minelayer]]s, and other [[naval mine warfare]]-related vessels—organized by [[country]].
+
This template is for creating a standardized appearance for categories of mine warfare vessels—[[minesweeper (ship)|minesweeper]]s, [[minelayer]]s, and other [[naval mine warfare]]-related vessels—organized by country.
 
=== Usage ===
 
=== Usage ===
 
For countries not prefixed with the definite article ''the'', like "Belgium" or "France", use:
 
For countries not prefixed with the definite article ''the'', like "Belgium" or "France", use:
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 mine warfare vessels of | the = yes | Republic of China | China, Republic of }}</code>
 
* <code><nowiki>{{</nowiki>cathead mine warfare vessels 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 ===

Revision as of 16:08, 2 November 2011

This template is for creating a standardized appearance for categories of mine warfare vessels—minesweepers, minelayers, and other naval mine warfare-related vessels—organized by country.

Usage

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

  • {{cathead mine warfare vessels 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 mine warfare vessels 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 mine warfare vessels of | the = yes | Republic of China | China, Republic of }}

(This works with or without the parameter the.)

See also