From World Afropedia
Jump to: navigation, search
Template documentation

Template:Country data Afghanistan is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Standard parameters

Parameter nameValueMeaning
alias Afghanistan Main article name (Afghanistan)
flag alias Flag of Afghanistan.svg Image name (File:Flag of Afghanistan.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
1901Flag of Afghanistan 1901.pngFlag of Afghanistan 1901.png
1919Afghanistan flag 1919.pngAfghanistan flag 1919.png
1931Flag of Afghanistan (1931–1973).svgFlag of Afghanistan 1930.svg
1980Flag of Afghanistan (1980).svgFlag of Afghanistan 1980.svg
1987Flag of Afghanistan (1987–1992).svgFlag of Afghanistan (1987).svg
1992Flag of Afghanistan (1992–2001).svgFlag of Afghanistan (1992-1996; 2001).svg
TalibanFlag of Taliban.svgFlag of Taliban.svg
2001Flag of Afghanistan (2002–2004, variant with golden arms).svgFlag of Afghanistan 2001.svg
2002Flag of Afghanistan (2002–2004).svgFlag of Afghanistan (2002-2004).svg

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):
Alias name{{flag|alias}} output{{flagcountry|alias}} output
AFG (view) AFG Afghanistan

See What links here for a full list of redirects.

Example usage

  • {{flag|Afghanistan}} Afghanistan
  • {{flagicon|Afghanistan}}Afghanistan

Using a flag variant

  • {{flag|Afghanistan|1901}} Afghanistan
  • {{flagicon|Afghanistan|1901}}Afghanistan

Using a redirect alias

  • {{flagicon|AFG}}Afghanistan
  • {{flagcountry|AFG}} Afghanistan
  • {{flag|AFG}} AFG

Other information

Additional flag variants

In addition to the nine flag variants shown above, the following eight variants are also available:

Label Flag image (40px)
1880 Afghanistan
1921 Afghanistan
1927 Afghanistan
1928 Afghanistan
1929 Afghanistan
1929a Afghanistan
1974 Afghanistan
1978 Afghanistan
1978a Afghanistan


This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Country data Afghanistan

<templatedata> {

 "description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
 "params": {}

} </templatedata>