Jump to content

Template:Flag

 [[|]]

Template documentation[create]

Generates a country flag image with various customization options

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Country code1

The name of the country

Stringrequired
Flag namename

Name of the flag variant to display

Stringoptional
Variantvariant

Specific variant of the flag to display

Stringoptional
Alternative link textaltlink

Text to display when hovering over the flag

Stringoptional
Image sizesize

Size of the flag image in pixels

Numberoptional