Template:Country data Singapore

From Sekami
Jump to navigation Jump to search
Documentation icon Template documentation

Template:Country data Singapore is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Flag of Singapore.svg

Standard parameters

Parameter nameValueMeaning
alias Singapore Main article name (Singapore)
flag alias Flag of Singapore.svg Image name (File:Flag of Singapore.svg, shown above right)

Flag variants

LabelFlag image (40px)Image name
colonialFlag of Singapore (1946–1952).svgFlag of Singapore (1946-1959).svg
civilCivil Ensign of Singapore.svgCivil Ensign of Singapore.svg
navalNaval Ensign of Singapore.svgNaval Ensign of Singapore.svg

Military ensigns

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

  • {{navy|Expression error: Unexpected < operator.}}Template:Navy
  • {{flagicon|Expression error: Unexpected < operator.|naval}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=naval|size=}}

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):
Alias nameTemplate:Tlx outputTemplate:Tlx output
SGP (view)Template:Country data SGPTemplate:Flagcountry
SIN (view)Template:Country data SINTemplate:Flagcountry

Example usage

  • {{flag|Expression error: Unexpected < operator.}} → {{country data Expression error: Unexpected < operator.|flag/core|name=Expression error: Unexpected < operator.|variant=|size=}}
  • {{flagicon|Expression error: Unexpected < operator.}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=|size=}}

Using a flag variant

  • {{flag|Expression error: Unexpected < operator.|colonial}} → {{country data Expression error: Unexpected < operator.|flag/core|name=Expression error: Unexpected < operator.|variant=colonial|size=}}
  • {{flagicon|Expression error: Unexpected < operator.|colonial}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=colonial|size=}}

Using a redirect alias