Templat:Country data SRI

Dari Wikipedia Bahasa Melayu, ensiklopedia bebas.

Template documentation

This is the documentation for Template:Country data SRI. It is automatically generated by Template:Country showdata (edit talk links history)

Template:Country data SRI is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others. For a more thorough discussion of the flag template system, including parameters not described here, please see Wikipedia:WikiProject Flag Template.

Please purge the cache after making any changes to this template.

Jadual isi kandungan

[Sunting] Standard parameters

Parameter name Value Meaning
alias Sri Lanka Main article name (Sri Lanka)
flag alias Flag of Sri Lanka.svg Image name (Image:Flag of Sri Lanka.svg, shown above right)

[Sunting] Flag variants

Label Flag image (40px) Image name
naval Naval Ensign of Sri Lanka.svg

[Sunting] 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
LKA (view) Templat:Country data LKA Bendera Sri Lanka Sri Lanka
SRI (view) Flag of Sri Lanka SRI [[Image:Templat:Country flag alias SRI|25x15px|Bendera Templat:Country alias SRI]] [[Templat:Country alias SRI]]

[Sunting] Example usage

  • {{flag|Sri Lanka}} → Templat:Country data Sri Lanka
  • {{flagicon|Sri Lanka}} → [[Image:Templat:Country flag alias Sri Lanka|22x20px|Templat:Country alias Sri Lanka]]
Using a flag variant
  • {{flag|Sri Lanka|naval}} → Templat:Country data Sri Lanka
  • {{flagicon|Sri Lanka|naval}} → [[Image:Templat:Country flag alias Sri Lanka|22x20px|Templat:Country alias Sri Lanka]]
Using a redirect alias
  • {{flagicon|LKA}}Sri Lanka
  • {{flagcountry|LKA}}Bendera Sri Lanka Sri Lanka
  • {{flag|LKA}} → Templat:Country data LKA

[Sunting] Related templates

Please see the following related country_data templates:

  • Template:Country data CeylonTemplat:Country data Ceylon