Content added Content deleted
No edit summary |
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 |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
function p.main(frame) |
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 |
end |
||
Latest revision as of 18:42, 11 October 2023
Documentation for this module may be created at Module:Infobox character/sandbox/doc