User:Max34/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 131: Line 131:
<div style="width:64px; height:64px; background:#FFF; clip-path:path('M4 6l2 2h52l2-2L32 0Zm2 4v4h52v-4Zm2 6Q7 26 7 35T8 54h4q1-10 1-19T12 16zm14 0q-1 10-1 19t1 19h4q1-10 1-19T26 16zm16 0q-1 10-1 19t1 19h4q1-10 1-19T42 16zm14 0q-1 10-1 19t1 19h4q1-10 1-19T56 16zM6 56v3h52V56ZM4 61v3H60v-3Z')"></div>
<div style="width:64px; height:64px; background:#FFF; clip-path:path('M4 6l2 2h52l2-2L32 0Zm2 4v4h52v-4Zm2 6Q7 26 7 35T8 54h4q1-10 1-19T12 16zm14 0q-1 10-1 19t1 19h4q1-10 1-19T26 16zm16 0q-1 10-1 19t1 19h4q1-10 1-19T42 16zm14 0q-1 10-1 19t1 19h4q1-10 1-19T56 16zM6 56v3h52V56ZM4 61v3H60v-3Z')"></div>


<includeonly><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"><!--
<includeonly><1div class="plainlinks" style="position:absolute; inset-inline-end:0; top:19px; display:flex; align-items:center; gap:4px; width:max-content; line-height:27px; user-select:none"><!--


