User:Nescius/sandbox/test20: Difference between revisions
Jump to navigation
Jump to search
Bug: {| class="mw-collapsible mw-collapsed" style="background:rgba(0,0,0,0.05) ;float:no;margin-bottom:1em;margin-left:0;padding-right:0.5em;border:1px solid rgba(255,255,255,0.1); border-left:solid 1px #8bb9e0; padding-left:1em;"
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
[[:File:Test.txt]] | [[:File:Test.txt]] | ||
{{ | <!-- | ||
--><div style="overflow:hidden;background-color:{{#switch:1|1=rgba(0,0,0,.1)|rgba(0,0,0,.4)}};{{#switch:1|1=border:1px solid rgba(48,48,48,1);|}}border-radius:4px; font-family:monospace,monospace; line-height:1.125rem; text-indent:0; white-space:pre-wrap; margin: .3em 0 .3em 0"><!-- | |||
-->{{#if:{{{name}}}.fgd ([[Template:FGD/{{PAGENAME}}|light text]])|<div style="display:flex;justify-content:space-between;background-color:rgba(0,0,0,.1); border-bottom:1px solid rgba(255,255,255,.1); font-family:monospace,monospace;line-height:1.125rem; text-indent:0; white-space:pre-wrap; padding:.5em"><!-- | |||
--><!-- | |||
--><div>{{{name}}}.fgd ([[Template:FGD/{{PAGENAME}}|light text]])</div><!-- | |||
-->{{#if:fgd|<div>{{#switch:fgd|plain=Plain text|html=HTML|css=CSS|scss=SCSS|less=LESS|js=JavaScript|json=JSON|php=PHP|c=C|csharp=C#|cpp=C++|pascal=Pascal|python=Python|java=Java|squirrel=Squirrel|lua=Lua|glua=gLua|fgd=Forge Game Data|fgd}}</div>}}<!-- | |||
--><!-- | |||
--></div>}}<!-- | |||
--><!-- | |||
--><div style="width:100%"><!-- | |||
--><div style="scrollbar-color:#373737 #101010; position:relative;width:100%;display:flex;max-height:unset;overflow:auto"><!-- | |||
-->{{#if:|<div style="z-index:1;display:flex;position:sticky;left:0;height:100%;padding:.5em 0 .4em 0;background-color:{{#switch:1|1=rgb(31,31,31)|rgb(24,24,24)}};border-right:1px solid rgb(48,48,48)"><!-- | |||
--><ol start="1" style="text-align:right;pointer-events:none;white-space:nowrap;list-style-position:inside;margin-left:8px;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="width:100%;text-indent:0;line-height:1.6em;white-space:{{#if:1|pre-wrap|pre}};height:100%;tab-size:4;"><!-- | |||
-->{{#if:|<div style="position:sticky;z-index:0"><!-- | |||
--><div style="width:100%;background:rgba(255,128,0,0.1);margin-top:calc((1.6em * (1 - 1)) + .45em);margin-bottom:.45em;height:calc(1.6em * 1);position:absolute;left:0;user-select:none;pointer-events:none"><!-- | |||
--></div><!-- | |||
--></div>}}{{#if:|<div style="position:sticky;z-index:0"><!-- | |||
--><div style="width:100%;background:rgba(255,128,0,0.1);margin-top:calc((1.6em * (2 - 1)) + .45em);margin-bottom:.45em;height:calc(1.6em * 1);position:absolute;left:0;user-select:none;pointer-events:none"><!-- | |||
--></div><!-- | |||
--></div>}}{{#if:|<div style="position:sticky;z-index:0"><!-- | |||
--><div style="width:100%;background:rgba(255,128,0,0.1);margin-top:calc((1.6em * (3 - 1)) + .45em);margin-bottom:.45em;height:calc(1.6em * 1);position:absolute;left:0;user-select:none;pointer-events:none"><!-- | |||
--></div><!-- | |||
--></div>}}{{#if:|<div style="position:sticky;z-index:0"><!-- | |||
--><div style="width:100%;background:rgba(255,128,0,0.1);margin-top:calc((1.6em * (4 - 1)) + .45em);margin-bottom:.45em;height:calc(1.6em * 1);position:absolute;left:0;user-select:none;pointer-events:none"><!-- | |||
--></div><!-- | |||
--></div>}}<div style="padding:.45em .5em;position:relative">{{#if:|{{#tag:syntaxhighlight|{{FGD/{{PAGENAME}} }}|lang={{{highlight}}}|inline=1|style="background-color:transparent;"}}|{{FGD/{{PAGENAME}} }}}}</div><!-- | |||
--></div><!-- | |||
--><!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--><!-- | |||
--></div> |
Revision as of 05:07, 17 September 2024

|+ style="text-align:left; white-space:nowrap; font-weight:bold; color:#ddd; " | | 666
|} (tested in: ???)