Documentation for this module may be created at Module:Sandbox/Mellis/doc
-- Return the local page about a given data item, or of connected page
-- if id is not specified.
local p = {}
function p.sitelink(frame)
local id = frame.args[1]
local globalSiteId = frame.args[2]
return mw.wikibase.sitelink( id, globalSiteId )
end
return p