User:Max34/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 29: Line 29:
color:#369FFF;
color:#369FFF;
}</nowiki>}}
}</nowiki>}}
== Button ==
<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>
[[User:Max34|<span class="vector-menu-checkbox"></span>]]
</div>


== Stuff for Templates ==
== Stuff for Templates ==

Latest revision as of 09:51, 31 October 2025

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

VDCEditor Stuff

Editor.js
JavaScript
// MediaWiki Headers Code = Code.replace(/^((<cmt\d{1,}>)*?)(={1,6})(.+?)(\3)((\s*?<cmt\d{1,}>)*?\s*?)$/gm, '$1<mwh>$3<mwht>$4</mwht>$5</mwh>$6'); // MediaWiki Formatting Code = Code.replace(/^((<cmt\d{1,}>)*?)(-{4,}|[*:;#]+)/gm, '$1<mwf>$3</mwf>');


Style.css
CSS
/* MediaWiki Header */ mwh { all: unset; color: #FF9200; } /* MediaWiki Header Title */ mwht { all: unset; color: #EBC188; } /* MediaWiki Formatting */ mwf { all: unset; color:#369FFF; }

Button

Button Imitation

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.


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!



06:46

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

Named Colors