Template:Country data Cambodia

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
Template documentation
Error creating thumbnail: /bin/bash: line 1: rsvg-convert: command not found

Standard parameters

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

Flag variants

LabelFlag image (40px)Image name
186340pxFlag of Cambodia under French protection.svg
194240pxFlag of Cambodia under Japanese occupation.svg
197040pxFlag of the Khmer Republic.svg
197540pxFlag of Democratic Kampuchea.svg
197940pxFlag of the People's Republic of Kampuchea.svg
198940pxFlag of the State of Cambodia.svg
199240pxFlag of Cambodia under UNTAC.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{{flagcountry|alias}} output
KHM (view)Template:Country data KHMTemplate:Flagcountry
CAM (view)Template:Country data CAMTemplate:Flagcountry

See What links here for a full list of redirects.

Example usage

  • {{flag|{{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}}} → {{country data {{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}|flag/core|name={{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}|variant=|size=}}
  • {{flagicon|{{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}}} → {{country data {{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}|flagicon/core|variant=|size=}}

Using a flag variant

  • {{flag|{{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}|1863}} → {{country data {{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}|flag/core|name={{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}|variant=1863|size=}}
  • {{flagicon|{{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}|1863}} → {{country data {{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}|flagicon/core|variant=1863|size=}}

Using a redirect alias

Military ensigns

This nation's naval flag is the same as its national flag, so Template:Naval produces the following:

  • {{naval|{{#invoke:String|replace|Country data Cambodia|^%w+ data |||false}}}}Template:Naval



TemplateData

Template:TemplateData header <templatedata> {

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

} </templatedata>

sl:Predloga:Podatki države Kambodža