• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Country data Bahamas/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Country data Bahamas
This is the template sandbox page for Template:Country data Bahamas (diff).
Template documentation
WarningThis template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Template:Country data Bahamas/sandbox is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flag icon, 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.
See also: Flag of The Bahamas

Contents

  • 1 Standard parameters
  • 2 Flag variants
  • 3 Redirect aliases
  • 4 Example usage
    • 4.1 Using a flag variant
    • 4.2 Using a redirect alias
  • 5 Military ensigns
  • 6 TemplateData

Standard parameters

Parameter nameValueMeaning
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 on right)

Flag variants

Further information: Flag of The Bahamas
LabelFlag image (40px)Image name
colonialFlag of the Bahamas (1953–1964).svg
1869Flag of the Bahamas (1869–1904).svg
1904Flag of the Bahamas (1904–1923).svg
1923Flag of the Bahamas (1923–1953).svg
1953Flag of the Bahamas (1953–1964).svg
1964Flag of the Bahamas (1964–1973).svg
1973Flag of the Bahamas (1973–2006).svg
civilCivil Ensign of the Bahamas.svg
navalNaval Ensign of the Bahamas.svg
navyNaval Ensign of the Bahamas.svg
armyFlag of the Bahamas.svg

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):
Alias name{{flag|alias}} output{{flag country|alias}} output
BHS (view) BHS Bahamas
BAH (view) BAH Bahamas
The Bahamas (view) The Bahamas Bahamas

See What links here for a full list of redirects.

Example usage

  • {{flag|Bahamas/sandbox}} → Bahamas/sandbox
  • {{flag icon|Bahamas/sandbox}} → The Bahamas
  • {{flag country|Bahamas/sandbox}} →  Bahamas

Using a flag variant

  • {{flag|Bahamas/sandbox|colonial}} → Bahamas/sandbox
  • {{flag icon|Bahamas/sandbox|colonial}} → The Bahamas

Using a redirect alias

  • {{flag icon|BHS}} → The Bahamas
  • {{flag country|BHS}} →  Bahamas
  • {{flag|BHS}} → BHS

Military ensigns

This template includes a naval flag variant that can be used with Template:Naval:

  • {{naval|Bahamas/sandbox}} →  Royal Bahamas Defence Force
  • {{flag icon|Bahamas/sandbox|naval}} → The Bahamas

This template includes an ensign flag variant that can be used with Template:Navy:

  • {{navy|Bahamas/sandbox}} →  Royal Bahamas Defence Force
  • {{flag icon|Bahamas/sandbox|navy}} → The Bahamas

This template includes an army ensign flag variant that can be used with Template:Army:

  • {{army|Bahamas/sandbox}} →  Royal Bahamas Defence Force
  • {{flag icon|Bahamas/sandbox|army}} → The Bahamas



TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data Bahamas in articles based on its TemplateData.

TemplateData for Country data Bahamas

This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data Bahamas/sandbox. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please purge the cache after making any changes to this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Country_data_Bahamas/sandbox&oldid=1306896105"
Last edited on 20 August 2025, at 09:13

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 20 August 2025, at 09:13 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop