Template:Flag Institute: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
No edit summary
Line 1: Line 1:
{{#vardefine:tag|{{#switch:{{{1}}}
{{#vardefine:tag|{{#replace:{{#switch:{{{1}}}
|United Kingdom=Union_Flag
|United Kingdom
|Union Flag=Union_Flag
|Union Flag=Union Flag
|East Anglia=East_Anglia
|Penrith=penrith_cumberland
|Isles of Scilly=Isles_of_Scilly
|Petersfield=petersfield_hampshir
|Isle of Wight=Isle_of_Wight
|Isle of Portland
|Cinque Ports=Cinque_Ports
|Portland, Dorset=portland_dorset
|City of London=City_of_London
|Preston=preston_lancashire
|Finchfield, Staffordshire=Finchfield,_Staffordshire
|St Annes on Sea=stannesonthesea_lancashir
|Petersfield, Hampshire=Petersfield,_Hampshire
|Belfast=Belfast_northernireland
|Isle of Portland=Portland,_Dorset
|Cardif=Cardiff_wales
|Portland, Dorset=Portland,_Dorset
|Edinburgh=edinburgh_scotland
|Wroxton, Oxfordshire=Wroxton,_Oxfordshire
|Wing=wing-buckinghamshire
|{{{1}}}}}}}http://ukflagregistry.org/wiki/index.php?title={{#var:tag}}<noinclude>
|Wroxton=wroxton_oxfordshire
|{{{1}}}}}| ||}}http://www.flaginstitute.org/wp/flags/{{lc:{{#var:tag}}}}<noinclude>


This template is used generate URLs at the [[Flag Institute]].  This template permits them to be accessed by name.  The Flag Institute recently (2012) adopted an improved and more stable system of indexing index, but this template has allowed the change to be made in just one place, here, for all to work.
This template is used generate URLs at the [[Flag Institute]].  This template permits them to be accessed by name.  The Flag Institute recently (2012) adopted an improved and more stable system of indexing index, but this template has allowed the change to be made in just one place, here, for all to work.

Revision as of 00:20, 1 July 2013

{{#vardefine:tag|{{{1}}}http://www.flaginstitute.org/wp/flags/

This template is used generate URLs at the Flag Institute. This template permits them to be accessed by name. The Flag Institute recently (2012) adopted an improved and more stable system of indexing index, but this template has allowed the change to be made in just one place, here, for all to work.

Use {{Flag Institute|Yorkshire}} to generate a URL such as {{#vardefine:tag|Yorkshirehttp://www.flaginstitute.org/wp/flags/.

List of supported flags

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

  • [{{#vardefine:tag|Union Flaghttp://www.flaginstitute.org/wp/flags/ United Kingdom]
  • [{{#vardefine:tag|Englandhttp://www.flaginstitute.org/wp/flags/ England]
  • [{{#vardefine:tag|Scotlandhttp://www.flaginstitute.org/wp/flags/ Scotland]
  • [{{#vardefine:tag|Waleshttp://www.flaginstitute.org/wp/flags/ Wales]
  • [{{#vardefine:tag|Buckinghamshirehttp://www.flaginstitute.org/wp/flags/ Buckinghamshire]
  • [{{#vardefine:tag|Cornwallhttp://www.flaginstitute.org/wp/flags/ Cornwall]
  • [{{#vardefine:tag|Derbyshirehttp://www.flaginstitute.org/wp/flags/ Derbyshire]
  • [{{#vardefine:tag|Devonhttp://www.flaginstitute.org/wp/flags/ Devon]
  • [{{#vardefine:tag|Dorsethttp://www.flaginstitute.org/wp/flags/ Dorset]
  • [{{#vardefine:tag|Essexhttp://www.flaginstitute.org/wp/flags/ Essex]
  • [{{#vardefine:tag|Gloucestershirehttp://www.flaginstitute.org/wp/flags/ Gloucestershire]
  • [{{#vardefine:tag|Hertfordshirehttp://www.flaginstitute.org/wp/flags/ Hertfordshire]
  • [{{#vardefine:tag|Kenthttp://www.flaginstitute.org/wp/flags/ Kent]
  • [{{#vardefine:tag|Lancashirehttp://www.flaginstitute.org/wp/flags/ Lancashire]
  • [{{#vardefine:tag|Lincolnshirehttp://www.flaginstitute.org/wp/flags/ Lincolnshire]
  • [{{#vardefine:tag|Middlesexhttp://www.flaginstitute.org/wp/flags/ Middlesex]
  • [{{#vardefine:tag|Northumberlandhttp://www.flaginstitute.org/wp/flags/ Northumberland]
  • [{{#vardefine:tag|Nottinghamshirehttp://www.flaginstitute.org/wp/flags/ Nottinghamshire]
  • [{{#vardefine:tag|Orkneyhttp://www.flaginstitute.org/wp/flags/ Orkney]
  • [{{#vardefine:tag|Pembrokeshirehttp://www.flaginstitute.org/wp/flags/ Pembrokeshire]
  • [{{#vardefine:tag|Shetlandhttp://www.flaginstitute.org/wp/flags/ Shetland]
  • [{{#vardefine:tag|Sussexhttp://www.flaginstitute.org/wp/flags/ Sussex]
  • [{{#vardefine:tag|Wiltshirehttp://www.flaginstitute.org/wp/flags/ Wiltshire]
  • [{{#vardefine:tag|Yorkshirehttp://www.flaginstitute.org/wp/flags/ Yorkshire]
  • [{{#vardefine:tag|East Angliahttp://www.flaginstitute.org/wp/flags/ East Anglia]
  • [{{#vardefine:tag|Isle of Wighthttp://www.flaginstitute.org/wp/flags/ Isle of Wight]
  • [{{#vardefine:tag|Isles of Scillyhttp://www.flaginstitute.org/wp/flags/ Isles of Scilly]
  • [{{#vardefine:tag|Wessexhttp://www.flaginstitute.org/wp/flags/ Wessex]
  • [{{#vardefine:tag|Belfast_northernirelandhttp://www.flaginstitute.org/wp/flags/ Belfast]
  • [{{#vardefine:tag|Cardiffhttp://www.flaginstitute.org/wp/flags/ Cardiff]
  • [{{#vardefine:tag|edinburgh_scotlandhttp://www.flaginstitute.org/wp/flags/ Edinburgh]
  • [{{#vardefine:tag|City of Londonhttp://www.flaginstitute.org/wp/flags/ City of London]
  • [{{#vardefine:tag|Cinque Portshttp://www.flaginstitute.org/wp/flags/ Cinque Ports]
  • [{{#vardefine:tag|Finchfield, Staffordshirehttp://www.flaginstitute.org/wp/flags/ Finchfield, Staffordshire]
  • [{{#vardefine:tag|Petersfield, Hampshirehttp://www.flaginstitute.org/wp/flags/ Petersfield, Hampshire]
  • [{{#vardefine:tag|portland_dorsethttp://www.flaginstitute.org/wp/flags/ Portland, Dorset]
  • [{{#vardefine:tag|Wroxton, Oxfordshirehttp://www.flaginstitute.org/wp/flags/ Wroxton, Oxfordshire]