وحدة:Wikidata/ru/ملعب

local p = {}

function p.get1(frame)
local entity = mw.wikibase.getEntityObject()
local snak = entity['claims']['P39'][1]['qualifiers']['P1366'][1]

mw.wikibase.renderSnaks( snak ) -- Returns the given Snaks formatted as wiki text.

end

function p.getall(frame)

local entity = mw.wikibase.getEntityObject()
local snaks = entity['claims']['P19'][1]['qualifiers']

mw.wikibase.renderSnaks( snaks ) -- Returns the given Snaks formatted as wiki text.

end
return p