Module documentation

This module has various functions described below and should only be utilized on templates. To call a module in a template, insert {{#invoke:Series|function name|various parameters}} onto the template.

For help on this module, please contact an administrator.
Visit Module:Series/doc to edit this text! (How does this work?)

--[[Category:Lua modules]]
local p = {}
local seriesData = mw.loadData('Module:Series/data')

function p.properSeries(frame)
	local name= frame.args[1]
	name = mw.ustring.upper(name)
	if seriesData[name]
		then properName=seriesData[name]
		else properName=frame.args[1]
    		.."[[Category:"
    		.."Broken S link|"
    		..frame.args[1]
    		.."]]"
	end
	return properName
end
return p
Community content is available under CC-BY-SA unless otherwise noted.