Difference between revisions of "Template:Flag Institute"

From Wikishire
Jump to: navigation, search
Line 1: Line 1:
[http://www.flaginstitute.org/index.php?location=10&flagtype={{FlagIDtype|{{{1}}}}}&flagid={{FlagIDno|{{{1}}}}}|{{{1}}}]<noinclude>
+
[http://www.flaginstitute.org/index.php?location=10&flagtype={{FlagIDtype|{{{1}}}}}&flagid={{FlagIDno|{{{1}}}}} {{{1}}}]<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.
Line 54: Line 54:
 
*[{{Flag Institute|Wroxton, Oxfordshire}} Wroxton, Oxfordshire]
 
*[{{Flag Institute|Wroxton, Oxfordshire}} Wroxton, Oxfordshire]
 
|}
 
|}
[[Category:Vexillological templates]]
+
[[Category:Flag templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:16, 20 February 2012

Template:FlagIDno {{{1}}}

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)