Template:Flag: Difference between revisions
Jump to navigation
Jump to search
m (Add missing flags from main page country listing) |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 52: | Line 52: | ||
| Huilcasonco = Chaska Flag.png | | Huilcasonco = Chaska Flag.png | ||
| Ilhuiyoco = Ilhuiyoco Banner.png | | Ilhuiyoco = Ilhuiyoco Banner.png | ||
| Tsuki Integrality = Tsuki Flag.png | | Tsuki Integrality = Tsuki Flag.png | ||
<!-- Subdivisions --> | <!-- Subdivisions --> | ||
<!-- Vittmark --> | <!-- Vittmark --> | ||
| Ådalen = AdelenFlag.png | | Ådalen = AdelenFlag.png | ||
| Austland West Hagen = AWHflag.png | |||
| Mellersta Haga = MellerstaFlag.png | | Mellersta Haga = MellerstaFlag.png | ||
| Kulla Crown Domain = KullaFlag.png | |||
| Liden = LidenFlag.png | |||
| Östervallen = OVflag.png | |||
| Sörmark = Sormarkflag.png | |||
{!-- Other entities--> | {!-- Other entities--> | ||
| Die Eintracht = Eintracht flag.png | |||
| Gold Exchange Mechanism = GEM flag.png | | Gold Exchange Mechanism = GEM flag.png | ||
| ICoN = Icon Nations flag.png | | ICoN = Icon Nations flag.png | ||
Line 69: | Line 73: | ||
| Thultannian Union = Thul-union-flag.png | | Thultannian Union = Thul-union-flag.png | ||
| Triarchy = Triarchy flag.png | | Triarchy = Triarchy flag.png | ||
| Unitary Games = Ugames flag.png | |||
<!-- Default --> | <!-- Default --> | ||
| Flag placeholder.png | | Flag placeholder.png | ||
}}| {{{size|25px}}}]] [[{{{1}}}|{{{display|{{{1}}}}}}]]</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude> | }}| {{{size|25px}}}]] [[{{{1}}}|{{{display|{{{1}}}}}}]]</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude> |
Latest revision as of 04:37, 15 November 2024
Template documentation
The {{flag}} template displays a flag icon before a wiki-linked country name.
Usage
{{flag|1|size|display}}
Parameters
Parameter | Description | Type | Status |
---|---|---|---|
1 |
Country name (should match the country's article name) | String | Required |
size |
Image size, e.g. 30px . Defaults to 25px |
String | Optional |
display |
Text to display. Defaults to the value of 1 |
String | Optional |
Examples
Wiki markup | Displays | Notes |
---|---|---|
{{flag|Anat Tahan}} |
Anat Tahan | |
{{flag|Hergom ep swekorwos|display=Hergom}} |
Hergom | Different text can be displayed in place of the country name. |
{{flag|Tianji}} |
Tianji | If a country doesn't have a flag image, a placeholder is used so the country name lines up with others in a list. |
{{flag|Cassia|size=40px}} |
Cassia | The flag image size can use any standard wiki image size markup. |
Supported flags
Currently supported flags | |||
---|---|---|---|
Current countries | Historic countries | Subdivisions | Other entities |
|
|
|
|
To add a flag to the template, edit it and add the following on its own line within the appropriate section (demarked by <!-- -->
tags) and proper alphabetical location:
| countryname = flagfilename
Be sure to change countryname to the name of the article for the country and flagfilename to the name of the country's flag image file. For example:
| Bule = Bule-flag.png