This module contains all ISO 3166-2 codes for Morocco. It is used by Module:ISO 3166.
return {
lang = "ar",
-- Regions
["01"] = {name="Tanger-Tetouan-Al Hoceima",isoname="Tanger-Tétouan-Al Hoceïma"},
["02"] = {name="Oriental",isoname="L'Oriental"},
["03"] = {name="Fès-Meknès",isoname="Fès-Meknès"},
["04"] = {name="Rabat-Salé-Kénitra"},
["05"] = {name="Béni Mellal-Khénifra"},
["06"] = {name="Casablanca-Settat"},
["07"] = {name="Marrakesh-Safi",isoname="Marrakech-Safi"},
["08"] = {name="Drâa-Tafilalet"},
["09"] = {name="Souss-Massa"},
["10"] = {name="Guelmim-Oued Noun",altnames={"Guelmim-Oued Noun (EH-partial)"}},
["11"] = {name="Laâyoune-Sakia El Hamra",altnames={"Laâyoune-Sakia El Hamra (EH-partial)"}},
["12"] = {name="Dakhla-Oued Ed-Dahab",altnames={"Dakhla-Oued Ed-Dahab (EH)"}},
-- Prefectures
["AGD"] = {name="Agadir-Ida Ou Tanane",isoname="Agadir-Ida-Ou-Tanane",altnames={"Agadir-Ida Ou Tanane Prefecture"}},
["CAS"] = {name="Casablanca",altnames={"Dar el Beïda","Casablanca Prefecture"}},
["FES"] = {name="Fès",altnames={"Fès Prefecture","Fez","Fez Prefecture"}},
["INE"] = {name="Inezgane-Aït Melloul",isoname="Inezgane-Ait Melloul",altnames={"Inezgane-Aït Melloul Prefecture"}},
["MEK"] = {name="Meknès",altnames={"Meknès Prefecture"}},
["MAR"] = {name="Marrakesh",isoname="Marrakech",altnames={"Marrakesh Prefecture","Marrakech Prefecture"}},
["MDF"] = {name="M'diq-Fnideq",isoname="M’diq-Fnideq",altnames={"M'diq-Fnideq Prefecture"}},
["MOH"] = {name="Mohammedia",isoname="Mohammadia",altnames={"Mohammedia Prefecture","Mohammadia Prefecture"}},
["OUJ"] = {name="Oujda-Angad",altnames={"Oujda-Angad Prefecture"}},
["RAB"] = {name="Rabat",altnames={"Rabat Prefecture"}},
["SAL"] = {name="Salé",altnames={"Salé Prefecture"}},
["SKH"] = {name="Skhirat-Témara",isoname="Skhirate-Témara",altnames={"Skhirat-Témara Prefecture","Skhirate-Témara Prefecture"}},
["TNG"] = {name="Tangier-Assilah",isoname="Tanger-Assilah",altnames={"Tangier-Assilah Prefecture","Tanger-Assilah Prefecture"}},
-- Provinces
["AOU"] = {name="Aousserd",altnames={"Aousserd (EH)","Aousserd Province"}},
["ASZ"] = {name="Assa-Zag",altnames={"Assa-Zag (EH-partial)","Assa-Zag Province"}},
["AZI"] = {name="Azilal",altnames={"Azilal Province"}},
["BEM"] = {name="Béni Mellal",altnames={"Béni-Mellal Province"}},
["BER"] = {name="Berkane",altnames={"Berkane Province"}},
["BES"] = {name="Benslimane",altnames={"Ben Slimane Province"}},
["BOD"] = {name="Boujdour",altnames={"Boujdour (EH)","Boujdour Province"}},
["BOM"] = {name="Boulemane",altnames={"Boulemane Province"}},
["BRR"] = {name="Berrechid",altnames={"Berrechid Province"}},
["CHE"] = {name="Chefchaouen",altnames={"Chefchaouen Province"}},
["CHI"] = {name="Chichaoua",altnames={"Chichaoua Province"}},
["CHT"] = {name="Chtouka Aït Baha",isoname="Chtouka-Ait Baha",altnames={"Chtouka Aït Baha Province"}},
["DRI"] = {name="Driouch",altnames={"Driouch Province"}},
["ERR"] = {name="Errachidia",altnames={"Errachidia Province"}},
["ESI"] = {name="Essaouira",altnames={"Essaouira Province"}},
["ESM"] = {name="Es-Semara",altnames={"Es-Semara (EH)","Es Semara Province"}},
["FAH"] = {name="Fahs-Anjra",altnames={"Fahs-Anjra Province"}},
["FIG"] = {name="Figuig",altnames={"Figuig Province"}},
["FQH"] = {name="Fquih Ben Salah",altnames={"Fquih Ben Salah Province"}},
["GUE"] = {name="Guelmim",altnames={"Guelmim Province"}},
["GUF"] = {name="Guercif",altnames={"Guercif Province"}},
["HAJ"] = {name="El Hajeb",altnames={"El Hajeb Province"}},
["HAO"] = {name="Al Haouz",altnames={"Al Haouz Province"}},
["HOC"] = {name="Al Hoceïma",altnames={"Al Hoceïma Province"}},
["IFR"] = {name="Ifrane",altnames={"Ifrane Province"}},
["JDI"] = {name="El Jadida",altnames={"El Jadida Province"}},
["JRA"] = {name="Jerada",altnames={"Jerada Province"}},
["KEN"] = {name="Kénitra",altnames={"Kénitra Province"}},
["KES"] = {name="El Kelâa des Sraghna",altnames={"El Kelâa des Sraghna Province","El Kelâat Es-Sraghna","El Kelâat Es-Sraghna Province","Kelaat Sraghna"}},
["KHE"] = {name="Khémisset",altnames={"Khémisset Province"}},
["KHN"] = {name="Khénifra",altnames={"Khénifra Province"}},
["KHO"] = {name="Khouribga",altnames={"Khouribga Province"}},
["LAA"] = {name="Laâyoune",altnames={"Laâyoune (EH)","Laâyoune Province"}},
["LAR"] = {name="Larache",altnames={"Larache Province"}},
["MED"] = {name="Médiouna",altnames={"Médiouna Province"}},
["MID"] = {name="Midelt",altnames={"Midelt Province"}},
["MOU"] = {name="Moulay Yacoub",altnames={"Moulay Yacoub Province"}},
["NAD"] = {name="Nador",altnames={"Nador Province"}},
["NOU"] = {name="Nouaceur",altnames={"Nouaceur Province"}},
["OUA"] = {name="Ouarzazate",altnames={"Ouarzazate Province"}},
["OUD"] = {name="Oued Ed-Dahab",altnames={"Oued Ed-Dahab (EH)","Oued Ed-Dahab Province"}},
["OUZ"] = {name="Ouezzane",altnames={"Ouezzane Province"}},
["REH"] = {name="Rehamna",altnames={"Rehamna Province"}},
["SAF"] = {name="Safi",altnames={"Safi Province"}},
["SEF"] = {name="Sefrou",altnames={"Sefrou Province"}},
["SET"] = {name="Settat",altnames={"Settat Province"}},
["SIB"] = {name="Sidi Bennour",altnames={"Sidi Bennour Province"}},
["SIF"] = {name="Sidi Ifni",altnames={"Sidi Ifni Province"}},
["SIK"] = {name="Sidi Kacem",altnames={"Sidi Kacem Province"}},
["SIL"] = {name="Sidi Slimane",altnames={"Sidi Slimane Province"}},
["TAF"] = {name="Tarfaya",altnames={"Tarfaya (EH-partial)","Tarfaya Province"}},
["TAI"] = {name="Taourirt",altnames={"Taourirt Province"}},
["TAO"] = {name="Taounate",altnames={"Taounate Province"}},
["TAR"] = {name="Taroudant",isoname="Taroudannt",altnames={"Taroudant Province"}},
["TAT"] = {name="Tata",altnames={"Tata Province"}},
["TAZ"] = {name="Taza",altnames={"Taza Province"}},
["TET"] = {name="Tétouan",altnames={"Tétouan Province"}},
["TIN"] = {name="Tinghir",altnames={"Tinghir Province"}},
["TIZ"] = {name="Tiznit",altnames={"Tiznit Province"}},
["TNT"] = {name="Tan-Tan",altnames={"Tan-Tan (EH-partial)","Tan-Tan Province"}}, --not EH
["YUS"] = {name="Youssoufia",altnames={"Youssoufia Province"}},
["ZAG"] = {name="Zagora",altnames={"Zagora Province"}}
}