Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
| Regel 19: | Regel 19: | ||
["Has publication year"] = "" | ["Has publication year"] = "" | ||
} | } | ||
-- displaytitle | |||
--mw.ext.displaytitle.set( titelGew ) | |||
return titelGew .. " (titelGew)" | |||
end | end | ||
return p | return p | ||
Versie van 23 okt 2025 18:24
Module:Class/Periodical contribution
{{#invoke:Class/Periodical contribution|set
|titelid=
|tijdschriftnr=
}}
- debugmode
De zwarte dood (titelGew)
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"] = ""
}
--mw.ext.displaytitle.set( titelGew )
return titelGew .. " (titelGew)"
end
return p
