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 prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Country1

no description

Default
World
Example
Sweden
Stringsuggested
Size2

The flag's size.

Default
25px
Example
20px
Stringoptional
Namename

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

Booleanoptional