Template:Flag: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{#switch: {{{1}}} | <includeonly>[[File:{{#switch: {{{1}}} | ||
| Aedeland = | <!-- Current countries --> | ||
| Aedeland = Aedeland flag.png | |||
| Anat Tahan = Anat Tahan Flag.png | | Anat Tahan = Anat Tahan Flag.png | ||
| Anisora = Flag of Anisora.png | | Anisora = Flag of Anisora.png | ||
Line 12: | Line 13: | ||
| Halland = Hallishflag.png | | Halland = Hallishflag.png | ||
| Helreich = Helreich Flag.png | | Helreich = Helreich Flag.png | ||
| Hergom ep swekorwos = | | Hergom = G9853.png | ||
| Hergom ep swekorwos = G9853.png | |||
| Ithrien = Ithrien flag.png | | Ithrien = Ithrien flag.png | ||
| Kamura = kamuran_flag_new_.png | | Kamura = kamuran_flag_new_.png | ||
Line 32: | Line 34: | ||
| Dhonowlgos = Dhonowlgosc_Flag.png | | Dhonowlgos = Dhonowlgosc_Flag.png | ||
| Ilhuiyoco = Ilhuiyoco Banner.png | | Ilhuiyoco = Ilhuiyoco Banner.png | ||
<!-- Historic countries --> | |||
| Anisoran Empire = Flag of Anisora.png | |||
| The Bind = Bind-flag.png | | The Bind = Bind-flag.png | ||
| Flag placeholder.png | | Flag placeholder.png |
Revision as of 06:41, 4 September 2024
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. |