Template:Post boxes by county
Jump to navigation
Jump to search
This documentation is transcluded from Template:Post boxes by county/doc.
Template for heading and categorizing templates about post boxes by sub-types and location. Mostly for the UK, but handles the Republic of Ireland too.
| <reign> <type> in <county> || <reign> in <county> | <colour> <type> in <county> || <type> in <county> || in <county> || in <country>
|- ! <reign> <colour> <type> in <county> | * || || || || || ||
|- ! <colour> <type> in <county> | || || || || || ||
|- ! <reign> <type> in <county> | ||*|| || || || ||
|- ! <colour> in <county> | || || || || || ||
|- ! <colour> in <country> | || || || ||*|| * ||
|- ! <type> in <county> | || || || || || ||
|-
! <type> in <country>
| || || ||*||*|| * ||
|}
-->
Parameters
[edit]- reign / 1
- Queen Victoria, King Edward VII, King George V, King Edward VIII, King George VI, Queen Elizabeth II
- Note: If this is not used, then capitalise the first letter of the first parameter that is used.
- colour / 2
- red, gold, green, black, blue
- type / 3
- Type A/B
- pillar
- wall-mounted
- pole-mounted
- county / 4
- optional
- If not supplied, country-level navigation is used
- country / 5
- optional defaults to England, but Wales, Scotland, Northern Ireland & the Republic of Ireland are supported as options
- If not supplied, the county takes precedence
Examples
[edit]- Category:Queen Victoria red wall-mounted post boxes in England
- Category:Queen Victoria red wall-mounted post boxes in Wales
- Category:Queen Victoria red wall-mounted post boxes in Scotland
To do
[edit]- Category:Queen Elizabeth II type A/B red pillar boxes in Northern Ireland is in Category:Queen Elizabeth II post boxes in Northern Ireland
- but Category:King George V type A/B red pillar boxes in Belfast isn't in Category:King George V post boxes in Northern Ireland
- Category:Red post boxes in Belfast out of Category:Street furniture in Belfast
- link to 'Norfolk, England' when needed
- Gold nav should be linked upwards more
County navigation for Scotland & Northern IrelandAdjective reverse description should only apply on redLink to 'reign by county' parent catsMaybe fallback uplink to generalised 'post box' cats, Category:Queen Elizabeth II type K red pillar boxes in West YorkshireDon't cat RoI into UKIrish recognition for county nav bars when using RoI.
Sub templates
[edit]- {{Post boxes by county/geographical area}}
- {{Post boxes by county/descriptor}}
- {{Post boxes by county/into cat if exists}}
- {{Post boxes by county/coalesce}}
- {{Post boxes by county/Irish county with prefix}}
Tests
[edit]- Gloucestershire: Gloucestershire
- Gloucestershire: Gloucestershire
- Powys, Wales: Powys
- Wales: Wales
- Wales: Wales
- : England
- Queen Victoria red wall-mounted post boxes
- Queen Victoria type A/B red pillar boxes
- King George V pillar boxes