Module:Test: Difference between revisions

From ProleWiki, the proletarian encyclopedia
No edit summary
m (Test)
Line 1: Line 1:
local p = {}
local p = {}
local function cite(frame)
local pframe = frame:getParent()
local args = {};
function p.cite(frame)
local config = {};
local Quote = pframe.args.quote
for k,v in pairs(frame.args) do
Quote = string.gsub(Quote,"\n","<br>")
config[k] = v;
return Quote
end
end
end
return p
return p

Revision as of 02:25, 4 June 2022

local p = {}
local pframe = frame:getParent()
function p.cite(frame)
	local Quote = pframe.args.quote
	Quote = string.gsub(Quote,"\n","<br>")
	return Quote
end
return p