-->{{#if:{{PROTECTIONLEVEL:edit}}|<div style="position:relative">
-->{{#if:{{PROTECTIONLEVEL:edit}}|<div style="position:relative; width:18px">
<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="background:#808080; height:7px; clip-path:path('m5 7q0-4.5 4-4.5T13 7h2.5q0-7-6.5-7T2.5 7')"></div>
<div style="position:absolute; top:0; width:20px; height:21px; background:#F7{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|48|C0}}43; 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> [[w:{{#switch:{{Language/interface}}|#default=Project:Protection_policy#{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|Full_protection|Semi-protection}}|ru=ru:Project:Правила_защиты_страниц#{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|Полная_защита|Частичная_защита}}}}|<hr class="vector-menu-checkbox" title="{{#switch:{{Language/interface}}|#default=This page is {{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop||semi-}}protected|ru=Эта страница {{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop||частично}} защищена}}">]]
<div style="height:14px; background:#F7{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|48|C0}}43; clip-path:path('M2.5 0h13Q17 0 17 1.5v10Q17 13 15.5 13H2.5Q1 13 1 11.5V1.5Q1 0 2.5 0Zm9 4.5C11.5 3.1 10.4 2 9 2S6.5 3.1 6.5 4.5 7.6 7 9 7s2.5-1.1 2.5-2.5Zm2 6.5V10c0-2.6-9-2.6-9 0v1Z')"></div> [[w:{{#switch:{{Language/interface}}|#default=Project:Protection_policy#{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|Full_protection|Semi-protection}}|ru=ru:Project:Правила_защиты_страниц#{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|Полная_защита|Частичная_защита}}}}|<hr class="vector-menu-checkbox" title="{{#switch:{{Language/interface}}|#default=This page is {{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop||semi-}}protected|ru=Эта страница {{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop||частично}} защищена}}">]]
</div>}}<!--
</div>}}<!--


Line 148: Line 148:


{{#ifexist:{{Language/interface}}/{{FULLPAGENAME}}|<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--C)">
{{#ifexist:{{Language/interface}}/{{FULLPAGENAME}}|<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--C)">
<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.7 11.7C3.6 10.7 2.8 9.6 2.3 9c.5-.6 1.3-1.7 2.4-2.7C5.9 5.3 7.4 4.5 9 4.5s3.1.8 4.3 1.8c1.1 1 2 2.1 2.4 2.7-.4.6-1.2 1.7-2.4 2.8S10.6 13.5 9 13.5s-3.1-.8-4.3-1.8ZM9 3Q6.5 3 3.7 5.2 2.2 6.5 1.1 8.2.6 9 1.1 9.8q1.1 1.7 2.6 3Q6.5 15 9 15t5.3-2.2q1.5-1.3 2.6-3 .5-.8 0-1.5-1.1-1.8-2.6-3Q11.5 3 9 3ZM7.5 9c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5-.7 1.5-1.5 1.5S7.5 9.8 7.5 9ZM9 6C7.3 6 6 7.3 6 9s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3Z')"></div> {{int:View}}
[{{canonicalurl:{{Language/interface}}/{{FULLPAGENAME}}}} <hr class="vector-menu-checkbox">]
[{{canonicalurl:{{Language/interface}}/{{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(--C)">
<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--C)">
<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.8 8.7l1-1c.3-.3.8-.3 1.1 0s.3.8 0 1.1L3.5 11q-.5.4-1 0L.2 8.8c-.3-.3-.3-.8-0-1.1s.8-.3 1.1 0l1 1c.2-4 3.5-7.2 7.5-7.2 4.1 0 7.5 3.4 7.5 7.5s-3.4 7.5-7.5 7.5c-2.4 0-4.5-1.1-5.8-2.8-.2-.3-.2-.8.1-1.1.3-.3.9-.2 1.1.1 1 1.4 2.7 2.3 4.6 2.3 3.3 0 6-2.7 6-6s-2.7-6-6-6-5.9 2.5-6 5.7Zm8.6 2c.3.3.3.8 0 1.1-.3.3-.8.3-1.1 0L9 9.5q-.2-.2-.2-.5V4.8c0-.4.3-.8.8-.8s.8.4.8.8V8.7')"></div> {{int:Vector-view-history}}
[{{canonicalurl:{{Language/interface}}/{{FULLPAGENAME}}}}?action=history <hr class="vector-menu-checkbox">]
[{{canonicalurl:{{Language/interface}}/{{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(--C); {{#ifexist:Talk:{{Language/interface}}/{{FULLPAGENAME}}||color:#688BA8}}">
<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--C); {{#ifexist:Talk:{{Language/interface}}/{{FULLPAGENAME}}||color:#688BA8}}">
<div style="width:18px; height:18px; background:#EEE; clip-path:path('{{#ifexist:Talk:{{Language/interface}}/{{FULLPAGENAME}}||M9.5 6.5H7v2H9.5V11h2V8.5H14v-2H11.5V4h-2Z}}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('{{#ifexist:Talk:{{Language/interface}}/{{FULLPAGENAME}}||M9.5 6.5H7v2H9.5V11h2V8.5H14v-2H11.5V4h-2Z}}M17.8 13.8c.2.3.3 1.4-1.3 1.2-.7-.1-1.8-.2-3.5-1.2q-1.2.4-2.1.4-1.9 2.3-4.5 2.3-1.1 0-1.8-.3-1.6 1-3.9 1c-.7 0-.7-1-.5-1.2s1.1-1.6 1.2-2.5Q.8 12.3.8 10.9.8 7.5 4 5.8c.7-2.9 3.4-5 6.5-5 3.7 0 6.8 3 6.8 6.7q0 1.4-.7 2.9c-.1 1.3.5 2.4 1.2 3.4ZM5.3 7.5c0 2.9 2.3 5.3 5.2 5.3q1.2 0 2.3-.6.4-.2.7.1.8.9 2.3 1.1c-1.1-2.6-.8-3.3-.5-3.7q.5-.7.5-2.2c0-2.9-2.4-5.2-5.3-5.2S5.3 4.6 5.3 7.5Zm-1.5.2Q2.3 8.8 2.3 10.9q0 1.1.5 2c.2.4.2 1.1-.6 2.7q.8-0 2-.8.3-.2.6-.1.7.3 1.6.3Q8 15 9 14.1c-3-.7-5.2-3.3-5.2-6.4Z')"></div> {{int:Talk}}
[{{canonicalurl:Talk:{{Language/interface}}/{{FULLPAGENAME}}}} <hr class="vector-menu-checkbox">]
[{{canonicalurl:Talk:{{Language/interface}}/{{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(--C)">
<tr><td style="position:relative; display:flex; align-items:center; gap:4px; padding:0 5px; border:0; background-image:var(--C)">
<div style="width:18px; height:18px; background:#EEE; clip-path:path('M6.97.97C7.11.83 7.3.75 7.5.75h6c1.24 0 2.25 1.01 2.25 2.25V15c0 1.24-1.01 2.25-2.25 2.25h-9c-1.24 0-2.25-1.01-2.25-2.25V6c0-.2.08-.39.22-.53L6.97.97ZM13.5 2.25H8.25V6c0 .41-.34.75-.75.75H3.75V15c0 .41.34.75.75.75h9c.41 0 .75-.34.75-.75V3c0-.41-.34-.75-.75-.75Zm-8.69 3H6.75V3.31L4.81 5.25Zm.44 4.5c0-.41.34-.75.75-.75h6c.41 0 .75.34.75.75s-.34.75-.75.75H6c-.41 0-.75-.34-.75-.75Zm0 3c0-.41.34-.75.75-.75h6c.41 0 .75.34.75.75s-.34.75-.75.75H6c-.41 0-.75-.34-.75-.75Z')"></div> {{#switch:{{Language/interface}}|#default=Documentation|ru=Документация}}
<div style="width:18px; height:18px; background:#EEE; clip-path:path('M7 1q.2-.2.5-.2h6Q15.8.8 15.8 3V15q0 2.3-2.3 2.3h-9q-2.2 0-2.2-2.3V6q0-.3.2-.5Zm6.5 1.3H8.3V6q0 .8-.8.8H3.8V15q0 .8.7.8h9q.8 0 .8-.8V3q0-.7-.8-.7Zm-8.7 3h2v-2Zm.5 4.5Q5.3 9 6 9h6q.8 0 .8.8 0 .8-.8.8H6q-.7 0-.7-.8Zm0 3q0-.8.7-.8h6q.8 0 .8.8 0 .8-.8.8H6q-.7 0-.7-.8Z')"></div> {{#switch:{{Language/interface}}|#default=Documentation|ru=Документация}}
[{{canonicalurl:Project:Alternative Languages}}?uselang={{Language/interface}} <hr class="vector-menu-checkbox">]
[{{canonicalurl:Project:Alternative Languages}}?uselang={{Language/interface}} <hr class="vector-menu-checkbox">]
</td></tr>
</td></tr>

Revision as of 09:58, 14 November 2025

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

Usage

This template prefers inline formatting of parameters

Parameters Description
Examples Preview
| <Text>
| 1 = <Text>
The text that will be displayed. Can contain links, templates and raw html, except when the {{{lang}}} parameter is used.
{{Code|Hello, World!}}
Hello, World!
{{Code|1 = Text With = Symbol!}}
Text With = Symbol!
| lang = <Option> Adds syntax highlighting for the language specified using syntaxhighlight tag with inline attribute.
List of Supported languages.
{{Code|lang=c|int main() { return 0; } }}
int main() { return 0; }
| style = <CSS> CSS styles. Note that some styles require !important to be specified.
{{Code|style=color:#EF9B9B !important|Colored text}}
Colored text

Stuff for Templates

This template prefers inline formatting of parameters.

This template prefers block formatting of parameters.

This template requires special formatting of parameters.

Header

Some Text:

Example text

Button Imitation

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.


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
!



scroll-margin-top works!



07:03

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

Named Colors