User:Max34/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 13: Line 13:




== Useful Interface messages ==
* {{int:Paramvalidator-help-required}}
* {{int:Paramvalidator-help-deprecated}}
* {{int:Paramvalidator-emptystring}}
* {{int:Paramvalidator-help-default|<i>value</i>}}
* {{int:Paramvalidator-help-default-empty}}
* {{int:Paramvalidator-help-type-enum-can-be-empty}}
** {{int:Paramvalidator-help-type-enum-can-be-empty|<i>value</i>|1}}
* {{int:Paramvalidator-help-type-float|1}}
** {{int:Paramvalidator-help-type-float|2}}
* {{int:Paramvalidator-help-type-integer|1}}
** {{int:Paramvalidator-help-type-integer|2}}
* {{int:Paramvalidator-help-type-title-must-exist}}
* {{int:Paramvalidator-help-type-title-no-must-exist}}
* {{int:Paramvalidator-help-type-user-subtype-name}}
* {{int:Paramvalidator-missingparam|<i>value</i>}}
* {{int:Actions}}
* {{int:Allmessages-filter-translate}}
* {{int:Allmessages-language}}
* {{int:Allpages-bad-ns}}
* {{int:Api-credits-header}}
* {{int:Api-help-datatypes-header}}
* {{int:Api-help-examples}}
** {{int:Api-help-examples|2}}
* {{int:Api-help-param-deprecated}}
* {{int:Api-help-param-deprecated-label}}
* {{int:Api-help-source|<i>value</i>}}
* {{int:Apierror-compare-notext|<i>value1</i>|<i>value2</i>}}
* {{int:Apierror-filedoesnotexist}}
* {{int:Apierror-unknownerror-nocode}}
* {{int:Apihelp-edit-param-text}}
* {{int:Apihelp-expandtemplates-param-title}}





Revision as of 03:39, 17 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}} ссылка? Или внезапный зелёный?





Useful Interface messages

  • 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

An interesting optimization method that works

This {{Text-dir|ltr=righ|rtl=lef}}t:0; is a little bit more optimized than this {{Text-dir|ltr=right|rtl=left}}:0;

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}}}

00:09

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 стиле текста