Module:Infobox character/sandbox

From Sekaipedia
Revision as of 18:42, 11 October 2023 by Rixxy (talk | contribs) (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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.