Template:Categorisation: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with '''For Categorisation templates generally, see Wikishire:Categorisation templates'' The following '''categorisation templates''' are placed on a Category page in order to pl…'
 
Line 47: Line 47:
The templates are:
The templates are:


*{{tl|Cadw}}
*{{tl|Cats}}
*{{tl|Cats}}
*{{tl|Canals}}
*{{tl|Canals}}
*{{tl|Castles}}
*{{tl|Castles}}
*{{tl|Diocese}}
*{{tl|Diocese}}
*{{tl|English Heritage}}
*{{tl|Footpaths}}
*{{tl|Footpaths}}
*{{tl|Headlands}}
*{{tl|Headlands}}
*{{tl|Hill forts}}
*{{tl|Hill forts}}
*{{tl|Hills}}
*{{tl|Hills}}
*{{tl|Historic Scotland}}
*{{tl|Hundreds}}
*{{tl|Hundreds}}
*{{tl|Islands}}
*{{tl|Islands}}
*{{tl|Isles}}
*{{tl|Isles}}
*{{tl|Lakes}}
*{{tl|Lakes}}
*{{tl|NIEA}}
*{{tl|Ports}}
*{{tl|Ports}}
*{{tl|Prehistoric}}
*{{tl|Prehistoric}}

Revision as of 22:59, 23 March 2014

For Categorisation templates generally, see Wikishire:Categorisation templates

The following categorisation templates are placed on a Category page in order to place it within a broader category, usually the relevant county and a national category, for example Category:Ports of Cornwall is within Category:Cornwall and Category:Ports of the United Kingdom.

Theme

Purpose

  • To save space
  • To ensure consistency in categorisation, for example to avoid creating both "Rivers of Dorset" and "Rivers in Dorset".
  • To order the Category in the national category by county

Examples

Template Placed in Categorises as

{{t&v|Angus}}

Towns and villages in Angus Category:Angus
Category:Towns and villages of the United Kingdom

{{National Trust properties|Angus}}

National Trust properties in Angus Category:Angus
Category:National Trust for Scotland properties

{{rivers|Angus}}

Rivers of Angus Category:Angus
Category:Rivers of Britain and Ireland

Use

The template will take one field: the county name. It incorporates {{namefix}}, so if the name of the county has variants, these will be dealt with and avoid having "in Argyll" and "in Argyllshire" versions side by side. In the case of county beginning "County", omit that word, so:

{{hills|Devon}}
{{rivers|Antrim}}

Most of these templates are named so as to allow a simple "Copy & paste": where a new article creates a category (for example) "Category:National Trust properties in Derbyshire", simply copy and paste that title and change it to:

{{National Trust properties|Derbyshire}}

{{Cats}}

{{Cats}} is a general template for this purpose; it has nothing to do with moggies. Where there is no specific Categorisation template for a category, {{Cats}} may be used. It requires three fields: the name, the preposition and the county, so:

Category:Airports in Surrey would (and indeed does) contain:

{{Cats|Airports|in|Surrey}}

This tells Wikishire that "Airports in Surrey" should go in "Airports in the United Kingdom" not "of the United Kingdom".

List

The templates are: