Anonimo

Modulo:DTEpisodio: differenze tra le versioni

Da Wikitrek.
m
nessun oggetto della modifica
(Link to AboutTopic on non existent character or performer)
mNessun oggetto della modifica
Riga 29: Riga 29:
-- mw.wikibase.getSitelink(actorQ)
-- mw.wikibase.getSitelink(actorQ)
local actorLabel = mw.wikibase.getLabel(actorQ)
local actorLabel = mw.wikibase.getLabel(actorQ)
local actorLink = mw.wikibase.getSitelink(actorQ) or "Special:AboutTopic/" .. actorQ
local CharQ
local CharQ
Riga 92: Riga 93:
if AddSemantic then
if AddSemantic then
--Result['Character'] = Prefix .. '[[Personaggio::' .. CharLink .. '|' .. CharLabel .. ']]' .. Suffix .. frame:callParserFunction('#set:', CharLabel .. '=' .. actorLabel)
--Result['Character'] = Prefix .. '[[Personaggio::' .. CharLink .. '|' .. CharLabel .. ']]' .. Suffix .. frame:callParserFunction('#set:', CharLabel .. '=' .. actorLabel)
Result['Character'] = Prefix .. '[[Personaggio::' .. CharLink .. '|' .. CharLabel .. ']]' .. Suffix
Result['Character'] = Prefix .. '[[' .. CharLink .. '|' .. CharLabel .. ']]' .. Suffix .. frame:callParserFunction('#set:', 'Personaggio=' .. CharLabel)
else
else
Result['Character'] = Prefix .. '[[' .. CharLink .. '|' .. CharLabel .. ']]' .. Suffix
Result['Character'] = Prefix .. '[[' .. CharLink .. '|' .. CharLabel .. ']]' .. Suffix
Riga 102: Riga 103:
if AddSemantic then
if AddSemantic then
Result['Actor'] = '[[Interprete::' .. actorLabel .. ']]' .. frame:callParserFunction('#set:', actorLabel .. '=' .. CharLabel)
Result['Actor'] = '[[Interprete::' .. actorLabel .. ']]' .. frame:callParserFunction('#set:', actorLabel .. '=' .. CharLabel)
--Result['Actor'] = '[[Interprete::' .. actorLabel .. ']]'
else
else
Result['Actor'] = '[[' .. actorLabel .. ']]'
Result['Actor'] = '[[' .. actorLabel .. ']]'