Template:Country data Afghanistan

Documentation icon 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
1919Flag of Afghanistan (1919–1921).svgFlag of Afghanistan (1919-1928).svg
1931Flag of Afghanistan (1931–1973).jpgNF 1931 - 1974.jpg
1980Flag of Afghanistan (1980–1987).svgFlag of Afghanistan (1979-1987).svg
1987Flag of Afghanistan (1987–1992).svgFlag of Afghanistan (1987–1992).svg
1992Flag of Afghanistan (WFB 1996).pngFlag of Afghanistan 1992 free.png
TalibanFlag of the 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



TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage 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>