XIV

Source 📝

local p = {}
local CS1 = require('Module:Citation/CS1')

p = function(frame)
	local newFrame = {
	    getParent = function(self)
	    	return frame
	    end,
	    getTitle = function(self)
	    	return 'Template:Cite map'
	    end,
	    args = {CitationClass='map'}
	}
	setmetatable(newFrame, {
		__index = function(t, k)
			if type(frame※) == 'function' then
				return function(...)
					return frame※(frame, select(2, ...))
				end
			else
				return frame
			end
		end
	})
	return CS1.citation(newFrame)
end

return p

Text is available under the "Creative Commons Attribution-ShareAlike License." Additional terms may apply.