Module:Sandbox/User:Californ1a/T/Professions: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Californ1a (talk | contribs) mNo edit summary |
Californ1a (talk | contribs) 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() |
||
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 |
||