Jump to content

Template:Flagu

From Blunt Wiki

Shows a country's flag followed by its name without a link (flag + unlinked). Use it where the country name should not be linked again – for example in long tables, lists of nationalities, or when the country has already been linked nearby. Works without Lua/Scribunto; uses Template:Country name for names and flag files.

Comparison

Template Code Result
Template:Flag icon {{Flag icon|India}}
Template:Flag {{Flag|India}}  India


Flagu {{Flagu|India}}  India

Examples

Code Result
{{Flagu|IND}}  India
{{Flagu|USA}}  United States
{{Flagu|UK|name=Britain}}  Britain
{{Flagu|Nepal|border=no}}  Nepal
{{Flagu|India|link=no}}  India

Parameters

  • 1 (required): country name, alias or ISO code, e.g. India, IN, IND, USA, UK, UAE.
  • 2 (optional): page the flag image links to, instead of the country article.
  • name: text to show instead of the standard country name. Not linked.
  • link: no = the flag image is not linked either; or a page name for the flag image.
  • size: image size, default 23x15px.
  • border: no removes the thin border (use for Nepal).
  • file: use a specific flag file, e.g. Flag of India (1931).svg.
  • alt: alt text for screen readers.

The country name is never linked. To link the name, use Template:Flag.

TemplateData

Shows a flag icon followed by the country name, not linked.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Country1

Country name, alias or ISO code, e.g. India, IN, IND.

Linerequired
Flag link target2

Page the flag image links to, instead of the country article.

Page nameoptional
Display namename

Text shown instead of the country name.

Lineoptional
Flag linklink

no = flag image not linked, or a page name.

Lineoptional
Sizesize

no description

Default
23x15px
Lineoptional
Borderborder

no = no border.

Suggested values
no
Lineoptional
Flag filefile

no description

Fileoptional
Alt textalt

no description

Lineoptional