Module:Format link: Difference between revisions

Content added Content deleted
m (Protected "Module:Format link": Highly visible template: Will soon be used in Template:Format link ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(Replaced broken use of makeWikitextError from Module:Hatnote)
Line 95: Line 95:
local link = args[1]
local link = args[1]
if not link then
if not link then
return p.makeWikitextError(
return
'no link specified',
'<strong class="error">'..
'Template:Format link#Errors',
'Error: no link specified ([[Template:Format link#Errors|help]]).'..
'</strong>'
args.category
)
end
end
return p._formatLink{
return p._formatLink{