66 689
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 309: | Riga 309: | ||
elseif mw.wikibase.getEntity().claims["P16"] ~= nil then | elseif mw.wikibase.getEntity().claims["P16"] ~= nil then | ||
Series = mw.wikibase.getEntity(QFromP("P16")) | Series = mw.wikibase.getEntity(QFromP("P16")) | ||
else | |||
--Episode | |||
Series = mw.wikibase.getEntity(mw.wikibase.getEntity(QFromP("P14")).claims["P16"][1].mainsnak.datavalue.value.id) | |||
end | end | ||
--Short name of the series | --Short name of the series | ||
--Short = mw.wikibase.getEntity(SeriesQ).claims['P24'][1].mainsnak.datavalue['value'] | |||
Short = Series.claims['P24'][1].mainsnak.datavalue['value'] | |||
if Short == "Serie Classica" or Short == "Serie Animata" then | if Short == "Serie Classica" or Short == "Serie Animata" then |