User:Max34/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 109: Line 109:
</div>
</div>


<!-- <1div class="plainlinks" style="position:absolute; inset-inline-end:0; top:19px; display:flex; width:max-content; background:linear-gradient(#0000, #2E2E2E); line-height:27px; user-select:none; --Border:linear-gradient(#0000, #65635F); --Darkener:linear-gradient(#26262670, #26262670)">
<!-- <1div class="plainlinks" style="position:absolute; inset-inline-end:0; top:19px; display:flex; align-items:center; gap:2px; width:max-content; line-height:27px; user-select:none">


<div style="width:1px; background:var(--Border)"></div>
<div style="position:relative">
<div style="background:#808080; width:20px; height:21px; clip-path:path('M10 0C11.636 0 13.357.768 14.419 1.831 15.482 2.893 16.195 4.614 16.25 6.25L16.25 7.5H13.75L13.75 6.25C13.805 5.125 13.399 4.346 12.652 3.598 11.904 2.851 11.125 2.5 10 2.5 8.875 2.5 8.096 2.851 7.348 3.598 6.601 4.346 6.195 5.125 6.25 6.25L6.25 7.5H3.75L3.75 6.25C3.805 4.614 4.518 2.893 5.581 1.831 6.643.768 8.364 0 10 0Z')"></div>
<div style="position:absolute; top:0; width:20px; height:21px; background:#FECB32; clip-path:path('M3.75 7.5 16.25 7.5C16.94 7.5 17.5 8.06 17.5 8.75L17.5 18.75C17.5 19.44 16.94 20 16.25 20L3.75 20C3.06 20 2.5 19.44 2.5 18.75L2.5 8.75C2.5 8.06 3.06 7.5 3.75 7.5ZM12 11.75C12 10.645 11.105 9.75 10 9.75 8.895 9.75 8 10.645 8 11.75 8 12.855 8.895 13.75 10 13.75 11.105 13.75 12 12.855 12 11.75ZM13.75 17.5 13.75 16.5C13.75 14.5 6.25 14.5 6.25 16.5L6.25 17.5Z')"></div>
</div>


<div class="toctogglelabel" style="position:relative; padding:0 7px; color:#898785 !important">[{{canonicalurl:ru/SDK Docs}}?action=edit <hr class="vector-menu-checkbox">] Edit Translation</div>
<div style="display:flex; background:linear-gradient(#0000, #2E2E2E); --Border:linear-gradient(#0000, #65635F) 1; --Darkener:linear-gradient(#26262670, #26262670)">


<div style="width:1px; background:var(--Border)"></div>
<div class="toctogglelabel" style="position:relative; padding:0 7px; border-inline:1px solid; border-image:var(--Border); color:#898785 !important">[{{canonicalurl:ru/SDK Docs}}?action=edit <hr class="vector-menu-checkbox">] Edit Translation</div>


<div class="vector-menu-dropdown" style="all:unset; position:relative">
<div class="vector-menu-dropdown" style="all:unset; position:relative">
<div class="vector-menu-heading" style="align-items:center; padding:0 7px; font-size:1em">{{int:cactions}}</div>
<div class="vector-menu-heading" style="align-items:center; padding:0 7px; font-size:1em">{{int:Cactions}}</div>
<div class="vector-menu-content" style="left:auto; right:auto; inset-inline-end:-11px; width:max-content; padding:0 10px 10px; border:0; background:none; box-shadow:none; line-height:24px; font-size:1.1em; cursor:default">
<div class="vector-menu-content" style="left:auto; right:auto; inset-inline-end:-11px; width:max-content; padding:0 10px 10px; border:0; background:none; box-shadow:none; line-height:24px; font-size:1.1em">
<table class="TablePager" cellspacing="0" style="padding:2px">
<table class="TablePager" style="padding:2px; border-spacing:0">


