Saltar ao contido

Módulo:Itemgroup/parent

Na Galipedia, a Wikipedia en galego.
Indicacións de uso do módulo

Aínda non se redactaron as instrucións sobre como usar este módulo.
Engadir a explicación sobre o seu uso.

Os editores poden probar cambios no mesmo en Módulo:Itemgroup/parent/probas.
Por favor, engade as categorías na subpáxina de documentación e os interwikis no Wikidata. Ver as subpáxinas deste módulo.
-- versión cawiki 20231112
local data = {

--["mytable"] = {
--	["mygroup"] = {'Qid1', 'Qid2'},
--}

-- tables and groups, edit below (sample)
["infobox name"] = {
	["arte"] = {'Q17537576', 'Q8205328', 'Q4989906', 'Q15709879'},
	["geopol"] = {'Q618123', 'Q7275'},
	["construc"] = {'Q41176', 'Q811979'},
	["period"] = {'Q732577', 'Q2352616'},
	["organ"] = {'Q167037', 'Q43229', 'Q48204', 'Q16334295', 'Q601401'}
	},

-- values for template:infotaula competició esportiva
["IBsport_competition_icon"] = {
	["Olympic Rings Icon.svg"]  = {'Q159821', 'Q82414'},   -- P3450 values for olympic games. return title icon assigned
	["Asian Games logo bw.svg"]  = {'Q818463', 'Q483463'},   -- P3450 values for Asian Games. return title icon assigned
	["Mediterranean Games rings bw.svg"]  = {'Q272090'},   -- P3450 values for Mediterranian Games. return title icon assigned
	["Commonwealth Games Federation symbol (2019- Till Date) Black.svg"]    = {'Q178340'}  -- P3450 values for Commonwealth Games. Return title icon assigned
	-- default icon value for other classes appears as "icon_default" in module:Itemgroup/list
	},


-- values for template:infotaula esdeveniment
["IBevent"] = {
	["OOjs UI icon ribbonPrize.svg"]  = {'Q618779', 'Q1645401', 'Q1788716'},   -- P279 values for award class. return title icon assigned
	["Noun Astronomy Icon2.svg"]  = {'Q17444909', 'Q751989', 'Q3937', 'Q207436', 'Q6999'},   -- P279 values for astronomical event class. return title icon assigned
	["Rpb notepad icon.svg"]          = {'Q49848','Q820655','Q2006324',
		'Q166542','Q131569', 'Q326124', 'Q2751586'}                -- P279 values for document, llei, acord. Return title icon assigned
	-- default icon value for other classes appears as "img_event" in module:Itemgroup/list
	},
["IBevent_facility"] = {
	["Q13226383"]  = {'Q811430'},   -- P279 values for facility class. return Qid to use for P121 label
	["Q16391167"]  = {'Q11446', 'Q35872','Q1229765','Q16391167'}, -- P279 values for nau class. return Qid to use for P121 label
	["Q42889"]  = {'Q1184840','Q2452850', 'Q811704','Q3491904','Q870','Q42889'},  -- P279 values for vehicle class. return Qid to use for P121 label
	["Q11436"]  = {'Q15056993','Q15056995','Q1875621','Q210932','Q11436' ,'Q45296117'}   -- P279 values for aircraft class. return Qid to use for P121 label
},
-- values for template:infotaula geografia política
["IBgeopoli"] = {
	["Chess tile bl trans.svg"]  = {'Q51041800', 'Q20926517'}    -- P279 values for eclesiastical structure organization
	-- default icon value for other classes appears as "img_geopoli" in module:Itemgroup/list
}
-- end of tables, do not edit below
}

return data