Template:Flagfull

From Hattrick
Revision as of 01:32, 24 January 2020 by Para Para (talk | contribs) (Created page with "<noinclude><div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;"> ==Description== Displays a flag of the named paramete...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Displays a flag of the named parameter in "icon" size, currently 100 pixels height plus a 1 pixel border. The image also has an alt attribute (usually "Flag of name"), which is displayed when hovering the image.

Usage

{{flagfull|name|showlink|size=|altlink=}}

name
The first parameter is mandatory, and identifies the name of the country, region, city, etc. A full list of available parameters can be found in Category:Country data templates. For example, Template:Country data Polska is used when the name parameter is specified as Polska.
showlink (or variant=showlink)
Displays a text link after the flag.
size
This parameter is optional, and is used to specify the maximum width and/or height of the flag image. This parameter is specified using standard image syntax.
altlink
This parameter is optional, and is used to link the flag into an article.

[[File:{{{flag full}}}|100px|border|alt=|link=]]