Template:Country data Sri Lanka
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. |
Contents
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Sri Lanka
| Main article name (Sri Lanka) |
flag alias |
Flag of Sri Lanka.svg |
Image name (File:Flag of Sri Lanka.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
naval | 40px | Naval Ensign of Sri Lanka.svg |
air force | 40px | Air Force Ensign of Sri Lanka.svg |
army | 40px | Flag 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}}→ 23x20px Sri Lanka Navy{{flagicon|Sri Lanka|naval}}→ 23x15px
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Sri Lanka}}→ 23x15px Sri Lanka Air Force{{flagicon|Sri Lanka|air force}}→ 23x15px
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Sri Lanka}}→ 23x17px Sri Lanka Army{{flagicon|Sri Lanka|army}}→ 23x15px
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) | File:Flag of Sri Lanka.svg Sri Lanka | |
SRI (view) | File:Flag of Sri Lanka.svg SRI | File:Flag of Sri Lanka.svg Sri Lanka |
See What links here for a full list of redirects.
Example usage
{{flag|Sri Lanka}}→ File:Flag of Sri Lanka.svg Sri Lanka{{flagicon|Sri Lanka}}→ File:Flag of Sri Lanka.svg
Using a redirect alias
{{flagicon|LKA}}→ File:Flag of Sri Lanka.svg{{flagcountry|LKA}}→ File:Flag of Sri Lanka.svg Sri Lanka{{flag|LKA}}→ File:Flag of Sri Lanka.svg LKA
Related templates
Please see the following related country_data templates:
TemplateData
TemplateData for Country data Sri Lanka
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.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
| This is the documentation for Template:Country data Sri Lanka. It is automatically generated by Template:Country showdata. Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please Script error: No such module "Purge". after making any changes to this template. This template has a /doc subpage for the purposes of categories and documentation specific to this template. |