Module:Wikidata/labels/kab
La documentation pour ce module peut être créée à Module:Wikidata/labels/kab/doc
local infoboxLabelsFromId = {
["Q130146"] = "EMEA", -- en:European Medicines Agency infobox: fàrmac
["Q204711"] = "FDA", -- en:Food and Drug Administration infobox: fàrmac
["Q4745081"] = "AHFS", -- en:American Society of Health-System Pharmacists infobox: fàrmac
["Q9458"] = "Muḥmmad", -- Muhammad (Q9458)
["Q428"] = "Lqqṛan", -- Quran (Q428)
["Q584279"] = "Aṭlas mqquṛn",
["Q2371903"] = "Asif n Tansift",
["Q503433"] = "Adrar n Tuggkal",
["Q130135"]= "Idrarn n Waṭlas",
["Q41614"] = "Tamazirt", --constitutional monarchy (Q41614)
["Q6256"] = "Tamazirt", --country (Q6256)
["Q845643"] = "Tamnaḍt", -- region of Morocco (Q845643)
["Q15623950"] = "Tamnbaḍt", --prefecture of Morocco
["Q3327862"] = "Tagrawt",--urban commune of Morocco (Q3327862)
["Q2989400"] = "Tagrawt", --commune of Morocco (Q2989400)
["Q515"] = "Tamdint", -- city (Q515)
["Q2989398"] = "Tagrawt", -- commune of Algeria (Q2989398)
["Q28912853"] = "Taqbilt",
["Q23925393"] = "Aḍwwaṛ",
["Q17318027"] = "Tagrawt",
["Q15629582"]= "Tasga",
["Q1028"] = "Lmɣrib",
["Q262"] = "Dzayr",
["Q96"] = "Miksik",
["Q148"] = "Ccinwa",
["Q23048167"] = "Tamnaḍt Tagmuḍant", --Oriental (Q23048167)
["Q19953016"] = "Tamnaḍt n Bni Mllal-Xnifra", --Béni Mellal-Khénifra (Q19953016)
["Q21235104"] = "Tamnaḍt n Ddaxla-Asif n Wurɣ", --Dakhla-Oued Ed-Dahab (Q21235104)
["Q19950954"] = "Tamnaḍt n Dra-Tafilalt", --Drâa-Tafilalet (Q19950954)
["Q19951027"] = "Tamnaḍt n Fas-Mknas", --Fès-Meknès (Q19951027)
["Q19951051"] = "Tamnaḍt n Agʷlmim-Asif Nun", --Guelmim-Oued Noun (Q19951051)
["Q19951088"] = "Tamnaḍt n Lɛyun-Targa Tazggʷaɣt", --Laâyoune-Sakia El Hamra (Q19951088)
["Q19951125"] = "Tamnaḍt n Mrrakc-Asfi", --Marrakesh-Safi (Q19951125)
["Q19951239"] = "Tamnaḍt n Rrbaṭ-Sla-Lqnḍrt", --Rabat-Salé-Kénitra (Q19951239)
["Q20652586"] = "Tamnaḍt n Sus-Masst",
["Q19843788"] = "Tamnaḍt n Tigmmi Tumlilt-Sṭṭat", --Casablanca-Settat (Q19843788)
["Q19951300"] = "Tamnaḍt n Ṭanja-Tiṭṭwan-Lḥusima", --Tanger-Tétouan-Al Hoceïma (Q19951300)
["Q2424820"] = "Tasga n Actukn-Ayt Baha", -- Shtouka Ait Baha Province (Q2424820)
["Q599606"] = "Tasga n Jdida",--El Jadida Province (Q599606)
["Q2092298"] = "Tasga n Tarudant", -- Taroudant Province (Q2092298)
["Q2339589"] = "Tasga n Tiznit", -- Tiznit Province (Q2339589)
["Q546437"] = "Tasga n Ṭaṭa", -- Tata Province (Q546437)
["Q389976"] = "Tamnbaḍt n Agadir-Idawtanan", -- Agadir-Ida-Ou-Tanane Prefecture (Q389976)
["Q1662264"] = "Tamnbaḍt n Inzggan-Ayt Mllul", -- Inezgane-Aït Melloul Prefecture (Q1662264)
["Q1149096"] = "Tamnbaḍt n Muḥmmadya", -- Mohammedia Prefecture (Q1149096)
["Q649078"] = "Tamnbaḍt n Tigmmi Tumlilt", --Casablanca Prefecture (Q649078)
["Q2392485"] = "Tamnbaḍt n Ṭanja-Aṣila", --Tangier-Assilah Prefecture (Q2392485)
["Q4778811"] = "Awgnz",
["Q28896724"] = "Isaggn (Ayt Ṣwab)",
["Q505208"] = "Warzazat",
["Q1936239"] = "Tafrawt",
["Q3551"] = "Rrbaṭ",
["Q7903"] = "Tigmmi Tumlilt",
["Q1489"] = "Miksiku",
["Q1321"] = "Taṣbnyult", --Spanish (Q1321)
["Q35409"] = "Tawja",
["P185"] = "Amḥḍar n Dduktura",
["Q7432"]= "Tawsit",
["Q34740"]= "Anaw",
["Q35409"]= "Tawja",
["Q36602"]= "Anmala",
["Q37517"]= "Asmil",
["Q38348"]= "Tazuni",
["Q36732"]= "Tagldit",
["Q146481"]= "Igr",
["Q3"]= "Tudrt",
["Q164280"]= "Ddu-tawja",
["Q756"]= "Imɣi",
}
-- Fixes for case=infoboxlabel
local infoboxlabels = {
}
-- Fixes for case=infoboxdata
local infoboxdata = {
["American Society of Health-System Pharmacists"] = "ASHP",
["Bach Werke Verzeichnis"] = "BWV",
["Microsoft Windows"] = "Windows",
["Berkeley Open Infrastructure for Network Computing"] = "BOINC",
["Advanced Packaging Tool"] = "APT",
["GNU General Public License"] = "GNU GPL",
["Common Development and Distribution License"] = "CDDL",
["Kaiserliche und Königliche Kriegsmarine"] = "K.u.K. Marine",
}
-- Support function used from Module:Wikidata/i18n for function claim with case=infoboxlabel
local function fixInfoboxLabel(label)
local lang = mw.language.getContentLanguage()
label = lang:lcfirst(label)
if infoboxlabels[label] then
label = infoboxlabels[label]
end
return lang:ucfirst(label)
end
-- Support function used from Module:Wikidata/i18n for function claim with case=infoboxdata
local function fixInfoboxData(label)
if infoboxdata[label] then
label = infoboxdata[label]
end
return label
end
-- Return exported functions
return {
infoboxLabelsFromId = infoboxLabelsFromId,
fixInfoboxLabel = fixInfoboxLabel,
fixInfoboxData = fixInfoboxData,
}