Difference between revisions of "Template:Flag Institute"

From Wikishire
Jump to: navigation, search
(Created page with '{{#switch: {{{1|}}} | United Kingdom = http://www.flaginstitute.org/index.php?location=10&flagtype=national&flagid=1 | England = http://www.flaginstitute.org/index.php…')
 
Line 1: Line 1:
{{#switch: {{{1|}}}
+
{{UKFlagreg|{{{1}}}}}<noinclude>
| United Kingdom  = http://www.flaginstitute.org/index.php?location=10&flagtype=national&flagid=1
+
 
| England          = http://www.flaginstitute.org/index.php?location=10&flagtype=national&flagid=2
+
| Scotland        = http://www.flaginstitute.org/index.php?location=10&flagtype=national&flagid=3
+
| Wales            = http://www.flaginstitute.org/index.php?location=10&flagtype=national&flagid=4
+
| Buckinghamshire  = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=100
+
| Cornwall        = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=101
+
| Derbyshire      = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=102
+
| Devon            = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=103
+
| Dorset          = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=104
+
| East Anglia      = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=105
+
| Essex            = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=106
+
| Gloucestershire  = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=107
+
| Hertfordshire    = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=108
+
| Huntingdonshire  = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=109
+
| Isle of Wight    = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=110
+
| Isles of Scilly  = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=111
+
| Kent            = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=112
+
| Lancashire      = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=113
+
| Lincolnshire    = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=114
+
| Middlesex        = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=115
+
| Northumberland  = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=116
+
| Nottinghamshire  = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=117
+
| Orkney          = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=118
+
| Pembrokeshire    = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=119
+
| Shetland        = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=120
+
| Sussex          = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=121
+
| Wessex          = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=122
+
| Wiltshire        = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=123
+
| Yorkshire        = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=124
+
| Belfast          = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=125
+
| Cardiff          = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=126
+
| Edinburgh        = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=127
+
| City of London  = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=128
+
| Lord Mayor of the City of London = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=129
+
| Cinque Ports    = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=130
+
| Lord Warden of the Cinque Ports = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=131
+
| Finchfield, Staffordshire = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=132
+
| Petersfield, Hampshire = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=133
+
| Portland, Dorset = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=134
+
| Wroxton, Oxfordshire = http://www.flaginstitute.org/index.php?location=10&flagtype=county&flagid=135
+
| http://www.flaginstitute.org/index.php?location=10&flagtype=county
+
}}<noinclude>
+
 
This template is used generate URLs at the [[Flag Institute]], whose database uses numeric flag indices which change when they add a new flag.
 
This template is used generate URLs at the [[Flag Institute]], whose database uses numeric flag indices which change when they add a new flag.
  

Revision as of 21:45, 20 February 2012

Template:UKFlagreg

This template is used generate URLs at the Flag Institute, whose database uses numeric flag indices which change when they add a new flag.

This template permits them to be accessed by name and means that the numbers only need changing in one place (here) for all to work.

Use {{Flag Institute|Yorkshire}} to generate a URL such as http://www.flaginstitute.org/wp/flags/yorkshire-flag.

List of supported flags

(This makes it easy to check each link works correctly)