User:Max34/Sandbox: Difference between revisions
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: | <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 | <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=" | <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. | <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(' | <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. | <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(' | <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.
- mw:Template:TemplateData_header#Parameters (inline)
- mw:Template:Imbox#TemplateData (block)
Header
Some Text:
Example text
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.
Gallery stuff
Wayback svg icon
My reworked version is more pixel accurate, but still looks bad at smaller sizes.
Windows Windows
This is my Windows 98!
This is my Windows XP!
This is my Windows 7!
This
is
my
Windows
7
Aero
!
is
my
Windows
7
Aero
!
scroll-margin-top works!
07:03
Hi, i’m Test!
Text Size:
Размер текста:
Named Colors
█ █ █ █ █ █ █ █ █
█ █ █ █ █ █
█ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █