Module:Sandbox/Raph Williams65/WhatLinksHere
Jump to navigation
Jump to search
File:Test Template Info-Icon - Version (2).svg Module documentation[create] [purge]
local p = {}
p.main = function(frame)
strTitle = frame.args.title
strLabel = frame.args.label or "WhatLinksHere"
strNamespace = frame.args.namespace or mw.title.getCurrentTitle().nsText
if strTitle then return "[[Special:WhatLinksHere/" .. strTitle .. "|" .. strLabel .. "]]" or error('<strong class="error">Error: Title is missing</strong>')
end
end
return p