Template:CodeBlock: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
--></div>}}<!-- | --></div>}}<!-- | ||
--><div style="display:flex"><!-- | --><div style="display:flex"><!-- | ||
-->{{#if:{{{lines|}}}|<div style="padding:. | -->{{#if:{{{lines|}}}|<div style="padding:.6em 0 .5em 0;background-color:rgba(0,0,0,.1);border-right:1px solid rgba(255,255,255,.1)"><ol start="{{{start|1}}}" style="margin-top:0;user-select:none;margin-right:-10px;text-indent:0">{{padright:|{{#expr:5 * {{{lines}}}}}|<li> }}{{#ifexpr:{{{lines}}} > 100 |{{padright:|{{#expr:5 * ({{{lines}}} - 100)}}|<li> }}}}{{#ifexpr:{{{lines}}} > 200 |{{padright:|{{#expr:5 * ({{{lines}}} - 200)}}|<li> }}}}{{#ifexpr:{{{lines}}} > 300 |{{padright:|{{#expr:5 * ({{{lines}}} - 300)}}|<li> }}}}{{#ifexpr:{{{lines}}} > 400 |{{padright:|{{#expr:5 * ({{{lines}}} - 400)}}|<li> }}}}</ol></div>}}<!-- | ||
--><div style="padding:.5em;text-indent:0;line-height:1.6em">{{{1|}}}</div><!-- | --><div style="padding:.55em .5em .5em .5em;text-indent:0;line-height:1.6em">{{{1|}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div></includeonly></onlyinclude>{{doc}} | --></div></includeonly></onlyinclude>{{doc}} |
Revision as of 06:15, 17 February 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.