Template:Flag

From Yugipedia
Revision as of 19:49, 15 June 2018 by Dinoguy1000 (talk | contribs) (there aren't any uploaded PNG or JPEG flag images named "Flag of *x*"; add see also to a S:PrefixIndex listing of all flags uploaded that this template will find)
Jump to: navigation, search

{{{1}}}

{{Flag}} outputs the flag for a country for use around the wiki.

Usage

{{Flag|name}}
  • name is the name of the country whose flag should be displayed, if a [[File:Flag of name.svg]] or [[File:Flag of the name.svg]] exists it will be displayed. If no image of the flag has been uploaded, the name will be output as plaintext instead.
  • short name can be a shortened version, such as a 2 letter version of the name, this will override name if there is no image.
  • size the default image size is 20px but you can change it with this parameter.
  • caption the default image caption is name but you can change it with this parameter.

See also