Modul:Italic title: Unterschied zwischen den Versionen
allow the ability to specify the "noerror" parameter
(use mw.site.namespaces to get the namespace name without underscores; also use Module:Arguments and convert whitespace to tabs) |
(allow the ability to specify the "noerror" parameter) |
||
Zeile 27: | Zeile 27: | ||
-- Call displaytitle with the text we generated. | -- Call displaytitle with the text we generated. | ||
return mw.getCurrentFrame():callParserFunction('DISPLAYTITLE', result) | return mw.getCurrentFrame():callParserFunction( | ||
'DISPLAYTITLE', | |||
result, | |||
args[1] | |||
) | |||
end | end | ||
return p | return p |