Template:Country data Bahamas
Template:Country data Bahamas 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 | The Bahamas | Main article name (The Bahamas) |
| shortname alias | Bahamas | (optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
| flag alias | Flag of the Bahamas.svg | Image name (File:Flag of the Bahamas.svg, shown above right) |
Flag variants
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
- {{navy|The Bahamas}} → Template:Navy
- {{flagicon|The Bahamas|naval}} → Template:Country data The Bahamas
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|The Bahamas}} → Template:Army
- {{flagicon|The Bahamas|army}} → Template:Country data The Bahamas
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 |
|---|---|---|
| BHS (view) | Template:Country data BHS | Template:Country data BHS |
| BAH (view) | Template:Country data BAH | Template:Country data BAH |
| The Bahamas (view) | Template:Country data The Bahamas | Template:Country data The Bahamas |
Example usage
- {{flag|The Bahamas}} → Template:Country data The Bahamas
- {{flagicon|The Bahamas}} → Template:Country data The Bahamas
- {{flagcountry|The Bahamas}} → Template:Country data The Bahamas
Using a flag variant
- {{flag|The Bahamas|colonial}} → Template:Country data The Bahamas
- {{flagicon|The Bahamas|colonial}} → Template:Country data The Bahamas
Using a redirect alias
- {{flagicon|BHS}} → Template:Country data BHS
- {{flagcountry|BHS}} → Template:Country data BHS
- {{flag|BHS}} → Template:Country data BHS