Template:Flag Institute: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:seed|{{#switch:{{{1}}} | <includeonly>{{#vardefine:seed|{{#switch:{{{1}}} | ||
|United Kingdom | |United Kingdom | ||
|Union Flag=Union Flag | |Union Flag=Union Flag | ||
| | |Portland=Isle of Portland | ||
| | |Purbeck=Isle of Purbeck | ||
| | |St Annes on Sea=St Annes on the Sea | ||
| | |Scilly=Isles of Scilly | ||
| | |the East Riding of Yorkshire | ||
| | |East Riding of Yorkshire=Yorkshire-east-riding | ||
| | |the North Riding of Yorkshire | ||
|North Riding of Yorkshire=Yorkshire-north-riding | |||
| | |the West Riding of Yorkshire | ||
|West Riding of Yorkshire=Yorkshire-west-riding | |||
|{{{1}}} | |||
| | }}}}{{#vardefine:tag|{{lc:{{#replace:{{#var:seed}}| |-}}}}-flag}}http://www.flaginstitute.org/wp/flags/{{#var:tag}}</includeonly><noinclude> | ||
| | {{documentation}} | ||
<!-- Add categories and to the /doc subpage, not here! --> | |||
|{{{1}}}}}{{#vardefine:tag|{{ | |||
</noinclude> | </noinclude> |
Latest revision as of 12:39, 6 May 2020
[edit] [{{#invoke:Purge|main}}] Template documentation
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/yorkshire-flag.
List of supported flags
(This makes it easy to check each link works correctly)
The above documentation is transcluded from Template:Flag Institute/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |