Template:Flag Institute: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine: | {{#vardefine:seed|{{#switch:{{{1}}} | ||
|United Kingdom | |United Kingdom | ||
|Union Flag=Union Flag | |Union Flag=Union Flag | ||
Line 8: | Line 8: | ||
|Preston=preston_lancashire | |Preston=preston_lancashire | ||
|St Annes on Sea=stannesonthesea_lancashir | |St Annes on Sea=stannesonthesea_lancashir | ||
|Belfast= | |Belfast=belfast_northernireland | ||
|Cardif= | |Cardif=cardiff_wales | ||
|Edinburgh=edinburgh_scotland | |Edinburgh=edinburgh_scotland | ||
|Wing=wing-buckinghamshire | |Wing=wing-buckinghamshire | ||
|Wroxton=wroxton_oxfordshire | |Wroxton=wroxton_oxfordshire | ||
|{{{1}}}}}| ||}}}}}}http://www.flaginstitute.org/wp/flags/{{#var:tag}}<noinclude> | |{{{1}}}}}{{vardefine:tag|{{#replace:{{lc:{{#var:seed}}}}| |}}}}}}http://www.flaginstitute.org/wp/flags/{{#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:29, 1 July 2013
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 http://www.flaginstitute.org/wp/flags/.
List of supported flags
(This makes it easy to check each link works correctly)