Template:Country data Malaysia

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

Template:Country data Malaysia 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 Malaysia.svg

Standard parameters

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

Flag variants

LabelFlag image (40px)Image name
1895Flag of Malaya (1896–1950).svgFlag of the Federated Malay States (1895 - 1946).svg
1948Flag of Malaya.svgFlag of Malaya.svg
navalNaval Ensign of Malaysia.svgNaval Ensign of Malaysia.svg
air forceAir Force Ensign of Malaysia.svgRoyal Malaysian Air Force Flag.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=}}

This template includes an air force ensign flag variant that can be used with Template:Air force:

  • {{air force|Expression error: Unexpected < operator.}}Template:Air force
  • {{flagicon|Expression error: Unexpected < operator.|air force}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=air force|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
MYS (view)Template:Country data MYSTemplate:Flagcountry
MAS (view)Template:Country data MASTemplate: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.|1895}} → {{country data Expression error: Unexpected < operator.|flag/core|name=Expression error: Unexpected < operator.|variant=1895|size=}}
  • {{flagicon|Expression error: Unexpected < operator.|1895}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=1895|size=}}

Using a redirect alias

Related templates

Please see the following related country_data templates: