Template documentation
Template:Country data Islamic Republic of Afghanistan is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , 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 |
Islamic Republic of Afghanistan
| Main article name (Islamic Republic of Afghanistan) |
shortname alias |
Afghanistan |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Afghanistan (2004–2021).svg |
Image name (File:Flag of Afghanistan (2004–2021).svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
2004 | Flag of Afghanistan (2004–2013).svg | |
air force | Flag of the Afghan Air Force.svg |
Example usage
{{flag|Islamic Republic of Afghanistan}}
→ Islamic Republic of Afghanistan{{flag icon|Islamic Republic of Afghanistan}}
→{{flag country|Islamic Republic of Afghanistan}}
→ Afghanistan
Using a flag variant
{{flag|Islamic Republic of Afghanistan|2004}}
→ Islamic Republic of Afghanistan{{flag icon|Islamic Republic of Afghanistan|2004}}
→
Military ensigns
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Islamic Republic of Afghanistan}}
→ Afghan Air Force{{flag icon|Islamic Republic of Afghanistan|air force}}
→
This nation's military ensign is the same as its national flag, so Template: Armed forces produces the following:
{{Armed forces|Islamic Republic of Afghanistan}}
→ Afghan Armed Forces
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Islamic Republic of Afghanistan}}
→ Afghan National Army
Related templates
Please see the following related country_data
templates:
- Template:Country data Afghanistan Afghanistan
- Template:Country data Emirate of Afghanistan Emirate of Afghanistan
- Template:Country data Kingdom of Afghanistan Kingdom of Afghanistan
- Template:Country data Emirate of Afghanistan (1929) Emirate of Afghanistan (1929)
- Template:Country data Republic of Afghanistan Republic of Afghanistan
- Template:Country data Democratic Republic of Afghanistan Democratic Republic of Afghanistan
- Template:Country data Islamic State of Afghanistan Islamic State of Afghanistan
- Template:Country data Islamic Emirate of Afghanistan Islamic Emirate of Afghanistan
- Template:Country data Transitional Islamic State of Afghanistan Transitional Islamic State of Afghanistan
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data Islamic Republic of Afghanistan in articles based on its TemplateData.
TemplateData for Country data Islamic Republic of Afghanistan
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. 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 |