Module:Cite web
Appearance
This module is rated as ready for general use. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
This module should only be used on articles which are near the post-expand include size limit, in order to prevent them exceeding it. Unless there is a pressing technical need, use {{Cite web}} like normal. |
This module depends on the following other modules: |
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 web'
end,
args = {CitationClass='web'}
}
setmetatable(newFrame, {
__index = function(t, k)
if type(frame[k]) == 'function' then
return function(...)
return frame[k](frame, select(2, ...))
end
else
return frame[k]
end
end
})
return CS1.citation(newFrame)
end
return p