Content deleted Content added
mNo edit summary |
Documenting and cleaning. |
||
Line 1:
-- You don't want to touch this. :)
local m = {}
m.fullName = {}
m.twoLetter = {}
Line 7 ⟶ 6:
m.variant = {}
-- Structure of the table:
-- 1. Full names
-- 1.1 International organizations
-- 1.2 ISO 3166-1 territories with subdivisions and/or variants
-- 1.3 Rest of ISO 3166-1 territories without additional flags
-- 1.4 Other territories not fitting above
-- 1.5 Other flags supported and not fitting above
-- 2. All 2 letter codes ISO 3166-1 alpha-2
-- 3. All 3 letter codes ISO 3166-1 alpha-3
-- 1. FULL NAMES
-- 1.1 INTERNATIONAL ORGANIZATIONS
m.fullName["African Union"] = ""
m.fullName["NATO"] = ""
-- 1.2 ISO 3166-1 TERRITORIES WITH SUBDIVISIONS AND/OR VARIANTS
--
-- For the subdivisions see http://en.wikipedia.org/wiki/ISO_3166-2
-- For the subdivisions and variants see http://en.wikipedia.org/wiki/Category:Country_data_templates
-- AD, Andorra - http://en.wikipedia.org/wiki/Template:Country_data_Andorra
Line 66 ⟶ 80:
m.fullName["Wales"] = ""
-- 1.3 REST OF ISO 3166-1 TERRITORIES
▲-- List of countries and dependent territories according to http://en.wikipedia.org/wiki/ISO_3166-1
m.fullName["Åland"] = ""
Line 478 ⟶ 486:
m.fullName["the United States Virgin Islands"] = ""
-- 1.4 OTHER TERRITORIES NOT FITTING ABOVE
-- 2 letter code http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements --▼
m.fullName["the Sahrawi Arab Democratic Republic"] = "Western Sahara"
-- 1.5 OTHER FLAGS SUPPORTED NOT FITTING ABOVE
-- ALL 2 LETTER CODES ISO 3166-1 alpha-2
▲--
m.twoLetter["Andorra"] = "AD"
Line 726 ⟶ 742:
m.twoLetter["Zimbabwe"] = "ZW"
-- ALL 3 LETTER CODES ISO 3166-1 alpha-3
-- See http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
m.threeLetter["Afghanistan"] = "AFG"
m.threeLetter["Åland"] = "ALA"
Line 972 ⟶ 990:
m.threeLetter["Zimbabwe"] = "ZWE"
-- You don't want to touch this either!
return m
|