Module talk:Region topic/testcases

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

Link parameters
Flag of

prefix=Flag of|title=Flags of the world|image=

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
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
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
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=

Subgroups and redlink avoidance
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
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