Module:WikiFur: Difference between revisions

From WikiFur Data
Jump to navigation Jump to search
(Needs mw?)
Tags: Mobile edit Mobile web edit Advanced mobile edit
(+Label)
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 3: Line 3:
function p.ID()
function p.ID()
   return mw.wikibase.getEntityIdForCurrentPage();
   return mw.wikibase.getEntityIdForCurrentPage();
end
function p.Label(id)
  return mw.wikibase.getLabel(id);
end
end


return p;
return p;

Revision as of 14:39, 27 October 2023

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

local p = {}

function p.ID()
  return mw.wikibase.getEntityIdForCurrentPage();
end

function p.Label(id)
  return mw.wikibase.getLabel(id);
end

return p;