Module:Wikibase/sandbox

From blackwiki
< Module:Wikibase
Revision as of 17:37, 4 October 2013 by blackwiki>Underlying lk (Created page with '-- Module:Wikibase local p = {} -- Return the label of a given data item. function p.label(frame) id = frame.args[1] return mw.wikibase.lab...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Wikibase/sandbox/doc

-- Module:Wikibase
local p = {}
 
-- Return the label of a given data item.
function p.label(frame)
            id = frame.args[1]
        return mw.wikibase.label( id )
end
 
return p