Module:YearStrip

From WikiConference North America
Jump to: navigation, search

Documentation for this module may be created at Module:YearStrip/doc

local p = { }

function p.YearStrip(pagename)
	local output = string.gsub(pagename.args[1], "[0-9][0-9][0-9][0-9]%/", "", 1)
	return output
end

return p