Anonimo

Modulo:FunzioniGeneriche: differenze tra le versioni

Da Wikitrek.
m
ParserFunction
mNessun oggetto della modifica
m (ParserFunction)
Riga 397: Riga 397:
FileTitle =  mw.title.getCurrentTitle()
FileTitle =  mw.title.getCurrentTitle()
MediaURI = frame:expandTemplate{title = 'filepath:' .. string.sub(FileTitle.fullText, 6, 19)}
--MediaURI = frame:expandTemplate{title = 'filepath:' .. string.sub(FileTitle.fullText, 6, 19)}
MediaURI = frame:callParserFunction('filepath:' .. string.sub(FileTitle.fullText, 6, 19))
return FileTitle.fullText .. "<br />" .. FileTitle:fullUrl() .. "<br />" .. FileTitle:localUrl() .. "<br />" .. FileTitle:canonicalUrl() --.. "<br />" .. MediaURI
return FileTitle.fullText .. "<br />" .. FileTitle:fullUrl() .. "<br />" .. FileTitle:localUrl() .. "<br />" .. FileTitle:canonicalUrl() .. "<br />" .. MediaURI
end
end
return p
return p