Semantic MediaWikiDit bericht verdwijnt nadat alle relevante taken zijn afgerond.

Er is één onvoltooide of openstaande taak, die nodig is om het bijwerken van Semantic MediaWiki te voltooien. Een beheerder of gebruiker met voldoende rechten kan deze uitvoeren. Dit moet worden gedaan voordat nieuwe gegevens worden toegevoegd om tegenstrijdigheden te voorkomen.

Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 1: Regel 1:
local p = {}
local p = {}
local mSlot = require("Module:Slot")
local mSlot = require("Module:Slot")
local mFormat= require("Module:Format for sorting")


p.set = function(frame)
p.set = function(frame)
Regel 8: Regel 9:
local titelGew = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelGew" )
local titelGew = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelGew" )
local titelBiblio = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelBiblio" )
local titelBiblio = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelBiblio" )
local sortTitle = mFormat.flatten( titelBiblio )
 
local set = {
local set = {
["Title"] = titelGew,
["Title"] = titelGew,
["Title plain"] = titelGew
["Title plain"] = titelGew,
["Has sort label"] = sortTitle .. "¶",
["Has sort label by author"] = "", -- {{#show:{{{TitelID|}}}|?Has sort label by author=|link=none}}
["Has initial"] = "", -- {{uc:{{#sub:{{#var:@sort title}}|0|1}}}}
["Has publication year"] = ""
}
}
-- displaytitle = titelGew
-- displaytitle = titelGew

Versie van 23 okt 2025 17:57

Module:Class/Periodical contribution




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


debugmode

local p = {}
local mSlot = require("Module:Slot")
local mFormat= require("Module:Format for sorting")

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 sortTitle = mFormat.flatten( titelBiblio )

	local set = {
		["Title"] = titelGew,
		["Title plain"] = titelGew,
		["Has sort label"] = sortTitle .. "¶",
		["Has sort label by author"] = "", -- {{#show:{{{TitelID|}}}|?Has sort label by author=|link=none}}
		["Has initial"] = "", -- {{uc:{{#sub:{{#var:@sort title}}|0|1}}}}
		["Has publication year"] = ""
	}
	-- displaytitle = titelGew
	
end

return p