Module:Outdent and Module:Outdent/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
update per style guide (TPER) |
test |
||
Line 25: | Line 25: | ||
width = width * 1.6 -- set width to proper width |
width = width * 1.6 -- set width to proper width |
||
local top = '<span style="display:block;width:' .. width .. 'em;height:0.5em;' .. (width == 0 and '' or 'border-bottom:1px solid # |
local top = '<span style="display:block;width:' .. width .. 'em;height:0.5em;' .. (width == 0 and '' or 'border-bottom:1px solid #AAA;') .. 'border-' .. ((width == 0 or reversed) and 'left' or 'right') ..':1px solid #AAA;"></span>' -- top half |
||
local bottom = '<span style="display:block;width:' .. width .. 'em;height:0.5em;border-' .. (reversed and 'right' or 'left') .. ':1px solid # |
local bottom = '<span style="display:block;width:' .. width .. 'em;height:0.5em;border-' .. (reversed and 'right' or 'left') .. ':1px solid #AAA;"></span>' -- bottom half |
||
local note = args[2] and '<span>([[Wikipedia:Indentation#Outdenting|outdent]]) </span>' or '' -- note |
local note = args[2] and '<span>([[Wikipedia:Indentation#Outdenting|outdent]]) </span>' or '' -- note |
||