Module:Hatnote: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(move formatLink back to the underscore - that one is necessary) |
(fix error category logic) |
||
Line 83: | Line 83: | ||
local errorCategoryLink |
local errorCategoryLink |
||
if yesno(demo) then |
if yesno(demo) then |
||
⚫ | |||
⚫ | |||
errorCategoryLink = string.format( |
errorCategoryLink = string.format( |
||
'[[%s:%s]]', |
'[[%s:%s]]', |
||
Line 88: | Line 90: | ||
errorCategory |
errorCategory |
||
) |
) |
||
⚫ | |||
⚫ | |||
end |
end |
||
return string.format( |
return string.format( |