Documentation for this module may be created at Module:Countries/Asia/doc
-- Data defining countries for {{#invoke:Countries|main|Asia}}.
--[=[ Output is pattern after making these substitutes:
{lang} User's language from {{int:lang}} such as 'en' or 'de'.
{dir} Language direction 'ltr' or 'rtl'.
{colon} Language equivalent of ": " from {{colon|lang}}.
{XYZtitle} Title for lang from XYZ section of defined titles.
{XYZlist} List of countries for lang from XYZ section of defined lists.
XYZ must consist of en alphabetic characters [A-Za-z].
]=]
return {
pattern =
'<div lang="{lang}" dir="{dir}" class="catlinks" style=' ..
'"margin:2px 0;padding:2px;font-size:smaller;line-height:normal">' ..
'<em>{maintitle}{colon}</em>{mainlist}' ..
'<br /><em>{othertitle}{colon}</em>{otherlist}' ..
'</div>',
simple = {
pattern =
'<div lang="{lang}" dir="{dir}" class="catlinks" style=' ..
'"margin:2px 0;padding:2px;font-size:smaller;line-height:normal">' ..
'<em>{maintitle}{colon}</em>{mainlist}' ..
'</div>',
sections = {
-- List of sections to be displayed if simple=yes.
-- Each value is a table identifying any country codes that are
-- displayed only if simple=yes.
main = { PLST = true, TW = true, },
},
},
titles = {
main = {
default = 'Countries of Asia',
bn = 'এশিয়ার দেশসমূহ',
de = 'Staaten in Asien',
en = 'Countries of Asia',
fr = 'Pays en Asie',
ml = 'ഏഷ്യയിലെ രാജ്യങ്ങൾ',
pl = 'Państwa Azji',
uk = 'Країни Азії',
},
other = {
default = 'Other territories',
bn = 'অন্যান্য অঞ্চলসমূহ',
en = 'Other territories',
fr = 'Autres territoires',
ml = 'മറ്റ് പ്രദേശങ്ങൾ',
uk = 'Інші території',
},
},
lists = {
-- List of countries in an order suitable for display in the specified language.
main = {
automatic = 'AF AM AZ BH BD BT BN KH CN CY TL EG GE IN ID IR IQ IL JP JO KZ KW KG LA LB MY MV MN MM NP KP OM PK PLST PH QA RU SA SG KR LK SY TW TJ TH TR TM AE UZ VN YE',
english = 'automatic', -- this applies with uselang=en
default = 'automatic sorted', -- currently unused because en is defined
en = 'automatic sorted', -- this applies with uselang=XX where XX is not defined here
},
other = {
automatic = 'PLST TW HK',
english = 'automatic',
default = 'automatic sorted',
en = 'automatic sorted',
},
},
countries = {
-- Code PLST is invented.
AF = { 'Afghanistan', qid = 'Q889', },
AM = { 'Armenia', qid = 'Q399', },
AZ = { 'Azerbaijan', qid = 'Q227', },
BH = { 'Bahrain', qid = 'Q398', },
BD = { 'Bangladesh', qid = 'Q902', },
BT = { 'Bhutan', qid = 'Q917', },
BN = { 'Brunei', qid = 'Q921', },
KH = { 'Cambodia', qid = 'Q424', },
CN = { 'China', qid = 'Q29520', },
CY = { 'Cyprus', qid = 'Q229', },
TL = { 'East Timor', qid = 'Q574', },
EG = { 'Egypt', qid = 'Q79', },
GE = { 'Georgia', qid = 'Q230', },
IN = { 'India', qid = 'Q668', },
ID = { 'Indonesia', qid = 'Q252', },
IR = { 'Iran', qid = 'Q794', },
IQ = { 'Iraq', qid = 'Q796', },
IL = { 'Israel', qid = 'Q801', },
JP = { 'Japan', qid = 'Q17', },
JO = { 'Jordan', qid = 'Q810', },
KZ = { 'Kazakhstan', qid = 'Q232', },
KW = { 'Kuwait', qid = 'Q817', },
KG = { 'Kyrgyzstan', qid = 'Q813', },
LA = { 'Laos', qid = 'Q819', },
LB = { 'Lebanon', qid = 'Q822', },
MY = { 'Malaysia', qid = 'Q833', },
MV = { 'Maldives', qid = 'Q826', the = true, },
MN = { 'Mongolia', qid = 'Q711', },
MM = { 'Myanmar', qid = 'Q836', },
NP = { 'Nepal', qid = 'Q837', },
KP = { 'North Korea', qid = 'Q423', },
OM = { 'Oman', qid = 'Q842', },
PK = { 'Pakistan', qid = 'Q843', },
PH = { 'Philippines', qid = 'Q928', the = true, },
QA = { 'Qatar', qid = 'Q846', },
RU = { 'Russia', qid = 'Q159', },
SA = { 'Saudi Arabia', qid = 'Q851', },
SG = { 'Singapore', qid = 'Q334', },
KR = { 'South Korea', qid = 'Q884', },
LK = { 'Sri Lanka', qid = 'Q854', },
SY = { 'Syria', qid = 'Q858', },
TJ = { 'Tajikistan', qid = 'Q863', },
TH = { 'Thailand', qid = 'Q869', },
TR = { 'Turkey', qid = 'Q43', },
TM = { 'Turkmenistan', qid = 'Q874', },
AE = { 'United Arab Emirates', qid = 'Q878', the = true, },
UZ = { 'Uzbekistan', qid = 'Q265', },
VN = { 'Vietnam', qid = 'Q881', },
YE = { 'Yemen', qid = 'Q805', },
PLST = { 'Palestinian territories', qid = 'Q1176995', the = true, },
TW = { 'Taiwan', qid = 'Q865', },
HK = { 'Hong Kong', qid = 'Q8646', },
},
}
Community content is available under CC-BY-SA unless otherwise noted.