Template:Flag

From Dota 2 Wiki
Jump to: navigation, search

Documentation for Template:Flag [ edit | purge ]

Lua logo.svg
▶️ Swapsies!
This template uses Lua.
Its code can be found under Module:Flag.


This template is used to display the flag associated with a country or territory.

Examples[edit]

United Kingdom {{Flag|United Kingdom}}

United States {{Flag|US|x26px}}

Sweden Sweden {{Flag|Sweden|name=yes}}

TemplateData[edit]

Display a countries flag.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Country1

no description

Default
World
Example
Sweden
Auto value
empty
Stringsuggested
Size2

The flag's size.

Default
25px
Example
20px
Auto value
empty
Stringoptional
Namename

Whether or not to display the countries name next to the flag.

Default
empty
Example
empty
Auto value
empty
Booleanoptional