An diofar eadar na mùthaidhean a rinneadh air "Teamplaid:Flagcountry"

Content deleted Content added
Created page with '{{country data {{{1}}} | country flagcountry2 | variant = {{{variant|{{{2|}}}}}} | size = {{{size|}}} | name = {{{name|}}} }}<noinclude>{{documentation}}</noinclude>'
(Gun diofar eatarra)

Mùthadh on 20:55, 22 dhen Ògmhios 2009

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

}}

Documentation icon Sgrìobhainnean teamplaid[view] [deasaich] [history] [purge]

This template displays the flag and the name of a country, linked to the main article of that country (flag + country).

Usage

Country (mandatory)
Parameter 1 identifies the country by name or three-letter code (ISO 3166-1 alpha-3)
Name example: {{flagcountry|France}} → Teamplaid:Country data France
Country code example: {{flagcountry|FRA}} → Teamplaid:Country data FRA
Variant flag image (optional)
Parameter 2 is used to display a different version of the flag.
Example: {{flagcountry|France|free}} → Teamplaid:Country data France. In this example, the historical flag for Free France (1940-1945) is identified by the second parameter of "free". The list of flag variants is specific for each country.
Link text (optional)
Use the name= parameter to change the link text.
Example: {{flagcountry|France|name=C'est la France}} → Teamplaid:Country data France
Size (optional)
Use the size= parameter to change the size from the default.
Example: {{flagcountry|France|size=40px}} → Teamplaid:Country data France.

Implementation

This template uses the data templates listed under Roinn-seòrsa:country data templates, which contain the data what to display (Example: Teamplaid:country data France) and the formatter Teamplaid:country flagcountry2, which contains the logic how to display the country data.

Related templates

See also