Template:Country data German Empire: Difference between revisions
Appearance
per edit request on talk page - include flag variant |
Deleatur yhe (talk | contribs) m 1 revision imported |
(No difference)
| |
Latest revision as of 16:18, 9 September 2026
| This template is used on approximately 5,700 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 German Empire 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 |
German Empire |
Main article name (German Empire) |
shortname alias |
Germany |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of the German Empire.svg |
Image name (File:Flag of the German Empire.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
naval | War Ensign of Germany 1903-1918.svg | |
navy | War Ensign of Germany 1903-1918.svg | |
army | War Ensign of Germany 1903-1918.svg |
Example usage
{{flag|German Empire}}→
German Empire{{flag icon|German Empire}}→
{{flag country|German Empire}}→
Germany
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|German Empire}}→
Imperial German Navy{{flag icon|German Empire|naval}}→
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|German Empire}}→
Luftstreitkräfte
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|German Empire}}→
Imperial German Navy{{flag icon|German Empire|navy}}→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|German Empire}}→
Imperial German Army{{flag icon|German Empire|army}}→
Related templates
Please see the following related country_data templates:
- Template:Country data Germany
Germany - Template:Country data Weimar Republic
Weimar Republic - Template:Country data Nazi Germany
Nazi Germany
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 German Empire in articles based on its TemplateData.
TemplateData for Country data German Empire
<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>