Template:Country data Bahrain
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.
| 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 |
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 | Flag of Bahrain (1972-2002).svg | |
1932 | Flag of Bahrain (1932 to 1972).svg | |
1820 | Flag of Bahrain (1820-1932).svg | |
old | Flag of Bahrain (before 1820).svg |
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{navy|Template:Str right}}→ Template:Navy
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
BHR (view) | Template:Country data BHR | Template:Country data BHR |
See What links here for a full list of redirects.
Example usage
{{flag|Template:Str right}}→ {{country data Template:Str right|flag/core|name=Template:Str right|variant=|size=}}{{flagicon|Template:Str right}}→ {{country data Template:Str right|flagicon/core|variant=|size=}}
Using a flag variant
{{flag|Template:Str right|1972}}→ {{country data Template:Str right|flag/core|name=Template:Str right|variant=1972|size=}}{{flagicon|Template:Str right|1972}}→ {{country data Template:Str right|flagicon/core|variant=1972|size=}}
Using a redirect alias
{{flagicon|BHR}}→ Template:Country data BHR{{flagcountry|BHR}}→ Template:Country data BHR{{flag|BHR}}→ Template:Country data BHR
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 | ||||||
[[Category:All country data templates|Template:Str right]][[Category:Uncategorized country data templates|Template:Str right]]