Template:Country data Bahrain: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Flag Bahrain Bahrayn.png|border=border|alt=Bahrain|size={{{size|}}}}} | }} {{#if: {{{n…' |
as optional: full size flag, logo flags, alt name |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| name = Bahrain | |||
| alias = Bahrain | |||
| flag alias = Flagicon Bahrain.png | |||
| flag full = Flag of Bahrain.PNG | |||
| flag logo = Country data Bahrain.png | |||
{{DEFAULTSORT:Bahrain}} | | size = {{{size|}}} | ||
| altlink = {{{alt|}}} | |||
<noinclude> | |||
| redir1 = BHR | |||
| redir2 = Bahrayn | |||
</noinclude>}}<noinclude>{{DEFAULTSORT:Bahrain}} | |||
[[Category:Country data templates]] | [[Category:Country data templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:01, 6 March 2020
[edit]
Template documentation
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 | Link |
|---|---|---|---|
| name | Bahrain | Main article name | (Bahrain) |
| alias | Bahrain | English name | - |
| flag alias | Flagicon Bahrain.png | Flag icon | (File:Flagicon Bahrain.png) |
| flag full | Flag of Bahrain.PNG | Full size flag | (File:Flag of Bahrain.PNG) |
| flag logo | Country data Bahrain.png | "Ball" logo flag | (File:Country data Bahrain.png) |
Example usage
| * {{flag|Bahrain}} → | |
| * {{flaglink|Bahrain}} → | |
| * {{flagicon|Bahrain}} → | |
| * {{flagfull|Bahrain|showlink}} → |
Bahrain |
| * {{flaglogo|Bahrain|size=x60px}} → |
|
Redirect
This template can also be used via an alternative name (up to 5 and implemented as a redirect to this template):| Alternative name | {{flag|alias}} output | {{flaglink|alias}} output |
|---|---|---|
| BHR (view) | ||
| Bahrayn (view) |
Using a redirect alias
- {{flagicon|BHR}} →

- {{flaglink|BHR}} →

- {{flag|BHR}} →
Bahrain
This is the documentation for Template:Country data Bahrain. It is automatically generated by Template:Country showdata.
Please after making any changes to this template.