Template:Country data Afghanistan
Jump to navigation
Jump to 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.
This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Afghanistan
| Main article name (Afghanistan) |
flag alias |
Flag of Afghanistan.svg |
Image name (File:Flag of Afghanistan.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1901 | File:Flag of Afghanistan (1901–1919).svg | Flag of Afghanistan (1901–1919).svg |
1919 | File:Flag of Afghanistan (1919–1921).svg | Flag of Afghanistan (1919–1921).svg |
1931 | File:Flag of Afghanistan (1931–1973).svg | Flag of Afghanistan (1931–1973).svg |
1980 | File:Flag of Afghanistan (1980).svg | Flag of Afghanistan (1980).svg |
1987 | File:Flag of Afghanistan (1987–1992).svg | Flag of Afghanistan (1987–1992).svg |
1992 | File:Flag of Afghanistan (1992-1996; 2001).svg | Flag of Afghanistan (1992-1996; 2001).svg |
Taliban | File:Flag of Taliban.svg | Flag of Taliban.svg |
2001 | File:Flag of Afghanistan (2002–2004, variant with golden arms).svg | Flag of Afghanistan (2002–2004, variant with golden arms).svg |
2002 | File:Flag of Afghanistan (2002-2004).svg | Flag 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) | Template:Country data AFG | Template:Country data AFG |
See What links here for a full list of redirects.
Example usage
{{flag|Afghanistan}}
→ File:Flag of Afghanistan.svg Afghanistan{{flagicon|Afghanistan}}
→ File:Flag of Afghanistan.svg
Using a flag variant
{{flag|Afghanistan|1901}}
→ File:Flag of Afghanistan (1901–1919).svg Afghanistan{{flagicon|Afghanistan|1901}}
→ File:Flag of Afghanistan (1901–1919).svg
Using a redirect alias
{{flagicon|AFG}}
→ Template:Country data AFG{{flagcountry|AFG}}
→ Template:Country data AFG{{flag|AFG}}
→ Template:Country data AFG
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Country data Afghanistan
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.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |