User:Max34/Sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#if:{{REVISIONID}}|''A completely normal text that definitely doesn't change in any way during the preview when editing this page.''|<div style="border:2px solid #444; border-radius:6px; padding:6px; background:#323232; text-align:center; font-size:20px">Hi, <span style="color:white">{{REVISIONUSER}}</span>! I know You are in preview mode for editing this page :)</div>}} | {{#if:{{REVISIONID}}|''A completely normal text that definitely doesn't change in any way during the preview when editing this page.''|<div style="border:2px solid #444; border-radius:6px; padding:6px; background:#323232; text-align:center; font-size:20px">Hi, <span style="color:white">{{REVISIONUSER}}</span>! I know You are in preview mode for editing this page :)</div>}} | ||
== | == Stuff for Templates == | ||
<span style="display:inline-block; width:16px; height:16px; background:#FFF; vertical-align:text-bottom; clip-path:path('M0 4v8H1V4ZM9 4v8h1V4ZM3 6v4H7V6Zm9 0v4h4V6Z')"></span> This template prefers inline formatting of parameters. | |||
<span style="display:inline-block; width:16px; height:16px; background:#FFF; vertical-align:text-bottom; clip-path:path('M1 1H0V7H1Zm15 1H3V6h13ZM1 9H0v6H1Zm10 1H3v4h8Z')"></span> This template prefers block formatting of parameters. | |||
<span style="display:inline-block; width:16px; height:16px; background:#FFF; vertical-align:text-bottom; clip-path:path('M1 1H0V7H1Zm6 1H3V6h4ZM1 9H0v6H1Zm10 1H3v4h8ZM9 1h1V7H9Zm3 1h4V6H12Z')"></span> This template requires special formatting of parameters. | |||
* [[mw:Template:TemplateData_header#Parameters]] (inline) | |||
* [[mw:Template:Imbox#TemplateData]] (block) | |||
== Header == | |||
<div style="display:flex; gap:4px; margin:.4em 0 .5em 1.6em; font-style:italic"><div style="z-index:1; white-space:nowrap">Some Text:</div> | |||
<div style="margin:{{#switch:0|*=-.3em 0 0 -.2em|#=-.3em 0 0 -1.8em|#default=-.4em 0 -.5em}}"> | |||
Example text | |||
</div></div> | |||
{ | |||
<div class="vector-menu-dropdown" style="all:unset; position:relative; display:inline-flex"><div class="vector-menu-heading" style="all:unset; padding:4px 6px; border:2px solid #333; border-radius:4px; background:#2D2D2D; color:#DDD; user-select:none">Button Imitation</div> | <div class="vector-menu-dropdown" style="all:unset; position:relative; display:inline-flex"><div class="vector-menu-heading" style="all:unset; padding:4px 6px; border:2px solid #333; border-radius:4px; background:#2D2D2D; color:#DDD; user-select:none">Button Imitation</div> | ||
<div class="vector-menu-content" style="position:absolute; left:0; top:0; width:100%; height:100%; box-sizing:border-box; border:2px solid #FFF2; border-radius:4px; background:#FFF1; box-shadow:0; pointer-events:none; transition-property:opacity, visibility; transition-duration:.5s"></div> | <div class="vector-menu-content" style="position:absolute; left:0; top:0; width:100%; height:100%; box-sizing:border-box; border:2px solid #FFF2; border-radius:4px; background:#FFF1; box-shadow:0; pointer-events:none; transition-property:opacity, visibility; transition-duration:.5s"></div> | ||
[[User:Max34|<span class="vector-menu-checkbox"></span>]] | [[User:Max34|<span class="vector-menu-checkbox"></span>]] | ||
</div> | </div> | ||
== Useful Interface messages == | == Useful Interface messages == | ||
| Line 306: | Line 282: | ||
</div> | </div> | ||
<div class="window-body has-space" style="background:#f0f0f0; border:1px solid rgba(0,0,0,.7); box-shadow:0 0 1px 0.5px #fff; margin:0 6px 6px; padding:6px">This<br>is<br>my<br>Windows<br>7<br>Aero<br>!</div> | <div class="window-body has-space" style="background:#f0f0f0; border:1px solid rgba(0,0,0,.7); box-shadow:0 0 1px 0.5px #fff; margin:0 6px 6px; padding:6px">This<br>is<br>my<br>Windows<br>7<br>Aero<br>!</div> | ||
</div> | </div> | ||
Revision as of 05:40, 5 November 2025
A completely normal text that definitely doesn't change in any way during the preview when editing this page.
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!
06:44
Hi, i’m Test!
Text Size:
Размер текста:
Named Colors
█ █ █ █ █ █ █ █ █
█ █ █ █ █ █
█ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █ █ █ █ █ █ █ █ █