Module:Parameter names example: Difference between revisions
Content added Content deleted
(Adding a "plain" _display option via plain(s) and extra conditional in p._main seems to work but I imagine there's something more elegant) |
(you're looking for elseif) |
||
Line 22: | Line 22: | ||
if args._display == 'italics' or args._display == 'italic' then |
if args._display == 'italics' or args._display == 'italic' then |
||
formatFunc = italicize |
formatFunc = italicize |
||
⚫ | |||
⚫ | |||
else |
else |
||
⚫ | |||
⚫ | |||
⚫ | |||
else |
|||
⚫ | |||
end |
|||
end |
end |
||