وحدة:ملعب/Mr. Ibrahem/3

من أرابيكا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث
local p = {}

local cite = require(  'Module:Cite'  )

function p.get(frame)
	local ref = frame.args[1] or [[
	{"hash":"e3f7e60fd57a19a620f403bcf0bc3c7519ed92fc","snaks":{"P248":[{"snaktype":"value","property":"P248","hash":"019a50b7de741e0068bde41c9d9955b22a5de47b","datavalue":{"value":{"entity-type":"item","numeric-id":36578,"id":"Q36578"},"type":"wikibase-entityid"},"datatype":"wikibase-item"}],"P813":[{"snaktype":"value","property":"P813","hash":"020d3de54b3287007b308fa6c48e427383310d00","datavalue":{"value":{"time":"+2014-04-27T00:00:00Z","timezone":0,"before":0,"after":0,"precision":11,"calendarmodel":"http://www.wikidata.org/entity/Q1985727"},"type":"time"},"datatype":"time"}]},"snaks-order":["P248","P813"]}
	]]
	ref = mw.text.jsonDecode( ref )
	local ui = cite.citeitem2(ref , frame.args )
	mw.log( ui )
	return ui
end

return p