Template:Country data South Africa: 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-1801 = Flag of the United Kingdom.svg | | flag alias-1801 = Flag of the United Kingdom.svg | ||
| flag alias-1857 = Flag of Transvaal.svg | | flag alias-1857 = Flag of Transvaal.svg | ||
| flag alias-1875 = Flag of the Natal Colony (1875–1910).svg | |||
| flag alias-1876 = Flag of the Cape Colony 1876-1910.svg | | flag alias-1876 = Flag of the Cape Colony 1876-1910.svg | ||
| flag alias-1902 = Flag of Orange River Colony.svg | |||
| flag alias-1910 = South Africa Flag 1910-1912.svg | | flag alias-1910 = South Africa Flag 1910-1912.svg | ||
| flag alias-1912 = Red Ensign of South Africa (1912-1951).svg | | flag alias-1912 = Red Ensign of South Africa (1912-1951).svg | ||
| flag alias-1928 | | flag alias-1928 = Flag of South Africa (1928–1994).svg | ||
| flag alias-1982 = Flag of South Africa (1982–1994).svg | | flag alias-1982 = Flag of South Africa (1982–1994).svg | ||
| flag alias-naval = Naval Ensign of South Africa.svg | | flag alias-naval = Naval Ensign of South Africa.svg | ||
| flag alias-naval-1922 = Naval Ensign of the United Kingdom.svg | | flag alias-naval-1922 = Naval Ensign of the United Kingdom.svg | ||
Line 51: | Line 48: | ||
| var2= 1801 | | var2= 1801 | ||
| var3= 1857 | | var3= 1857 | ||
| var4= | | var4= 1875 | ||
| var5 = | | var5= 1876 | ||
| var6 = | | var6 = 1902 | ||
| var7 = | | var7 = 1910 | ||
| var8 = | | var8 = 1912 | ||
| var9 = | | var9 = 1928 | ||
| var10 = | | var10 = 1982 | ||
| var11 | | var11 = naval-1922 | ||
| var12 = naval-1946 | |||
| var13 = naval-1952 | |||
| var14 = naval-1981 | |||
| | | var15 = air force-1940 | ||
| | | var16 = air force-1951 | ||
| | | var17 = air force-1958 | ||
| | | var18 = air force-1967 | ||
| | | var19 = air force-1981 | ||
| | | var20 = air force-1982 | ||
| | | var21 = air force-1994 | ||
| | | var22 = army-1951 | ||
| | | var23 = army-1966 | ||
| | | var24 = army-1973 | ||
| | | var25 = army-1981 | ||
| | | var26 = army-1994 | ||
| | | var27 = army-2002 | ||
| | |||
| | |||
| | |||
| redir1 = ZAF | | redir1 = ZAF | ||
| redir2 = RSA | | redir2 = RSA |
Latest revision as of 20:02, 22 September 2019
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template:Country data South Africa
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 |
South Africa
| Main article name (South Africa) |
flag alias |
Flag of South Africa.svg |
Image name (File:Flag of South Africa.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 template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Script error: No such module "String".}}
→ Template:Marines{{flagicon|Script error: No such module "String".|marines}}
→ {{country data Script error: No such module "String".|flagicon/core|variant=marines|size=}}
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Script error: No such module "String".}}
→ {{country data Script error: No such module "String".
| Military/core | variant = | size = | name = }}
{{flagicon|Script error: No such module "String".|military}}
→ {{country data Script error: No such module "String".|flagicon/core|variant=military|size=}}
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Script error: No such module "String".}}
→ {{country data Script error: No such module "String".
| army/core | variant = | size = | name = }}
{{flagicon|Script error: No such module "String".|army}}
→ {{country data Script error: No such module "String".|flagicon/core|variant=army|size=}}
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 |
---|---|---|
ZAF (view) | Template:Country data ZAF | Template:Country data ZAF |
RSA (view) | RSA | South Africa |
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".|1795}}
→ {{country data Script error: No such module "String".|flag/core|name=Script error: No such module "String".|variant=1795|size=}}{{flagicon|Script error: No such module "String".|1795}}
→ {{country data Script error: No such module "String".|flagicon/core|variant=1795|size=}}
Using a redirect alias
{{flagicon|ZAF}}
→ Template:Country data ZAF{{flagcountry|ZAF}}
→ Template:Country data ZAF{{flag|ZAF}}
→ Template:Country data ZAF
Related templates
Please see the following related country_data
templates:
- Template:Country data South African RepublicTemplate:Country data South African Republic
- Template:Country data Union of South AfricaTemplate:Country data Union of South Africa
- Template:Country data Cape ColonyTemplate:Country data Cape Colony
TemplateData
TemplateData for Country data South Africa
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 |