Module:Infobox character/sandbox: Difference between revisions

From Sekaipedia
Content added Content deleted
(Blanked the page)
Tag: Blanking
m (Replaced content with "local ib = require('Module:Infobox character') local p = {} function p.main(frame) local lang = frame:preprocess('{{PAGELANGUAGE}}') local test if lang == 'en' then test = 'Test!' else test = 'not test!' end return ib.main(frame) .. test end return p")
Tags: Replaced Undo
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
local ib = require('Module:Infobox character')

local p = {}

function p.main(frame)
local lang = frame:preprocess('{{PAGELANGUAGE}}')
local test
if lang == 'en' then
test = 'Test!'
else
test = 'not test!'
end
return ib.main(frame) .. test
end

return p

Latest revision as of 18:42, 11 October 2023

Documentation for this module may be created at Module:Infobox character/sandbox/doc

local ib = require('Module:Infobox character')

local p = {}

function p.main(frame)
	local lang = frame:preprocess('{{PAGELANGUAGE}}')
	local test
	
	if lang == 'en' then
		test = 'Test!'
	else
		test = 'not test!'
	end
	
	return ib.main(frame) .. test
end

return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.