Modul:Cite web: Unterschied zwischen den Versionen
(Create alternative to {{cite web}} designed to resolve WP:PEIS issues, *only* for use on pages with such issues.) |
K (Protected "Module:Cite web": High-risk template or module (more info) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
Version vom 1. Mai 2021, 18:59 Uhr
Die Dokumentation für dieses Modul kann unter Modul:Cite web/doc erstellt werden
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