Template:Country data Germany

Template documentation[ purge]

Template:Country data Germany is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{flag}}, {{flagcountry}}, and others.

Category:Main message boxes
See also: Flag of Germany

Standard parameters

Parameter nameValueMeaning
aliasGermanyMain article name (Germany)
flag aliasFlag of Germany.svgImage name (File:Flag of Germany.svg, shown on right)

Flag variants

For more details on this topic, see Flag of Germany.

These variants cannot be used unless the line | variant = {{{variant|}}} is added to this template.

LabelFlag image (40px)Image name
1866Flag of the German Empire.svg
empireFlag of the German Empire.svg
1919Flag of Germany (3-2 aspect ratio).svg
Weimar[[File:{{{flag alias-Weimar}}}|40px|border]]{{{flag alias-Weimar}}}
1933Flag of Germany (1933-1935).svg
1935Flag of Germany (1935–1945).svg
Nazi[[File:{{{flag alias-Nazi}}}|40px|border]]{{{flag alias-Nazi}}}
1946Merchant flag of Germany (1946–1949).svg
1949Flag of Germany.svg
EUA[[File:{{{flag alias-EUA}}}|40px|border]]{{{flag alias-EUA}}}
goldFlag of West Germany; Flag of Germany (1990–1996).svg
stateFlag of Germany (state).svg
navalNaval Ensign of Germany.svg
coast guardGerman Federal Coast Guard racing stripe.svg
navyNaval Ensign of Germany.svg
air forceFlag of Germany (state).svg
armyColour of Germany.svg

Military ensigns

This template includes a naval ensign flag variant that can be used with {{naval ensign}}:

  • {{naval ensign|Germany}} German Navy
  • {{flagicon3|Germany|naval}}Germany

This template includes an air force ensign flag variant that can be used with {{air force flag}}:

  • {{air force flag|Germany}} German Air Force
  • {{flagicon3|Germany|air force}}Germany

This nation's military ensign is the same as its national flag, so {{armed forces}} produces the following:

This template includes a navy flag variant that can be used with {{navy}}:

  • {{navy|Germany}} German Navy
  • {{flagicon3|Germany|navy}}Germany

This template includes a coast guard ensign flag variant that can be used with {{coast guard}}:

This template includes an army ensign flag variant that can be used with {{army}}:

  • {{army|Germany}}Template:Army
  • {{flagicon3|Germany|army}}Germany

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
DEU (view) DEU Germany
GER (view) GER Germany

See What links here for a full list of redirects.

Example usage

  • {{flag|Germany}} Germany
  • {{flagicon3|Germany}}Germany

Using a flag variant

  • {{flag|Germany|1866}} Germany
  • {{flagicon3|Germany|1866}}Germany

Using a redirect alias

  • {{flag|DEU}} DEU
  • {{flagicon3|DEU}}Germany
  • {{flagcountry|DEU}} Germany

Please see the following related country_data templates:

Other information

Country_data templates are also available for each of the sixteen States of Germany:

Template:Country data Baden-WürttembergTemplate:Country data Baden-Württemberg
Template:Country data BavariaTemplate:Country data Bavaria
Template:Country data BerlinTemplate:Country data Berlin
Template:Country data BrandenburgTemplate:Country data Brandenburg
Template:Country data BremenTemplate:Country data Bremen
Template:Country data HamburgTemplate:Country data Hamburg
Template:Country data HesseTemplate:Country data Hesse
Template:Country data Lower SaxonyTemplate:Country data Lower Saxony
Template:Country data Mecklenburg-VorpommernTemplate:Country data Mecklenburg-Vorpommern
Template:Country data North Rhine-WestphaliaTemplate:Country data North Rhine-Westphalia
Template:Country data Rhineland-PalatinateTemplate:Country data Rhineland-Palatinate
Template:Country data SaarlandTemplate:Country data Saarland
Template:Country data SaxonyTemplate:Country data Saxony
Template:Country data Saxony-AnhaltTemplate:Country data Saxony-Anhalt
Template:Country data Schleswig-HolsteinTemplate:Country data Schleswig-Holstein
Template:Country data ThuringiaTemplate:Country data Thuringia
Category:Country data templates of countries#Germany Category:Country data templates of Germany#%20

TemplateData

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Category:Templates using TemplateData

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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified
Category:Country data templates with documentation subpage#GermanyCategory:All country data templates#Germany
Category:All country data templates Category:Country data templates of Germany Category:Country data templates of countries Category:Country data templates with documentation subpage Category:Main message boxes Category:Templates using TemplateData