Module:Command: Difference between revisions
Link to command subpage rather than anchor -- avoids a pointless expansion |
m Add "nl" param to supress link |
||
| Line 96: | Line 96: | ||
if args.link then | if args.link then | ||
if args.link:lower() ~= 'none' then | if args.link:lower() ~= 'none' then | ||
commandName = '[[' .. args.link .. '|' .. commandName .. ']]' | if args.nl then | ||
commandName = args.link .. '|' .. commandName | |||
else | |||
commandName = '[[' .. args.link .. '|' .. commandName .. ']]' | |||
end | |||
end | end | ||
else | else | ||