Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 6: Regel 6:
local titelid = frame.args.titelid or ""
local titelid = frame.args.titelid or ""
-- s[Title][TitelGew]
-- s[Title][TitelGew]
local titelGew = mSlot.getValueFromTemplateData( "ws-page", titelid, "Title", "TitelGew" )
local titelGew = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelGew" )
local titelBiblio = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelBiblio" )
local set = {
["Title"] = titelGew,
["Title plain"] = titelGew
}
-- displaytitle = titelGew
end
end


return p
return p

Versie van 23 okt 2025 17:51

Module:Class/Periodical contribution




{{#invoke:Class/Periodical contribution|set
|titelid=
|tijdschriftnr=
}}


debugmode

local p = {}
local mSlot = require("Module:Slot")

p.set = function(frame)
	-- pagename of title
	local titelid = frame.args.titelid or ""
	-- s[Title][TitelGew]
	local titelGew = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelGew" )
	local titelBiblio = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelBiblio" )
	
	local set = {
		["Title"] = titelGew,
		["Title plain"] = titelGew
	}
	-- displaytitle = titelGew
	
end

return p