Module:Countries/Central America
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Countries/Central America/doc
-- Data defining countries for {{#invoke:Countries|main|Central America}}.
--[=[ 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 {
titles = {
main = {
default = 'Countries of Central America',
bn = 'মধ্য আমেরিকার দেশসমূহ',
['be-tarask'] = 'Краіны Цэнтральнай Амэрыкі',
ca = 'Països d’Amèrica Central',
de = 'Staaten in Mittelamerika',
en = 'Countries of Central America',
es = 'Países de América Central',
fr = 'Pays d’Amérique centrale',
mk = 'Земји во Средна Америка',
ml = 'മദ്ധ്യ അമേരിക്കയിലെ രാജ്യങ്ങൾ',
sr = 'Земље Централне Америке',
['sr-latn'] = 'Zemlje Centralne Amerike',
['zh-hans'] = '中美洲国家',
['zh-hant'] = '中美洲國家',
},
},
pattern =
'<div lang="{lang}" dir="{dir}" class="catlinks" style=' ..
'"margin:2px 0;padding:2px;font-size:88%;line-height:normal">' ..
'<em>{maintitle}{colon}</em>{mainlist}' ..
'</div>',
lists = {
-- List of countries in an order suitable for display in the specified language.
main = {
automatic = 'BZ CR SV GT HN NI PA',
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
['zh-hans'] = 'PA BZ CR HN NI SV GT',
['zh-hant'] = 'PA BZ CR GT HN NI SV',
['zh-hk'] = 'PA BZ CR HN NI SV GT',
},
},
countries = {
BZ = { 'Belize', qid = 'Q242', },
CR = { 'Costa Rica', qid = 'Q800', },
SV = { 'El Salvador', qid = 'Q792', },
GT = { 'Guatemala', qid = 'Q774', },
HN = { 'Honduras', qid = 'Q783', },
NI = { 'Nicaragua', qid = 'Q811', },
PA = { 'Panama', qid = 'Q804', },
},
}