Module talk:Region topic/testcases

These are testcases for Module:Region topic. Please use Module talk:Region topic for discussion.

data1

edit
CodeDisplay name [link name]SwitchHidden?
Sovereign states
AFAfghanistanAsia
BSBahamas [the]
DKDenmark
EGEgyptAfricaYes
FJFiji
GBUnited Kingdom [the]
SubgroupUKCCYes
ENGEngland
NIRNorthern Ireland
SCTScotland
WLSWales
GEGeorgia [Georgia (country)]Asia
KHCambodiaAsia
MKMacedonia [the North Macedonia]
States with limited recognition
XKSKosovo
XNCNorthern Cyprus
XSDSomalilandAfricaYes
XSOSouth OssetiaAsia
Other territoriesdeps
AIAnguilla
AQAntarcticaDepends on existence
VGBritish Virgin Islands [the]
GLGreenland
MOMacauAsia
Switchable hidden groupfooYes
AAAA
ABAB
ACAC
Switchable hidden group 2foo_hiddenYes
XWXWshow_XW
XXXXshow_XXYes
XYXYhide_XY
XZXZhide_XZYes
edit
Extended content
Flag of
prefix=Flag of|title=[[Lists of flags|Flags of the world]]|image=[[File:CadleFlagEarth.svg|80px]]
prefix=Flag of|article=0
|at the Olympics
suffix=at the Olympics|article=1
Index of|-related articles|nosuffixspace=yes
title=Flags of the world|prefix=File:Flag of|suffix=.svg{{!}}border{{!}}30x20px|nosuffixspace=yes|noredlinks=no|XNC=File:Flag of the Turkish Republic of Northern Cyprus.svg{{!}}border{{!}}30x20px

Redlink/redirect avoidance

edit
Extended content
suffix=at the Olympics|noredlinks=0
suffix=at the Olympics|noredlinks=1
suffix=at the Olympics|noredlinks=unlink
suffix=at the Olympics|AQ_noredlink=0
suffix=at the Olympics|GL_noredlink=1
suffix=at the Olympics|GL_noredlink=unlink
suffix=at the Olympics|GB=unlink
Flag of|noredirects=1
Flag of|AQ_noredirect=1

Hiding/overriding countries & groups

edit
Extended content
Flag of|BS=no|EG=no|XX=no
Flag of|BS=yes|EG=yes|XX=yes
Flag of|BS=Foo|EG=Foo|XX=Foo
Flag of|Africa=yes|Asia=no
Flag of|deps=no|foo=yes
Flag of|foo_hidden=no
Flag of|foo=yes|foo_hidden=no
Flag of|foo_hidden=no|show_XW=no|show_XX=no|hide_XY=yes|hide_XZ=yes
Flag of|foo_hidden=no|show_XW=no|show_XX=no|hide_XY=yes|hide_XZ=yes|showemptygroups=yes
Flag of|foo_hidden=no|show_XW=yes|show_XX=yes|hide_XY=no|hide_XZ=no
Flag of|foo=yes|foo_hidden=no|AA=|AB=|AC=

Subgroups

edit
Extended content
Flag of|UKCC=1
Flag of|UKCC=1|NIR=
Flag of|ENG=1
Flag of|GB=
Flag of|GB=|UKCC=1
Flag of|GB=|UKCC=1|ENG=|NIR=|SCT=|WLS=
edit
Extended content
Prefix|UKCC=1
Prefix|UKCC=1|noredlinks=1|showemptygroups=1
Prefix|UKCC=1|noredlinks=unlink
Prefix|UKCC=1|GB_noredlink=1
Prefix|UKCC=1|ENG_noredlink=1
Prefix|UKCC=1|ENG_noredlink=unlink
Prefix|UKCC=1|ENG=unlink

Names & sorting

edit
Extended content
Flag of|VG_sort=Virgin Islands, British
Flag of|EG=yes|EG_name=Tpyge
Flag of|EG=yes|EG_name=Tpyge|EG_sort=Egypt
Flag of|UKCC=1|WLS_name=Cymru
Flag of|UKCC=1|WLS_name=Cymru|WLS_sort=Wales