Module:Keyboard vis: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 42: Line 42:
line_4 = line_4 .. CORNER_BR
line_4 = line_4 .. CORNER_BR
local out_str = (debugg == true and '<<nowiki />pre ' or '<pre ')
local out_str = (debugg == true and '&lt;pre style=&quot;' or '<pre style="')
.. 'background-color: white; '
.. 'background-color: white; '
.. 'line-height: 1; '
.. 'line-height: 1; '
Line 48: Line 48:
.. 'font-size: 1em; '
.. 'font-size: 1em; '
.. 'padding: 0.1em; '
.. 'padding: 0.1em; '
.. 'margin: 0.1em;">'
.. 'margin: 0.1em;'
.. (debugg == true and '&quot;&gt' or '">')
.. string.format('\n%s\n%s\n%s\n%s\n', line_1, line_2, line_3, line_4)
.. string.format('\n%s\n%s\n%s\n%s\n', line_1, line_2, line_3, line_4)
.. (debugg == true and '<<nowiki />/pre>' or '</pre>')
.. (debugg == true and '&lt;/pre&gt;' or '</pre>')
return out_str
return out_str
end
end


return p
return p