<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--Darkener)">
<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--Darkener)">
<div style="width:18px; height:18px; background:#EEE; clip-path:path('M4.73 11.68C3.58 10.7 2.77 9.58 2.38 9c.39-.58 1.2-1.7 2.35-2.68C5.91 5.3 7.36 4.5 9 4.5s3.1.8 4.27 1.82c1.15.98 1.96 2.1 2.35 2.68-.39.58-1.2 1.7-2.35 2.68C12.1 12.7 10.64 13.5 9 13.5c-1.64 0-3.09-.8-4.27-1.82ZM9 3C6.86 3 5.07 4.05 3.75 5.18 2.42 6.32 1.51 7.6 1.1 8.23.79 8.7.79 9.3 1.1 9.77c.41.63 1.32 1.91 2.65 3.05C5.07 13.95 6.86 15 9 15s3.93-1.05 5.25-2.18c1.33-1.14 2.24-2.42 2.65-3.05.31-.47.31-1.07 0-1.54-.41-.63-1.32-1.91-2.65-3.05C12.93 4.05 11.14 3 9 3ZM7.5 9c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5S7.5 9.83 7.5 9ZM9 6C7.34 6 6 7.34 6 9s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3Z')"></div> {{int:view}}
<div style="width:18px; height:18px; background:#EEE; clip-path:path('M4.73 11.68C3.58 10.7 2.77 9.58 2.38 9c.39-.58 1.2-1.7 2.35-2.68C5.91 5.3 7.36 4.5 9 4.5s3.1.8 4.27 1.82c1.15.98 1.96 2.1 2.35 2.68-.39.58-1.2 1.7-2.35 2.68C12.1 12.7 10.64 13.5 9 13.5c-1.64 0-3.09-.8-4.27-1.82ZM9 3C6.86 3 5.07 4.05 3.75 5.18 2.42 6.32 1.51 7.6 1.1 8.23.79 8.7.79 9.3 1.1 9.77c.41.63 1.32 1.91 2.65 3.05C5.07 13.95 6.86 15 9 15s3.93-1.05 5.25-2.18c1.33-1.14 2.24-2.42 2.65-3.05.31-.47.31-1.07 0-1.54-.41-.63-1.32-1.91-2.65-3.05C12.93 4.05 11.14 3 9 3ZM7.5 9c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5S7.5 9.83 7.5 9ZM9 6C7.34 6 6 7.34 6 9s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3Z')"></div> {{int:View}}
[{{canonicalurl:ru/{{FULLPAGENAME}}}} <hr class="vector-menu-checkbox">]
[{{canonicalurl:ru/{{FULLPAGENAME}}}} <hr class="vector-menu-checkbox">]
</td></tr>
</td></tr>


<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--Darkener)">
<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--Darkener)">
<div style="width:18px; height:18px; background:#EEE; clip-path:path('m3.76 8.68.96-.96c.29-.29.77-.29 1.06 0s.29.77 0 1.06L3.53 11.03c-.14.14-.33.22-.53.22s-.39-.08-.53-.22L.22 8.78c-.29-.29-.29-.77 0-1.06s.77-.29 1.06 0l.98.98c.16-4.01 3.45-7.2 7.49-7.2 4.14 0 7.5 3.36 7.5 7.5s-3.36 7.5-7.5 7.5c-2.36 0-4.46-1.09-5.83-2.79-.26-.32-.21-.79.11-1.05.32-.26.79-.21 1.05.11C6.18 14.13 7.87 15 9.75 15c3.31 0 6-2.69 6-6s-2.69-6-6-6C6.54 3 3.92 5.52 3.76 8.68ZM9.75 3.75c.41 0 .75.34.75.75V8.69l2.03 2.03c.29.29.29.77 0 1.06-.29.29-.77.29-1.06 0L9.22 9.53C9.08 9.39 9 9.2 9 9V4.5c0-.41.34-.75.75-.75Z')"></div> {{int:vector-view-history}}
<div style="width:18px; height:18px; background:#EEE; clip-path:path('m3.76 8.68.96-.96c.29-.29.77-.29 1.06 0s.29.77 0 1.06L3.53 11.03c-.14.14-.33.22-.53.22s-.39-.08-.53-.22L.22 8.78c-.29-.29-.29-.77 0-1.06s.77-.29 1.06 0l.98.98c.16-4.01 3.45-7.2 7.49-7.2 4.14 0 7.5 3.36 7.5 7.5s-3.36 7.5-7.5 7.5c-2.36 0-4.46-1.09-5.83-2.79-.26-.32-.21-.79.11-1.05.32-.26.79-.21 1.05.11C6.18 14.13 7.87 15 9.75 15c3.31 0 6-2.69 6-6s-2.69-6-6-6C6.54 3 3.92 5.52 3.76 8.68ZM9.75 3.75c.41 0 .75.34.75.75V8.69l2.03 2.03c.29.29.29.77 0 1.06-.29.29-.77.29-1.06 0L9.22 9.53C9.08 9.39 9 9.2 9 9V4.5c0-.41.34-.75.75-.75Z')"></div> {{int:Vector-view-history}}
[{{canonicalurl:ru/{{FULLPAGENAME}}}}?action=history <hr class="vector-menu-checkbox">]
[{{canonicalurl:ru/{{FULLPAGENAME}}}}?action=history <hr class="vector-menu-checkbox">]
</td></tr>
</td></tr>


