Template:Country data Sri Lanka: Difference between revisions
meta>Illegitimate Barrister No edit summary |
meta>CommonsDelinker Replacing Ensign_of_the_Sri_Lanka_Air_Force.svg with File:Air_Force_Ensign_of_Sri_Lanka.svg (by CommonsDelinker because: File renamed: #4 Standardise a set of images.). |
||
| Line 4: | Line 4: | ||
| flag alias-army=Flag of the Sri Lankan Army.png | | flag alias-army=Flag of the Sri Lankan Army.png | ||
| link alias-army=Sri Lanka Army | | link alias-army=Sri Lanka Army | ||
| flag alias-air force=Ensign of | | flag alias-air force=Air Force Ensign of Sri Lanka.svg | ||
| link alias-air force=Sri Lanka Air Force | | link alias-air force=Sri Lanka Air Force | ||
| flag alias-naval = Naval Ensign of Sri Lanka.svg | | flag alias-naval = Naval Ensign of Sri Lanka.svg | ||
Revision as of 14:21, 8 April 2017
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.

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 | Naval Ensign of Sri Lanka.svg | |
air force | Air Force Ensign of Sri Lanka.svg | |
army | 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}}→
Sri Lanka Navy{{Flagicon|Sri Lanka|naval}}→
This template includes an air force ensign flag variant that can be used with Template:Air force:{{Air force|Sri Lanka}}→
Sri Lanka Air Force{{Flagicon|Sri Lanka|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}}→
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) | ||
SRI (view) |
See What links here for a full list of redirects.
Example usage
{{Flag|Sri Lanka}}→
Sri Lanka{{Flagicon|Sri Lanka}}→
Using a redirect alias
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 | ||||||