Module:Sandbox/User:Californ1a/T/Professions: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
Line 92: Line 92:
vertical = yn(pt.default_to(args.vertical, true), true),
vertical = yn(pt.default_to(args.vertical, true), true),
free = yn(pt.default_to(args.free, false), false),
free = yn(pt.default_to(args.free, false), false),
date = pt.default_to(args.date, '')
date = pt.default_to(args.date, ''),
right = yn(pt.default_to(args.right, false), false)
}
}
Line 215: Line 216:
:END()
:END()
return out:allDone()
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