Template:ListFlag/doc

< Template:ListFlag

Lua error in package.lua at line 80: module 'Module:Uses TemplateStyles/config' not found. This template is used to display a flag in a table, especially for flag lists, and improve the display of flag where standard image syntax is either not possible. On mobile devices, this template will prevent the image from being resized to smaller size.

Syntax

<syntaxhighlight>size</syntaxhighlight> The first parameter should be any flag file name without File: prefix (default: Flag of None.svg), the second parameter is used to specify image size (default: 100x100px), the |border= parameter can be used to cancel the border, the |checker= parameter can be used to generate a checkered background to indicate transparency, which appears when the cursor is hovered over the image, or long press the image on touch screen.

The alternative text can be added with |alt= parameter or |title= parameter (with a tooltip).

Examples

<syntaxhighlight>

Flag of Denmark.svg Flag of Ohio.svg Page Template:ListFlag/styles.css has no content.Bowman Flag.svg

</syntaxhighlight>

Flag of Denmark.svg Flag of Ohio.svg Page Template:ListFlag/styles.css has no content.Bowman Flag.svg