Editing Module:Hatnote
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 134: | Line 134: | ||
local display = args[2] | local display = args[2] | ||
if not link then | if not link then | ||
return p.makeWikitextError( | return p.makeWikitextError('no link specified') | ||
end | end | ||
return p._formatLink(link, display) | return p._formatLink(link, display) | ||
Line 189: | Line 185: | ||
local options = {} | local options = {} | ||
if not s then | if not s then | ||
return p.makeWikitextError( | return p.makeWikitextError('no text specified') | ||
end | end | ||
options.extraclasses = args.extraclasses | options.extraclasses = args.extraclasses |