object = object.claim = function(frame) local prop = frame.args[1] local qid = frame.args[2] local entity = mw.wikibase.getEntityObject(qid) return entity.claims[prop][0] --return tostring(prop)endreturn object
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Module:Sandbox/Popcorndude/test0".
Except where otherwise indicated, Everything.Explained.Today is © Copyright 2009-2024, A B Cryer, All Rights Reserved. Cookie policy.