Template:Country data Latvia: Difference between revisions
Jump to navigation
Jump to search
Template documentation
m (no longer required - High use template is now in the documentation) |
m (1 revision imported) |
Latest revision as of 13:57, 22 December 2023
| This template is used on approximately 25,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. |
Template:Country data Latvia 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. |
Error creating thumbnail:
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Latvia
| Main article name (Latvia) |
flag alias |
Flag of Latvia.svg |
Image name (File:Flag of Latvia.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
naval | File:Naval Ensign of Latvia.svg | Naval Ensign of Latvia.svg |
navy | File:Naval Ensign of Latvia.svg | Naval Ensign of Latvia.svg |
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 |
|---|---|---|
LVA (view) | Template:Country data LVA | Template:Country data LVA |
LAT (view) | Template:Country data LAT | Template:Country data LAT |
See What links here for a full list of redirects.
Example usage
{{flag|Latvia}}→
Latvia{{flagicon|Latvia}}→
Using a redirect alias
{{flagicon|LVA}}→ Template:Country data LVA{{flagcountry|LVA}}→ Template:Country data LVA{{flag|LVA}}→ Template:Country data LVA
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Latvia}}→ Template:Naval{{flagicon|Latvia|naval}}→ File:Naval Ensign of Latvia.svgTemplate:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Latvia}}→ Template:Navy{{flagicon|Latvia|navy}}→ File:Naval Ensign of Latvia.svgTemplate:Break
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Latvia}}→ Template:Army
Related templates
Please see the following related country_data templates:
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data Latvia in articles based on its TemplateData.
TemplateData for Country data Latvia
<templatedata> {
"description": "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.",
"params": {}
} </templatedata>