Module:Keyboard vis: Difference between revisions

Ganaram inukshuk (talk | contribs)
Created page with "local p = {} local CORNER_TL = '┌' local CORNER_TR = '┐' local CORNER_BL = '└' local CORNER_BR = '┘' local BORDER_BLACK_KEY_TOP = '╥' local BORDER_WHITE..."
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 40: Line 40:
line_4 = line_4 .. CORNER_BR
line_4 = line_4 .. CORNER_BR
return string.format('<pre style="background-color: white; line-height: 1; font-family: Courier New, monospace; font-size: 1em; padding: 0.1em; margin: 0.1em">%s\n%s\n%s\n%s</pre>', line_1, line_2, line_3, line_4)
local out_str = string.format('<pre style="background-color: white; '
.. 'line-height: 1; '
.. 'font-family: Courier New, monospace; '
.. 'font-size: 1em; '
.. 'padding: 0.1em; '
.. 'margin: 0.1em;">%s\n%s\n%s\n%s</pre>', line_1, line_2, line_3, line_4)
return out_str
end
end


return p
return p