Template:Country data Bahrain: Difference between revisions
meta>MSGJ iws to /doc |
meta>Andrwsc add 1932 and 1820 variants, deprecate "old" variant in favor of "1972" label |
||
Line 2: | Line 2: | ||
| alias = Bahrain | | alias = Bahrain | ||
| flag alias = Flag of Bahrain.svg | | flag alias = Flag of Bahrain.svg | ||
| flag alias-old = Flag of Bahrain 1972.svg | | flag alias-1820= Flag of Bahrain (1820-1932).png | ||
| flag alias-1932= Flag of Bahrain (1932 to 1972).svg | |||
| flag alias-1972= Flag of Bahrain 1972.svg | |||
| flag alias-old = Flag of Bahrain 1972.svg <!-- deprecated, to be replaced by 1972 --> | |||
| link alias-naval = Royal Bahraini Navy | | link alias-naval = Royal Bahraini Navy | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
Line 9: | Line 12: | ||
| variant = {{{variant|}}} | | variant = {{{variant|}}} | ||
<noinclude> | <noinclude> | ||
| var1 = | | var1 = 1972 | ||
| var2 = 1932 | |||
| var3 = 1820 | |||
| redir1 = BHR | | redir1 = BHR | ||
</noinclude> | </noinclude> | ||
}} | }} |
Revision as of 17:24, 22 November 2010
Template:Country data Bahrain is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{Flag}}, {{Flagicon}}
and others.
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Bahrain |
Main article name (Bahrain) |
flag alias |
Flag of Bahrain.svg |
Image name (File:Flag of Bahrain.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1972 | File:Flag of Bahrain 1972.svg | Flag of Bahrain 1972.svg |
1932 | File:Flag of Bahrain (1932 to 1972).svg | Flag of Bahrain (1932 to 1972).svg |
1820 | File:Flag of Bahrain (1820-1932).png | Flag of Bahrain (1820-1932).png |
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{Navy|Bahrain}}
→ Royal Bahraini Navy
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 |
---|---|---|
BHR (view) | BHR | Bahrain |
See What links here for a full list of redirects.
Example usage
{{Flag|Bahrain}}
→ Bahrain{{Flagicon|Bahrain}}
→
Using a flag variant
{{Flag|Bahrain|1972}}
→ File:Flag of Bahrain 1972.svg Bahrain{{Flagicon|Bahrain|1972}}
→ Bahrain
Using a redirect alias
TemplateData
TemplateData for Country data Bahrain
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 |