Module:Citation/CS2

தமிழர்விக்கியிலிருந்து
imported>Lingam பயனரால் செய்யப்பட்ட 11:16, 6 சனவரி 2024 அன்றிருந்தவாரான திருத்தம் ("local p = {} local CS1 = require('Module:Citation/CS1') p[''] = function(frame) local newFrame = { getParent = function(self) return frame end, getTitle = function(self) return 'Template:Citation' end, args = {CitationClass='citation'} } setmetatable(newFrame, { __index = function(t, k) if type(frame[k]) == 'function'..."-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது)
(வேறுபாடு) ← பழைய திருத்தம் | ஆக அண்மைய திருத்தம் (வேறுபாடு) | புதிய திருத்தம் → (வேறுபாடு)
Jump to navigation Jump to search

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

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

p[''] = function(frame)
	local newFrame = {
	    getParent = function(self)
	    	return frame
	    end,
	    getTitle = function(self)
	    	return 'Template:Citation'
	    end,
	    args = {CitationClass='citation'}
	}
	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
"https://tamilar.wiki/w/index.php?title=Module:Citation/CS2&oldid=87572" இலிருந்து மீள்விக்கப்பட்டது