Template:Flaglogo: Difference between revisions
From Hattrick
Jump to navigationJump to search
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..." |
No edit summary |
||
| Line 11: | Line 11: | ||
| country flag logo | | country flag logo | ||
| size={{{size|}}} | | size={{{size|}}} | ||
| link={{{link|}}} | |||
}} | }} | ||
Revision as of 17:18, 4 May 2020
Description
Displays a flag of the named parameter in "icon" size, currently 200x224 pixels. The image also has an alt attribute (usually "National team name"), which is displayed when hovering the image.
Usage
{{flaglogo|name|size=|link=}}
- 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. - 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.
- link
- This parameter is optional, and is used to link the flag into an article.