Editing Module:Sandbox/User:Californ1a/T/Quests
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
local pt = require('Module:Paramtest') |
local pt = require('Module:Paramtest') |
||
local yn = require('Module:Yesno') |
local yn = require('Module:Yesno') |
||
local lang = mw.language.getContentLanguage() |
|||
local p = {} |
local p = {} |
||
Line 17: | Line 18: | ||
local other = { |
local other = { |
||
free = yn(pt.default_to(args.free, false), false), |
free = yn(pt.default_to(args.free, false), false), |
||
collapsed = yn(pt.default_to(args. |
collapsed = yn(pt.default_to(args.free, false), false) |
||
right = yn(pt.default_to(args.right, false), false) |
|||
} |
} |
||
Line 150: | Line 150: | ||
end |
end |
||
out:allDone() |
return out:allDone() |
||
local div = out |
|||
if other.right then |
|||
div = mw.html.create('div') |
|||
:css({float='right'}) |
|||
:node(out) |
|||
:done() |
|||
end |
|||
return div |
|||
end |
end |
||