Difference between revisions of "Template:Flag"
(Undo revision 118474 by BobaTeaTastesGood (talk) - ensures longevity of wikicode) (Tag: Undo) |
|||
(One intermediate revision by one other user not shown) | |||
Line 30: | Line 30: | ||
|MN=FlagOfMinnesota.png | |MN=FlagOfMinnesota.png | ||
|MO=FlagOfMissouri.png | |MO=FlagOfMissouri.png | ||
− | |MS= | + | |MS=FlagOfMississippi.jpg |
|MT=FlagOfMontana.png | |MT=FlagOfMontana.png | ||
|NE=FlagOfNebraska.gif | |NE=FlagOfNebraska.gif | ||
Line 86: | Line 86: | ||
|Minnesota=FlagOfMinnesota.png | |Minnesota=FlagOfMinnesota.png | ||
|Missouri=FlagOfMissouri.png | |Missouri=FlagOfMissouri.png | ||
− | |Mississippi= | + | |Mississippi=FlagOfMississippi.jpg |
|Montana=FlagOfMontana.png | |Montana=FlagOfMontana.png | ||
|Nebraska=FlagOfNebraska.gif | |Nebraska=FlagOfNebraska.gif |
Latest revision as of 04:20, 5 November 2020
[[File: Error: Flag not found |border|23px|link=]]
The Flag template is used to generate a flag.
Contents
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 tonone
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 |
---|---|---|
![]() |
CAN , Canada
|
Canada |
![]() |
FRA , France
|
France |
![]() |
ITA , Italy
|
Italy |
![]() |
JPN , Japan
|
Japan |
![]() |
PER , Peru
|
Peru |
Available Pride Flags
Flag | Aliases | Default Link |
---|---|---|
![]() |
LGBT , Gay
|
LGBT |
![]() |
Lesbian
|
Lesbian |
![]() |
Bisexual , Bi
|
Bisexuality |
![]() |
Asexual , Ace
|
Asexuality |
![]() |
Nonbinary , NB , Enby
|
Non-binary gender |
![]() |
Pansexual , Pan
|
Pansexuality |
![]() |
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 |
![]() |
{{Flag|PER|link=none}} Peru |
![]() |
{{Flag|Washington|link=User:Bernard}} |
![]() |
The above documentation is transcluded from Template:Flag/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |