Templet:Country data Afghanistan
Appearance
Template documentation
This is the documentation for Template:Country data Afghanistan. It is automatically generated by Template:Country showdata
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. For a more thorough discussion of the flag template system, including parameters not described here, please see Wikipedia:WikiProject Flag Template.
Please purge the cache after making any changes to this template.

Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
| alias | Afghanistan | Main article name (Afghanistan) |
| flag alias | Flag of Afghanistan.svg | Image name (Image:Flag of Afghanistan.svg, shown above right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
| 1901 | Flag of Afghanistan 1901.svg | |
| 1919 | Flag of Afghanistan (1919-1928).svg | |
| 1931 | Flag of Afghanistan (1931–1973).svg | |
| 1980 | Flag of Afghanistan (1979-1987).svg | |
| 1987 | Fail:NF 1987 - 1992.jpg | NF 1987 - 1992.jpg |
| 1992 | Flag of Afghanistan (1992–2001).svg | |
| Taliban | Flag of Taliban.svg | |
| 2001 | Flag of Afghanistan 2001.svg | |
| 2002 | Flag of Afghanistan (2002-2004).svg |
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
| AFG (view) | Templet:Country data AFG | Templet:Country data AFG |
Example usage
- {{flag|Afghanistan}} →
Afghanistan - {{flagicon|Afghanistan}} →

- Using a flag variant
- {{flag|Afghanistan|1901}} →
Afghanistan - {{flagicon|Afghanistan|1901}} →

- Using a redirect alias
- {{flagicon|AFG}} → Templet:Country data AFG
- {{flagcountry|AFG}} → Templet:Country data AFG
- {{flag|AFG}} → Templet:Country data AFG