From Hattrick
Revision as of 09:03, 4 May 2010 by Jhattara (talk | contribs) (Created page with '{{country data {{{1}}} | country flagcountry2 | variant = {{{variant|{{{2|}}}}}} | size = {{{size|}}} | name = {{{name|}}} }}<noinclude>{{documentation}}</noinclude>')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{country data {{{1}}} | country flagcountry2 | variant = | size = | name = }}

[edit] Template documentation

This template displays the flag, linked to the main article of that country.


Country (mandatory)
Parameter 1 identifies the country by name or three-letter code
Name example: {{flaglink|France}} → France
Country code example: {{flaglink|FRA}} → France
Size (optional)
Use the size= parameter to change the size from the default.
Example: {{flaglink|France|size=40px}} → France.


This template uses the data templates listed under category:country data templates, which contain the data what to display (Example: template:country data France) and the formatter template:country flaglink2, which contains the logic how to display the country data.

Related templates