Template:CodeBlock: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
--><!-- | --><!-- | ||
--><div>{{{src|The source was not specified}}}<span style=user-select:none></span></div><!-- | --><div>{{{src|The source was not specified}}}<span style=user-select:none></span></div><!-- | ||
-->{{#if:{{{lang|}}}|<div>{{#switch:{{{lang}}}|plain=Plain | -->{{#if:{{{lang|}}}|<div>{{#switch:{{{lang}}}|plain=Plain text|html=HTML|css=CSS|scss=SCSS|less=LESS|js=JavaScript|json=JSON|php=PHP|c=C|cs=C#|cpp=C++|pascal=Pascal|python=Python|java=Java|squirrel=Squirrel|lua=Lua|glua=gLua|{{{lang}}}}} <span style=user-select:none></span></div>}}<!-- | ||
--><!-- | --><!-- | ||
--></div>}}<!-- | --></div>}}<!-- | ||
Line 42: | Line 41: | ||
--><div style="width:100%;background:rgba(255,128,0,0.1);margin-top:calc((1.6em * ({{{lightstart4|4}}} - 1)) + .45em);margin-bottom:.45em;height:calc(1.6em * {{{lightamount4|1}}});position:absolute;left:0;user-select:none;pointer-events:none"><!-- | --><div style="width:100%;background:rgba(255,128,0,0.1);margin-top:calc((1.6em * ({{{lightstart4|4}}} - 1)) + .45em);margin-bottom:.45em;height:calc(1.6em * {{{lightamount4|1}}});position:absolute;left:0;user-select:none;pointer-events:none"><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div>}}<div style="padding:.45em .5em;position:relative">{{{1|}}} | --></div>}}<div style="padding:.45em .5em;position:relative">{{{1|}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--><!-- | --><!-- |
Revision as of 10:51, 28 June 2023
The above documentation is transcluded from Template:CodeBlock/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.