Difference between revisions of "Template:Flag Institute"

From Wikishire
Jump to: navigation, search
m
Line 10: Line 10:
 
|Penrith=penrith_cumberland
 
|Penrith=penrith_cumberland
 
|Petersfield=petersfield_hampshir
 
|Petersfield=petersfield_hampshir
 +
|Portland
 
|Isle of Portland
 
|Isle of Portland
 
|Portland, Dorset=portland_dorset
 
|Portland, Dorset=portland_dorset
Line 18: Line 19:
 
|Wroxton=wroxton_oxfordshire
 
|Wroxton=wroxton_oxfordshire
 
|{{{1}}}
 
|{{{1}}}
}}}}{{#vardefine:tag|{{#replace:{{lc:{{#var:seed}}}}| |}}}}http://www.flaginstitute.org/wp/flags/{{#var:tag}}</includeonly><noinclude>
+
}}}}{{#vardefine:tag|{{lc:{{#replace:{{#var:seed}}| |}}}}}}http://www.flaginstitute.org/wp/flags/{{#var:tag}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and to the /doc subpage, not here! -->
 
<!-- Add categories and to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 19:52, 29 July 2013

[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)