<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--Darkener); {{#ifexist:Talk:ru/{{FULLPAGENAME}}||color:#688BA8}}">
<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--Darkener); {{#ifexist:Talk:ru/{{FULLPAGENAME}}||color:#688BA8}}">
<div style="width:18px; height:18px; background:#EEE; clip-path:path('M17.85 13.78c.25.32.37 1.39-1.33 1.2-.5-.05-1.2-.15-2.04-.47-.56-.22-1.05-.48-1.46-.75-.67.27-1.39.44-2.14.48-1.02 1.38-2.66 2.26-4.5 2.26-.61 0-1.2-.1-1.75-.28-.33.2-.7.39-1.11.54-.84.32-1.54.44-2.04.47-.38.03-.64.01-.78 0-.28-.04-.53-.2-.65-.48-.09-.23-.06-.51.1-.72.19-.26.36-.53.53-.81.32-.53.63-1.1.71-1.74-.41-.77-.64-1.67-.64-2.6 0-2.25 1.31-4.19 3.22-5.09C4.72 2.89 7.37.75 10.5.75c3.73 0 6.75 3.02 6.75 6.75 0 1.03-.23 2.01-.64 2.88-.15 1.3.5 2.39 1.24 3.4ZM5.25 7.5c0 2.9 2.35 5.25 5.25 5.25.82 0 1.59-.19 2.27-.52.25-.12.54-.09.77.07.68.49 1.45.86 2.27 1.06-.56-1.04-.84-2.12-.68-3.3.01-.08.03-.15.07-.23.35-.7.55-1.49.55-2.33 0-2.9-2.35-5.25-5.25-5.25S5.25 4.6 5.25 7.5Zm-1.5.19c-.92.76-1.5 1.9-1.5 3.19 0 .75.2 1.46.56 2.07.07.12.11.27.1.42-.01.23-.04.48-.1.73-.12.51-.37 1.05-.63 1.51.24-.06.51-.15.8-.25.45-.17.84-.38 1.17-.59.2-.14.46-.16.68-.07.48.19 1 .3 1.55.3.98 0 1.89-.35 2.6-.92-2.94-.68-5.14-3.27-5.23-6.39Z')"></div> {{int:talk}}
<div style="width:18px; height:18px; background:#EEE; clip-path:path('M17.85 13.78c.25.32.37 1.39-1.33 1.2-.5-.05-1.2-.15-2.04-.47-.56-.22-1.05-.48-1.46-.75-.67.27-1.39.44-2.14.48-1.02 1.38-2.66 2.26-4.5 2.26-.61 0-1.2-.1-1.75-.28-.33.2-.7.39-1.11.54-.84.32-1.54.44-2.04.47-.38.03-.64.01-.78 0-.28-.04-.53-.2-.65-.48-.09-.23-.06-.51.1-.72.19-.26.36-.53.53-.81.32-.53.63-1.1.71-1.74-.41-.77-.64-1.67-.64-2.6 0-2.25 1.31-4.19 3.22-5.09C4.72 2.89 7.37.75 10.5.75c3.73 0 6.75 3.02 6.75 6.75 0 1.03-.23 2.01-.64 2.88-.15 1.3.5 2.39 1.24 3.4ZM5.25 7.5c0 2.9 2.35 5.25 5.25 5.25.82 0 1.59-.19 2.27-.52.25-.12.54-.09.77.07.68.49 1.45.86 2.27 1.06-.56-1.04-.84-2.12-.68-3.3.01-.08.03-.15.07-.23.35-.7.55-1.49.55-2.33 0-2.9-2.35-5.25-5.25-5.25S5.25 4.6 5.25 7.5Zm-1.5.19c-.92.76-1.5 1.9-1.5 3.19 0 .75.2 1.46.56 2.07.07.12.11.27.1.42-.01.23-.04.48-.1.73-.12.51-.37 1.05-.63 1.51.24-.06.51-.15.8-.25.45-.17.84-.38 1.17-.59.2-.14.46-.16.68-.07.48.19 1 .3 1.55.3.98 0 1.89-.35 2.6-.92-2.94-.68-5.14-3.27-5.23-6.39Z')"></div> {{int:Talk}}
[{{canonicalurl:Talk:ru/{{FULLPAGENAME}}}} <hr class="vector-menu-checkbox">]
[{{canonicalurl:Talk:ru/{{FULLPAGENAME}}}} <hr class="vector-menu-checkbox">]
</td></tr>
</td></tr>
Line 146: Line 149:
</div>
</div>


<div style="width:1px; background:var(--Border)"></div>
<div class="vector-menu-dropdown" style="all:unset; position:relative; border-inline:1px solid; border-image:var(--Border)">
 
<div class="vector-menu-dropdown" style="all:unset; position:relative">
<div class="vector-menu-heading" style="align-items:center; padding:0 7px; font-size:1em">[[File:Flag-en.png|link=|16px]]&nbsp;{{ucfirst:{{#language:en}}}}</div>
<div class="vector-menu-heading" style="align-items:center; padding:0 7px; font-size:1em">[[File:Flag-en.png|link=|16px]]&nbsp;{{ucfirst:{{#language:en}}}}</div>
<div class="vector-menu-content" style="left:auto; right:auto; inset-inline-end:-11px; padding:0 10px 10px; border:0; background:none; box-shadow:none; font-size:1.1em; cursor:default; line-height:24px; width:max-content; color-scheme:dark">
<div class="vector-menu-content" style="left:auto; right:auto; inset-inline-end:-11px; padding:0 10px 10px; border:0; background:none; box-shadow:none; font-size:1.1em; line-height:24px; width:max-content; color-scheme:dark">
<table class="TablePager" cellspacing="0" style="display:block; overflow-y:auto; max-height:246px; padding:2px; scrollbar-width:thin">
<table class="TablePager" style="display:block; overflow-y:auto; max-height:246px; padding:2px; border-spacing:0; scrollbar-width:thin">


<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 6px; border:0; background-image:var(--Darkener)">[[File:Flag-en.png|link=|16px]] [[SDK Docs|English]]
<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 6px; border:0; background-image:var(--Darkener)">[[File:Flag-en.png|link=|16px]] [[SDK Docs|English]]
Line 232: Line 233:
</div></div>
</div></div>


<div style="width:1px; background:var(--Border)"></div>
</div>
 
</div> -->
</div> -->



Revision as of 06:55, 20 October 2025

A completely normal text that definitely doesn't change in any way during the preview when editing this page.

"Страница"

Этот текст будет переноситься! А вот этот нет. И снова переносимый текст!

А вот и шаблон который в ориге имеет preset=2, но не в вызове! А здесь наоборот: шаблон.

Или вот как тебе появляющаяся {{Test}} ссылка? Или внезапный красный?

Её вызов

Этот текст будет переноситься! И снова переносимый текст!

А вот и шаблон который в ориге имеет preset=2, но не в вызове! А здесь наоборот: шаблон.

Или вот как тебе появляющаяся {{Test}} ссылка? Или внезапный зелёный?



Stuff for Templates

This template prefers inline formatting of parameters.

This template prefers block formatting of parameters.

This template requires special formatting of parameters.


Useful Interface messages

  • Preview
  • (Preview not available)
  • No description available.
  • Examples
  • Deprecated parameters
  • Additional parameters
  • Parameter name
  • This parameter is required.
  • This parameter is deprecated.
  • the empty string
  • Default: value
  • Default: (empty)
  • Must be empty
    • Can be empty, or value
  • Type: float
    • Type: list of floats
  • Type: integer
    • Type: list of integers
  • Only accepts pages that exist.
  • Accepts non-existent pages.
  • username
  • The "value" parameter must be set.
  • Actions
  • Translate
  • Language:
  • Valve Developer Community does not have namespace "$1".
  • Credits
  • Data types
  • Examples:
    • Examples:
  • Deprecated.
  • deprecated
  • Source: value
  • Parameter value1 cannot be used without value2.
  • File does not exist.
  • Unknown error.
  • Page content.
  • Title of the page.


Anchor with margin

Gallery stuff

Wayback svg icon

My reworked version is more pixel accurate, but still looks bad at smaller sizes.

Some Experiments with collapsible elements

#HEX
RGB()
HSL()


Windows Windows

My First Windows 98 Program
This is my Windows 98!



My First Windows XP Program
This is my Windows XP!



My First Windows 7 Program
This is my Windows 7!



My First Windows 7 Aero Program
This
is
my
Windows
7
Aero
!



SVG imitation








Всякий текст ё-маё

Всякий текст ё-маё

Всякий текст ё-маё

Всякий текст ё-маё

Всякий текст ё-маё

Всякий текст ё-маё



scroll-margin-top works!



{{{1}}}

36:22

Hi, i’m Test!
Text Size:
Размер текста:

Translation Progress (Russian): Division by zero.%

Named Colors

For VDCEditor tests

Это самый обычный текст.

Это текст обёрнутый в тег <span>.

У этого текста указано CSS свойство font-weight:bold, что делает его жирным.

Тут текст окрашен в зелёный цвет с помощью CSS свойства color:green.

В этом тексте используется вложенный тег <span> с другим цветом текста

В этом тексте используется шаблон {{intlang}}, который отображает код языка интерфейса (en).

А здесь используется параметр, стандартным значением которого является 'green' если он не был указан: green.

Этот же параметр, но уже в CSS стиле текста