66 383
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 102: | Riga 102: | ||
Series = mw.wikibase.getLabel(Item.claims['P16'][1].mainsnak.datavalue.value.id) | Series = mw.wikibase.getLabel(Item.claims['P16'][1].mainsnak.datavalue.value.id) | ||
if | if SeriesShort == "Serie Classica" or SeriesShort == "Serie Animata" then | ||
CategoryText = '[[Category:Personaggi della ' .. SeriesShort .. "]]" | CategoryText = '[[Category:Personaggi della ' .. SeriesShort .. "]]" | ||
else | else | ||
Riga 148: | Riga 148: | ||
Series = mw.wikibase.getLabel(Item.claims['P16'][1].mainsnak.datavalue.value.id) | Series = mw.wikibase.getLabel(Item.claims['P16'][1].mainsnak.datavalue.value.id) | ||
if | if SeriesShort == "Serie Classica" or SeriesShort == "Serie Originale" or SeriesShort == "Serie Animata" then | ||
InstanceText = '[[Istanza::Episodio della ' .. SeriesShort .. "]]" | InstanceText = '[[Istanza::Episodio della ' .. SeriesShort .. "]]" | ||
else | else | ||
Riga 157: | Riga 157: | ||
if Pages == nil then | if Pages == nil then | ||
return "''Nessun risultato'' (<code>" .. mw.text.nowiki(InstanceText) .. "</code>, )" | return "''Nessun risultato'' (<code>" .. mw.text.nowiki(InstanceText) .. "</code>, )" | ||
else | else | ||
--local myResult = "" | --local myResult = "" |