Template documentation

This is the documentation for Template:Country data Sri Lanka. It is automatically generated by Template:Country showdata

Template:Country data Sri Lanka is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, 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.

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

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)

Flag variants

LabelFlag image (40px)Image name
navalNaval Ensign of Sri Lanka.svg
air forceAir Force Ensign of Sri Lanka.svg
armyFlag of the Sri Lankan Army.png

Military ensigns

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

  • {{navy|Sri Lanka}}Sri Lanka, flamuri ushtarak. Sri Lanka
  • {{flagicon|Sri Lanka|naval}}Sri Lanka

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

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

  • {{army|Sri Lanka}} Sri Lanka Army
  • {{flagicon|Sri Lanka|army}}Sri Lanka

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)Stampa:Country data LKAStampa:Country data LKA
SRI (view)Stampa:Country data SRIStampa:Country data SRI

Example usage

  • {{flag|Sri Lanka}} Sri Lanka
  • {{flagicon|Sri Lanka}}Sri Lanka
Using a redirect alias

Please see the following related country_data templates: