Modulo:StagioniTV/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
err. |
err2 |
||
Riga 40:
end
if id then
etichetta = wikidata._getLabel({ id, 'it'})
sitelink = mw.wikibase.sitelink( id )
Riga 46:
else errore = 'Template non compilato correttamente, controlla le istruzioni'
end
if not etichetta or not sitelink or not stagioni then
errore = 'Template non compilato correttamente, controlla le istruzioni'
else
local tbl = {}
Riga 91 ⟶ 95:
end
local links = mw.text.listToText(tbl, sep, sep) .. (categoria or '')
end
if not id or not etichetta or not stagioni then
template = mw.title.getCurrentTitle().namespace == 0 and errorCategory or nil
|