Template:Flag: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 7: Line 7:
| Cassia = Cassian_flag.png
| Cassia = Cassian_flag.png
| Chaska = Chaska Flag.png
| Chaska = Chaska Flag.png
| Ephesus = Ephesus-flag.png
| Grunland = Grunland Flag.png
| Grunland = Grunland Flag.png
| Halland = Hallishflag.png
| Halland = Hallishflag.png
Line 27: Line 26:
| Yanwen = Yanwen Flag.png
| Yanwen = Yanwen Flag.png
| Anisoran Empire = Flag of Anisora.png
| Anisoran Empire = Flag of Anisora.png
| Dhonowolgos = Dhonowlgosc_Flag.png
| Dhonowlgos = Dhonowlgosc_Flag.png
| Ilhuiyoco = Ilhuiyoco Banner.png
| Ilhuiyoco = Ilhuiyoco Banner.png
| The Bind = Bind-flag.png
| The Bind = Bind-flag.png

Revision as of 20:36, 9 October 2023

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.