Module:Book
From Eli's Software Encyclopedia
Documentation for this module may be created at Module:Book/doc
local p = {}
local p = {}
function p.semanticStore(frame)
local titleObj = mw.title.getCurrentTitle()
local args = frame:getParent().args or {}
local booktitle = args.booktitle
if not booktitle or booktitle == '' then
booktitle = titleObj.text
end
mw.smw.set{
['Has title'] = booktitle
}
end
return p
