Template:Country data Afghanistan: Difference between revisions
imported>Paine Ellsworth Undid revision 1118974796 by Paine Ellsworth (talk) restore flags |
(No difference)
|
Latest revision as of 20:08, 2 November 2022
| This template is used on approximately 20,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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 the Taliban.svg |
Image name (File:Flag of the Taliban.svg, shown on right) |
Flag variants
Redirect aliases
| 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}}→Afghanistan
{{flagicon|Afghanistan}}→
Using a flag variant
{{flag|Afghanistan|1880}}→Afghanistan
{{flagicon|Afghanistan|1880}}→
Using a redirect alias
{{flagicon|AFG}}→ Template:Country data AFG{{flagcountry|AFG}}→ Template:Country data AFG{{flag|AFG}}→ Template:Country data AFG
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Afghanistan}}→Afghan National Police
{{flagicon|Afghanistan|naval}}→
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Afghanistan}}→Afghan Air Force
{{flagicon|Afghanistan|air force}}→
This nation's military ensign is the same as its national flag, so Template: Armed forces produces the following:
{{Armed forces|Afghanistan}}→Afghan Armed Forces
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Afghanistan}}→Afghan National Police
{{flagicon|Afghanistan|navy}}→
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Afghanistan}}→Afghan National Army
Related templates
Please see the following related country_data templates:
- Template:Country data Democratic Republic of AfghanistanTemplate:Country data Democratic Republic of Afghanistan
TemplateData
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 | ||||||