Documentation for this module may be created at Module:Countries/Oceania/doc

-- Data defining countries for {{#invoke:Countries|main|Oceania}}.

--[=[ 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 = { CK = true, OVFR = true, NU = true, BOT = true, },
		},
	},
	titles = {
		main = {
			default = 'Countries of Oceania',
			de = 'Staaten in Ozeanien',
			en = 'Countries of Oceania',
		},
		other = {
			default = 'Other areas',
			de = 'Weitere Gebiete',
			en = 'Other areas',
			es = 'Otros territorios',
			fr = 'Autres territoires',
		},
	},
	lists = {
		-- List of countries in an order suitable for display in the specified language.
		main = {
			automatic = 'AU CK FJ OVFR KI MH FM NR NZ NU PW PG WS SB TO TV BOT US VU',
			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 = 'CK NC NU',
			english = 'automatic',
			default = 'automatic sorted',
			en = 'automatic sorted',
		},
	},
	countries = {
		AU   = { 'Australia',               qid = 'Q408', subst = { ['by state'] = 'by state or territory', }, },
		CK   = { 'Cook Islands',            qid = 'Q26988', the = true, },
		FJ   = { 'Fiji',                    qid = 'Q712', },
		OVFR = { 'Overseas France',         qid = 'Q203396', },
		KI   = { 'Kiribati',                qid = 'Q710', },
		MH   = { 'Marshall Islands',        qid = 'Q709', the = true, },
		FM   = { 'Federated States of Micronesia', qid = 'Q702', the = true, },
		NR   = { 'Nauru',                   qid = 'Q697', },
		NZ   = { 'New Zealand',             qid = 'Q664', },
		NU   = { 'Niue',                    qid = 'Q34020', },
		PW   = { 'Palau',                   qid = 'Q695', },
		PG   = { 'Papua New Guinea',        qid = 'Q691', },
		WS   = { 'Samoa',                   qid = 'Q683', },
		SB   = { 'Solomon Islands',         qid = 'Q685', the = true, },
		TO   = { 'Tonga',                   qid = 'Q678', },
		TV   = { 'Tuvalu',                  qid = 'Q672', },
		BOT  = { 'British Overseas Territories', qid = 'Q46395', },
		US   = { 'United States',           qid = 'Q30', the = true, },
		VU   = { 'Vanuatu',                 qid = 'Q686', },
		NC   = { 'New Caledonia',           qid = 'Q33788', },
	},
}
Community content is available under CC-BY-SA unless otherwise noted.