Template:Flag

From Scioly.org
Jump to: navigation, search

[[File: Error: Flag not found |border|23px|link=]]

Template:Flag - Documentation

The Flag template is used to generate a flag.

Parameters

1 - The Flag that you are attempting to generate (see below for available flags)
link - The wiki page the flag should be linked to. Defaults to the corresponding wiki page about the flag (note that this may be Wikipedia articles for non-state flags). Set to none to make the flag link nowhere.
width - please avoid using this parameter unless necessary - sets the width of the flag (consider simply using a reference to the flag itself (ex, [[File:Flag.svg|200px]])
height - please avoid using this parameter unless necessary - sets the height of the flag (consider simply using a reference to the flag itself (ex, [[File:Flag.svg|x200px]])

Available Flags

  • All state flags (ex, Florida)
  • Some country flags
  • Some pride flags

Available Country Flags

Flag Aliases Default Link
FlagOfCanada.svg CAN, Canada Canada
FlagOfFrance.svg FRA, France France
FlagOfItaly.svg ITA, Italy Italy
FlagOfJapan.svg JPN, Japan Japan
FlagOfPeru.svg PER, Peru Peru

Available Pride Flags

Flag Aliases Default Link
FlagLGBT.svg LGBT, Gay LGBT
FlagLesbian.svg Lesbian Lesbian
FlagBisexual.svg Bisexual, Bi Bisexuality
FlagAsexual.svg Asexual, Ace Asexuality
FlagNonbinary.svg Nonbinary, NB, Enby Non-binary gender
FlagPansexual.svg Pansexual, Pan Pansexuality
FlagTransgender.svg Transgender, Trans Transgender

If you would like another flag added, you are welcome to do so. Please upload it, add it to the template code, and update the template documentation. If you need help, please feel free to post to the talk page or message a wiki moderator.

Examples

Code Result
{{Flag|Trans}} Transgender
FlagTransgender.svg Transgender
{{Flag|PER|link=none}} Peru
FlagOfPeru.svg Peru
{{Flag|Washington|link=User:Bernard}}
FlagOfWashington.png