Module:GetWatermark
From Bodhicitta
Documentation for this module may be created at Module:GetWatermark/doc
local p = {}
function p.main(frame)
local pArgs = frame:getParent().args
local output = ''
if pArgs.watermark then
return pArgs.watermark
elseif pArgs.subclasses then
for value in string.gmatch(pArgs.subclasses, "([^;]+)") do
if value == "Stories" then return "Story"
else return value
end
end
end
end
return p