Jump to content

Module:Cite web

Gikan sa Bikol Sentral na Wikipedia, an talingkas na ensiklopedya
Pagbabago puon kaitong 11:56, 19 Mayo 2023 ni Ralffralff (urulay | ambag) (Pinagmukna an pahina kaining "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 fr...")
(iba) ← Mas luma | Presenteng pagbabago (iba) | Mas bago → (iba)

Lua error in Module:Documentation at line 144: message: type error in message cfg.container (string expected, got nil).

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