Template:Country data Sri Lanka: Difference between revisions
 (use AWB to add navy variant)  | 
			
(No difference) 
 | 
Revision as of 02:30, 24 January 2022
| This template is used on approximately 32,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. | 
| Notice |  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, flag icon, 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. | 
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 | File:Naval Ensign of Sri Lanka.svg | Naval Ensign of Sri Lanka.svg | 
navy | File:Naval Ensign of Sri Lanka.svg | Naval Ensign of Sri Lanka.svg | 
air force | File:Air Force Ensign of Sri Lanka.svg | Air Force Ensign of Sri Lanka.svg | 
army | File:Flag of the Sri Lankan Army.png | Flag of the Sri Lankan Army.png | 
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | {{flag|alias}} output | {{flag country|alias}} output | 
|---|---|---|
LKA (view) | Template:Country data LKA | Template:Country data LKA | 
SRI (view) | Template:Country data SRI | Template:Country data SRI | 
See What links here for a full list of redirects.
Example usage
{{flag|Sri Lanka}}→ File:Flag of Sri Lanka.svg Sri Lanka{{flag icon|Sri Lanka}}→ File:Flag of Sri Lanka.svg
Using a redirect alias
{{flag icon|LKA}}→ Template:Country data LKA{{flag country|LKA}}→ Template:Country data LKA{{flag|LKA}}→ Template:Country data LKA
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Sri Lanka}}→ Template:Naval{{flag icon|Sri Lanka|naval}}→ File:Naval Ensign of Sri Lanka.svg
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Sri Lanka}}→ File:Air Force Ensign of Sri Lanka.svg Sri Lanka Air Force{{flag icon|Sri Lanka|air force}}→ File:Air Force Ensign of Sri Lanka.svg
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Sri Lanka}}→ Template:Navy{{flag icon|Sri Lanka|navy}}→ File:Naval Ensign of Sri Lanka.svg
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Sri Lanka}}→ File:Flag of the Sri Lankan Army.png Sri Lanka Army{{flag icon|Sri Lanka|army}}→ File:Flag of the Sri Lankan Army.png
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:Flag icon. 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 | ||||||