Modul:Italic title: Unterschied zwischen den Versionen
replace underscores with spaces in namespace names
(Use <i> to italicise apostrophes, per ER) |
(replace underscores with spaces in namespace names) |
||
Zeile 15: | Zeile 15: | ||
end | end | ||
if title.namespace ~= 0 then | if title.namespace ~= 0 then | ||
result = title.nsText .. ':' .. result | result = title.nsText:gsub('_', ' ') .. ':' .. result | ||
end | end | ||
return frame:callParserFunction('DISPLAYTITLE', result, args[1]) | return frame:callParserFunction('DISPLAYTITLE', result, args[1]) |