Template:Country data Latvia: Difference between revisions
imported>Supersteef2000 m (1 revision imported from wikipedia:en:Template:Country_data_Latvia) |
(add navy variant) |
||
| Line 5: | Line 5: | ||
| link alias-naval = Latvian Naval Forces | | link alias-naval = Latvian Naval Forces | ||
| link alias-army = Latvian Land Forces | | link alias-army = Latvian Land Forces | ||
| flag alias-navy = Naval Ensign of Latvia.svg | |||
| link alias-navy = Latvian Naval Forces | |||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
Revision as of 00:25, 24 January 2022
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.
| File:Information icon4.svg | 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 |
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}}→ File:Flag of Latvia.svg Latvia{{flagicon|Latvia}}→ File:Flag of Latvia.svg
Using a redirect alias
{{flagicon|LVA}}→ Template:Country data LVATemplate:Namespace detect showall{{flagcountry|LVA}}→ Template:Country data LVA{{flag|LVA}}→ Template:Country data LVA
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Naval:
{{naval|Latvia}}→ Template:Naval{{flagicon|Latvia|naval}}→ File:Naval Ensign of Latvia.svg
This template includes a navy flag variant that can be used with Template:Navy:
{{navy|Latvia}}→ Template:Navy{{flagicon|Latvia|navy}}→ File:Naval Ensign of Latvia.svg
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
TemplateData for Country data Latvia
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 | ||||||