Appearance
Template:Country data Kingdom of Bavaria 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 |
Kingdom of Bavaria |
Main article name (Kingdom of Bavaria) |
shortname alias |
Bavaria |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Bavaria (striped).svg |
Image name (File:Flag of Bavaria (striped).svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
lozengy | Flag of Bavaria (lozengy).svg |
Example usage
{{flag|Kingdom of Bavaria}}→
Kingdom of Bavaria{{flag icon|Kingdom of Bavaria}}→
{{flag country|Kingdom of Bavaria}}→
Bavaria
Using a flag variant
{{flag|Kingdom of Bavaria|lozengy}}→
Kingdom of Bavaria{{flag icon|Kingdom of Bavaria|lozengy}}→
Military ensigns
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Kingdom of Bavaria}}→
Bavarian Army
Related templates
Please see the following related country_data templates:
- Template:Country data Bavaria
Bavaria - Template:Country data Electorate of Bavaria
Electorate of Bavaria
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 Kingdom of Bavaria in articles based on its TemplateData.
TemplateData for Country data Kingdom of Bavaria
<templatedata> {
"description": "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.",
"params": {}
} </templatedata>