Difference between revisions of "Module:Documentation"

Jump to navigation Jump to search
use messages for the err function instead of hard-coded values
en>Mr. Stradivarius
(add a categories blurb function)
en>Mr. Stradivarius
(use messages for the err function instead of hard-coded values)
Line 89: Line 89:
local function err(msg)
local function err(msg)
return string.format(
return string.format(
'<strong class="error">[[Module:Documentation]] error: %s</strong>%s',
'<strong class="error">%s %s</strong>%s',
message('errorPrefix', 'string'),
msg,
msg,
makeCategoryLink('Documentation template invocations with errors')
makeCategoryLink(message('errorCategory', 'string'))
)
)
end
end
Anonymous user

Navigation menu