Modul:Italic title: Unterschied zwischen den Versionen
Use <i> to italicise apostrophes, per ER
(allow this to be called from Lua, and make it more compact) |
(Use <i> to italicise apostrophes, per ER) |
||
Zeile 10: | Zeile 10: | ||
local result | local result | ||
if prefix and parentheses and args.all ~= 'yes' then | if prefix and parentheses and args.all ~= 'yes' then | ||
result = string.format(" | result = string.format("<i>%s</i> %s", prefix, parentheses) | ||
else | else | ||
result = string.format(" | result = string.format("<i>%s</i>", title.text) | ||
end | end | ||
if title.namespace ~= 0 then | if title.namespace ~= 0 then |