Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Library works: Difference between revisions

From ProleWiki, the proletarian encyclopedia
(Created page with "local p Author = mw.wikibase.getEntityIdForCurrentPage() Works = Author:getAllStatements('P25') return Works")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
local p
local p = {}


Author = mw.wikibase.getEntityIdForCurrentPage()
function p.main(frame)
Works = Author:getAllStatements('P25')
EntityID = mw.wikibase.getEntityIdForCurrentPage()
 
Author = mw.wikibase.getEntity(EntityID)
return Works
Works = Author:getAllStatements('works')
return Works
end
return p

Latest revision as of 23:59, 30 November 2021

local p = {}

function p.main(frame) 
	EntityID = mw.wikibase.getEntityIdForCurrentPage()
	Author = mw.wikibase.getEntity(EntityID)
	Works = Author:getAllStatements('works')
	return Works
end
return p