Template:Country data Afghanistan: Difference between revisions
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
| flag alias-1901 = Flag of Afghanistan (1901–1919).svg | | flag alias-1901 = Flag of Afghanistan (1901–1919).svg | ||
| flag alias-1919 = Flag of Afghanistan (1919–1921).svg | | flag alias-1919 = Flag of Afghanistan (1919–1921).svg | ||
| flag alias- | | flag alias-1926 = Flag of Afghanistan (1926–1928).svg | ||
| flag alias-1928a = Flag of Afghanistan (1928).svg | |||
| flag alias-1928a=Flag of Afghanistan (1928).svg | |||
| flag alias-1928 = Flag of Afghanistan (1928–1929).svg | | flag alias-1928 = Flag of Afghanistan (1928–1929).svg | ||
| flag alias- | | flag alias-1929a = Flag of Afghanistan (1929).svg | ||
| flag alias- | | flag alias-1929 = Flag of Afghanistan (1929–1931).svg | ||
| flag alias- | | flag alias-1930 = Flag of Afghanistan (1931–1973).svg | ||
| flag alias-1973 = Flag of Afghanistan (1973–1974).svg | |||
| flag alias-1974 = Flag of Afghanistan (1974–1978).svg | | flag alias-1974 = Flag of Afghanistan (1974–1978).svg | ||
| flag alias- | | flag alias-1978a = Flag of Afghanistan (1978).svg | ||
| flag alias- | | flag alias-1978 = Flag of Afghanistan (1978–1980).svg | ||
| flag alias-1980 = Flag of Afghanistan ( | | flag alias-1980 = Flag of Afghanistan (1980–1987).svg | ||
| flag alias-1987 = Flag of Afghanistan (1987–1992).svg | | flag alias-1987 = Flag of Afghanistan (1987–1992).svg | ||
| flag alias-1992a = Flag of Afghanistan (1992).svg | | flag alias-1992a = Flag of Afghanistan (1992).svg | ||
| flag alias-1992 = Flag of Afghanistan ( | | flag alias-1992 = Flag of Afghanistan (1992–2001).svg | ||
| flag alias-1996 = Flag of Taliban (original).svg | | flag alias-1996 = Flag of Taliban (original).svg | ||
| flag alias-1997 = Flag of Taliban.svg | | flag alias-1997 = Flag of Taliban.svg | ||
| flag alias-2001 = Flag of Afghanistan ( | | flag alias-2001 = Flag of Afghanistan (2001–2002).svg | ||
| flag alias-2002 | | flag alias-2002 = Flag of Afghanistan (2002–2004).svg | ||
| flag alias-2004 = Flag of Afghanistan (2004–2013).svg | |||
| flag alias-2004 = Flag of Afghanistan ( | | flag alias-2013 = Flag of Afghanistan.svg | ||
| flag alias- | |||
| flag alias-Taliban = Flag of Taliban.svg | | flag alias-Taliban = Flag of Taliban.svg | ||
| link alias-army = Afghan National Army | | link alias-army = Afghan National Army | ||
Line 40: | Line 39: | ||
| var2 = 1901 | | var2 = 1901 | ||
| var3 = 1919 | | var3 = 1919 | ||
| var4 = | | var4 = 1926 | ||
| var5 = | | var5 = 1928a | ||
| var6 = | | var6 = 1928 | ||
| var7 = | | var7 = 1929a | ||
| var8 = 1929 | | var8 = 1929 | ||
| var9 = | | var9 = 1930 | ||
| var10 = | | var10 = 1973 | ||
| var11 = 1974 | | var11 = 1974 | ||
| var12 = 1978 | | var12 = 1978 | ||
Line 58: | Line 57: | ||
| var20 = 2001 | | var20 = 2001 | ||
| var21 = 2002 | | var21 = 2002 | ||
| var22 = | | var22 = 2004 | ||
| var23 = | | var23 = 2013 | ||
| var24 | | var24 = Taliban | ||
| redir1 = AFG | | redir1 = AFG | ||
</noinclude> | </noinclude> | ||
}} | }} |
Latest revision as of 20:02, 22 September 2019
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
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
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{navy|Script error: No such module "String".}}
→ {{country data Script error: No such module "String".
| navy/core | variant = | size = | name = }}
{{flagicon|Script error: No such module "String".|naval}}
→ {{country data Script error: No such module "String".|flagicon/core|variant=naval|size=}}
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Script error: No such module "String".}}
→ {{country data Script error: No such module "String".
| air force/core | variant = | size = | name = }}
{{flagicon|Script error: No such module "String".|air force}}
→ {{country data Script error: No such module "String".|flagicon/core|variant=air force|size=}}
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Script error: No such module "String".}}
→ {{country data Script error: No such module "String".
| army/core | variant = | size = | name = }}
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|Script error: No such module "String".}}
→ {{country data Script error: No such module "String".|flag/core|name=Script error: No such module "String".|variant=|size=}}{{flagicon|Script error: No such module "String".}}
→ {{country data Script error: No such module "String".|flagicon/core|variant=|size=}}
Using a flag variant
{{flag|Script error: No such module "String".|1880}}
→ {{country data Script error: No such module "String".|flag/core|name=Script error: No such module "String".|variant=1880|size=}}{{flagicon|Script error: No such module "String".|1880}}
→ {{country data Script error: No such module "String".|flagicon/core|variant=1880|size=}}
Using a redirect alias
{{flagicon|AFG}}
→ Template:Country data AFG{{flagcountry|AFG}}
→ Template:Country data AFG{{flag|AFG}}
→ Template:Country data AFG
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 |