Template:Flag/doc: Difference between revisions
Appearance
Jaspattack (talk | contribs) No edit summary |
m Removing the TemplateDocStart template from documentation for formatting purposes. |
||
| Line 1: | Line 1: | ||
The '''Flag''' template is used to generate a flag. | The '''Flag''' template is used to generate a flag. | ||
Latest revision as of 00:30, 6 August 2020
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 tononeto 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}}
|