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.

Nieuwe pagina aangemaakt met 'local p = {} local mSlot = require("Module:Slot") local mFormatForSorting = require("Module:Format for sorting") --local mTitle = require("Module:Class/Title") --local mPerson = require("Module:Class/Person") p.set = function( frame ) local titelid = frame.args.titelid or "" local boekid = frame.args.boekid or "" end return p'
 
Geen bewerkingssamenvatting
Regel 4: Regel 4:
--local mTitle = require("Module:Class/Title")
--local mTitle = require("Module:Class/Title")
--local mPerson = require("Module:Class/Person")
--local mPerson = require("Module:Class/Person")
--[[
-->{{#slottemplates:ws-page-props |{{{TitelID|}}} | @title-props }}<!--
-->{{#vardefine:@titel|{{#caprint:@title-props[Title][TitelGew]}} }}<!--
-->{{#vardefine:@sort title|{{Strip title for sorting|{{lc:{{#caprint:@title-props[Title][TitelBiblio]}}}} }} }}<!--
-->{{DISPLAYTITLE:{{#var:@titel|Geen titel}}}}<!--
|Has publication year={{#show:{{{BoekID|}}} |?Has publication year}}
|Has publication year (date)={{#show:{{{BoekID|}}} |?Has publication year (date)}}
|Title={{#var:@titel|Geen titel}}
|Title plain={{#var:@titel|Geen titel}}
|Has sort label={{#var:@sort title}}¶
|Has sort label by author={{#show:{{{TitelID|-}}}|?Has sort label by author=|link=none}}
|Has initial={{uc:{{#sub:{{#var:@sort title}}|0|1}}}}
]]--
p.set = function( frame )
p.set = function( frame )
local titelid = frame.args.titelid or ""
local titelid = frame.args.titelid or ""
local boekid = frame.args.boekid or ""
local boekid = frame.args.boekid or ""
local titelGew = ""
local titelBiblio = ""
local labelForSort = ""
if titelid ~= "" then
titelGew = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelGew" )
titelBiblio = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelBiblio" )
labelForSort = mFormatForSorting.flatten( mw.text.trim( titelBiblio ) )
end


end
end


return p
return p

Versie van 28 okt 2025 15:16

Module:Class/Book contribution




example




local p = {}
local mSlot = require("Module:Slot")
local mFormatForSorting = require("Module:Format for sorting")
--local mTitle = require("Module:Class/Title")
--local mPerson = require("Module:Class/Person")

--[[
-->{{#slottemplates:ws-page-props |{{{TitelID|}}} | @title-props }}<!--
-->{{#vardefine:@titel|{{#caprint:@title-props[Title][TitelGew]}} }}<!--
-->{{#vardefine:@sort title|{{Strip title for sorting|{{lc:{{#caprint:@title-props[Title][TitelBiblio]}}}} }} }}<!--
-->{{DISPLAYTITLE:{{#var:@titel|Geen titel}}}}<!--

|Has publication year={{#show:{{{BoekID|}}} |?Has publication year}}
|Has publication year (date)={{#show:{{{BoekID|}}} |?Has publication year (date)}}
|Title={{#var:@titel|Geen titel}}
|Title plain={{#var:@titel|Geen titel}}
|Has sort label={{#var:@sort title}}¶
|Has sort label by author={{#show:{{{TitelID|-}}}|?Has sort label by author=|link=none}}
|Has initial={{uc:{{#sub:{{#var:@sort title}}|0|1}}}}

]]--
	
p.set = function( frame )
	local titelid = frame.args.titelid or ""
	local boekid = frame.args.boekid or ""
	
	local titelGew = ""
	local titelBiblio = ""
	local labelForSort = ""
	if titelid ~= "" then
		titelGew = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelGew" )
		titelBiblio = mSlot.getValueFromTemplateData( "ws-page-props", titelid, "Title", "TitelBiblio" )
		labelForSort = mFormatForSorting.flatten( mw.text.trim( titelBiblio ) )
	end

end

return p