Difference between revisions of "Template:Country data Denmark/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Illegitimate Barrister
imported>Illegitimate Barrister
(Undid revision 902645846 by Illegitimate Barrister (talk))
 
Line 11: Line 11:
 
| link alias-air force = Royal Danish Air Force
 
| link alias-air force = Royal Danish Air Force
 
| flag alias-air force = Flag of Denmark (state).svg
 
| flag alias-air force = Flag of Denmark (state).svg
| size = 23px
+
| size = {{{size|23px}}}
 
| name = {{{name|}}}
 
| name = {{{name|}}}
 
| altlink = {{{altlink|}}}
 
| altlink = {{{altlink|}}}

Latest revision as of 08:26, 20 June 2019

Template documentation

Template:Country data Denmark/sandbox is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Flag of Denmark.svg

Standard parameters

Parameter nameValueMeaning
alias Denmark Main article name (Denmark)
flag alias Flag of Denmark.svg Image name (File:Flag of Denmark.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
stateFlag of Denmark (state).svgFlag of Denmark (state).svg
navalNaval Ensign of Denmark.svgNaval Ensign of Denmark.svg
air forceFlag of Denmark (state).svgFlag of Denmark (state).svg
armyFlag of Denmark (state).svgFlag of Denmark (state).svg

Military ensigns

This template includes a naval ensign flag variant that can be used with Template:Navy:

This template includes an air force ensign flag variant that can be used with Template:Air force:

This template includes an army ensign flag variant that can be used with Template:Army:

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
DNK (view)File:Flag of Denmark.svg DNKFile:Flag of Denmark.svg Denmark
DEN (view)File:Flag of Denmark.svg DENFile:Flag of Denmark.svg Denmark
Kingdom of Denmark (view)File:Flag of Denmark (state).svg Kingdom of DenmarkFile:Flag of Denmark (state).svg Denmark

See What links here for a full list of redirects.

Example usage

  • {{flag|Denmark/sandbox}} Denmark/sandbox
  • {{flagicon|Denmark/sandbox}}Denmark

Using a flag variant

  • {{flag|Denmark/sandbox|state}} Denmark/sandbox
  • {{flagicon|Denmark/sandbox|state}}Denmark

Using a redirect alias

  • {{flagicon|DNK}}Denmark
  • {{flagcountry|DNK}} Denmark
  • {{flag|DNK}} DNK


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Country data Denmark

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