Template:Country data Germany: Difference between revisions
wp>Paine Ellsworth per edit request on talk page - include military armed forces link alias |
RandomUser34 (talk | contribs) m 1 revision imported |
||
(No difference)
| |||
Latest revision as of 04:51, 15 February 2026
| This template is used on approximately 293,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Template:Country data Germany 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 |
Germany |
Main article name (Germany) |
flag alias |
Flag of Germany.svg |
Image name (File:Flag of Germany.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
1866 | Flag of the German Empire.svg | |
empire | Flag of the German Empire.svg | |
1919 | Flag of Germany (3-2 aspect ratio).svg | |
Weimar | Flag of Germany (3-2 aspect ratio).svg | |
1933 | Flag of Germany (1933-1935).svg | |
1935 | Flag of Germany (1935–1945).svg | |
Nazi | Flag of Germany (1935–1945).svg | |
1946 | Merchant flag of Germany (1946–1949).svg | |
1949 | Error creating thumbnail: | Flag of Germany.svg |
EUA | File:German Olympic flag (1959-1968).svg | German Olympic flag (1959-1968).svg |
gold | File:Flag of West Germany; Flag of Germany (1990–1996).svg | Flag of West Germany; Flag of Germany (1990–1996).svg |
state | File:Flag of Germany (state).svg | Flag of Germany (state).svg |
naval | File:Naval Ensign of Germany.svg | Naval Ensign of Germany.svg |
coast guard | File:German Federal Coast Guard racing stripe.svg | German Federal Coast Guard racing stripe.svg |
navy | File:Naval Ensign of Germany.svg | Naval Ensign of Germany.svg |
air force | File:Flag of Germany (state).svg | Flag of Germany (state).svg |
army | File:Colour of Germany.svg | Colour of Germany.svg |
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
DEU (view) | Template:Country data DEU | Template:Country data DEU |
GER (view) | Template:Country data GER | Template:Country data GER |
See What links here for a full list of redirects.
Example usage
{{flag|Germany}}→ Error creating thumbnail: Germany{{flag icon|Germany}}→ Error creating thumbnail:
Using a flag variant
{{flag|Germany|1866}}→ Error creating thumbnail: Germany{{flag icon|Germany|1866}}→ Error creating thumbnail:
Using a redirect alias
{{flag icon|DEU}}→ Template:Country data DEUTemplate:Namespace detect showall{{flag country|DEU}}→ Template:Country data DEU{{flag|DEU}}→ Template:Country data DEU
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Germany}}→ Template:Naval{{flag icon|Germany|naval}}→ GermanyTemplate:Break
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Germany}}→ Template:Air force{{flag icon|Germany|air force}}→ GermanyTemplate:Break
This nation's military ensign is the same as its national flag, so Template: Armed forces produces the following:
{{Armed forces|Germany}}→ Template:Armed forcesTemplate:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Germany}}→ Template:Navy{{flag icon|Germany|navy}}→ GermanyTemplate:Break
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Germany}}→ Template:Coast guard{{flag icon|Germany|coast guard}}→ GermanyTemplate:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Germany}}→ Template:Army{{flag icon|Germany|army}}→ Germany
Related templates
Please see the following related country_data templates:
- Template:Country data German EmpireTemplate:Country data German Empire
- Template:Country data Weimar RepublicTemplate:Country data Weimar Republic
- Template:Country data Nazi GermanyTemplate:Country data Nazi Germany
- Template:Country data Allied-occupied GermanyTemplate:Country data Allied-occupied Germany
- Template:Country data East GermanyTemplate:Country data East Germany
- Template:Country data West GermanyTemplate:Country data West Germany
TemplateData
TemplateData for Country data Germany
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 | ||||||