Content deleted Content added
No edit summary |
No edit summary |
||
Line 186:
colour = string.match(colour, '#') and colour or '#' .. colour
end
local linkedBox =
style == 'link' or
style == 'lsquare' or
style and string.match(style, 'route')
if linkedBox then
root:wikitext(string.match(lineTitle, '%[%[.+|'))
Line 209 ⟶ 210:
:css('margin', '1px')
end
if
style == 'ldot' or
style == 'square' or
style == 'lsquare' then
box:css('line-height', 'initial')
end
if
style == 'ldot' or
if i == 5 then box:css('background-color', colour) end▼
style == 'square' or
style == 'lsquare' or
style == 'xroute' then
box:css('color', colour)
else
end
if
style == nil or
if style == v then box:css('border', '1px solid black') break end▼
style == 'inline' or style == 'yes' or
box▼
style == 'box' then
:css('border', '.075em solid ' .. (▼
typeData and typeData['border color'] or▼
elseif style and string.match(style, 'route') then
lineData and lineData['border color'] or▼
colour▼
)
)
:css('padding', '0 .3em') end
end
Line 256 ⟶ 270:
end
if linkedBox then root:wikitext(']]') end
if
style == nil or
if style == v then div:wikitext(' ', lineTitle) break end▼
style == 'inline' or style == 'yes' or
style == 'small' or
style == 'dot' or
style == 'square' then
end
return root
|