Template:Flag/doc: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
(Created page with "<noinclude>{{docsub}}</noinclude> The '''<nowiki>{{flag}}</nowiki>''' template displays a flag icon before a wiki-linked country name. ==Usage== <code><nowiki>{{flag|</nowiki>''1''|''size''|''display''<nowiki>}}</nowiki></code> ==Parameters== {| class="wikitable" ! Parameter !! Description !! Type !! Status |- | <code>1</code> || Country name (should match the country's article name) || String || '''Required''' |- | <code>size</code> || Image size, e.g. <code>30px</cod...")
 
 
(6 intermediate revisions by the same user not shown)
Line 31: Line 31:
==Supported flags==
==Supported flags==
{| class="wikitable mw-collapsible mw-collapsed"
{| class="wikitable mw-collapsible mw-collapsed"
! Current countries !! Historic countries !! Subdivisions
! colspan="4" | Currently supported flags
|-
! Current countries !! Historic countries !! Subdivisions !! Other entities
|- valign="top"
|- valign="top"
|
|
* Aedeland
* Aedeland
* Alsair
* Anat Tahan
* Anat Tahan
* Anisora
* Anisora
* Ardar
* Arvor
* Arvor
* Auresia
* Auresia
Line 43: Line 47:
* Cassia
* Cassia
* Chaska
* Chaska
* Cladania
* East Lusavan
* East Lusavan
* Einhafen
* Gate of Light
* Gate of Light
* Grunland
* Grunland
Line 54: Line 60:
* Koskiya
* Koskiya
* Livaria
* Livaria
* Lucentia
* Mahaan Maaran
* Mantharavati
* Mantharavati
* Mirapan
* Mirapan
Line 62: Line 70:
* Raška
* Raška
* Rissland
* Rissland
* Saoirth
* Sokoku
* Sokoku
* Stolvic Orderist Commonwealth
* Stolvic Orderist Commonwealth
* Tavonia
* Tavonia
* Transelfasland
* Transelfasland
* United New Kingdoms
* Vittmark
* Vittmark
* Yanwen
* Yanwen
Line 72: Line 82:
* The Bind
* The Bind
* Dhonowlgos
* Dhonowlgos
* Fisks islands
* Hagen
* Huilcasonco
* Huilcasonco
* Ilhuiyoco
* Tsuki Integrality
|
* Vittmark
** Ådalen
** Austland West Hagen
** Kulla Crown Domain
** Liden
** Mellersta Haga
** Östervallen
** Sörmark
|
|
* Mellersta Haga
* Die Eintracht
* Gold Exchange Mechanism
* International Council of Nations (ICoN)
* Ombhrosdhom Commonwealth Treaty
* Open Seas Security Organization (OSSO)
* Restoration Coalition
* Thultannian Union
* Triarchy
|}
|}



Latest revision as of 04:37, 15 November 2024

This is a documentation subpage for Template:Flag.
It may contain usage information, categories and other content that is not part of the original template page.

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
  • Aedeland
  • Alsair
  • Anat Tahan
  • Anisora
  • Ardar
  • Arvor
  • Auresia
  • Becuvitatia
  • Bule
  • Cassia
  • Chaska
  • Cladania
  • East Lusavan
  • Einhafen
  • Gate of Light
  • Grunland
  • Halland
  • Helreich
  • Hergom (Hergom ep swekorwos)
  • Ilhuiyoco
  • Ithrien
  • Kamura
  • Koskiya
  • Livaria
  • Lucentia
  • Mahaan Maaran
  • Mantharavati
  • Mirapan
  • Negasi
  • Nestor
  • New Hoffnung
  • Parangón
  • Raška
  • Rissland
  • Saoirth
  • Sokoku
  • Stolvic Orderist Commonwealth
  • Tavonia
  • Transelfasland
  • United New Kingdoms
  • Vittmark
  • Yanwen
  • Anisoran Empire
  • The Bind
  • Dhonowlgos
  • Fisks islands
  • Hagen
  • Huilcasonco
  • Ilhuiyoco
  • Tsuki Integrality
  • Vittmark
    • Ådalen
    • Austland West Hagen
    • Kulla Crown Domain
    • Liden
    • Mellersta Haga
    • Östervallen
    • Sörmark
  • Die Eintracht
  • Gold Exchange Mechanism
  • International Council of Nations (ICoN)
  • Ombhrosdhom Commonwealth Treaty
  • Open Seas Security Organization (OSSO)
  • Restoration Coalition
  • Thultannian Union
  • Triarchy

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