Материал из Valve Developer Community
Перейти к навигации
Перейти к поиску

Available doc translations
…
РусскийСтраница документации
Template:Metanotice/doc/ru не существует.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.
This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.
This is a metatemplate used to aid in the creation of notice templates. It's goal is to supplant the {{messagebox}} template as a simplified, easier to use alternative.
Copy and Paste
{{Metanotice
| rgb =
| id =
| text =
}}
Usage, Parameters and Examples
Параметр
|
Описание
|
Пример
|
Предпросмотр
|
No parameters
|
Template will revert to the default valves specified within the parser functions.
|
|
|
{{{rgb}}}
|
Controls the metanotice background and border color
|
|
|
{{{hex}}}
|
Controls the metanotice background and border color
|
|
|
{{{opacity}}}
|
Metanotice background opacity if {{{hex}}} is used then opacity will be from 00 to fe
|
| hex = ...| opacity = 3a
|
|
{{{id}}}
|
Idbox content. Most commonly used for adding icons.
|
| id = [[File:Warning_icon.png|32px|link=]]
|
|
{{{text}}}
|
Text content
|
|
|
Style parameters
|
{{{style}}}
|
Notice styling
|
| style = border:1px solid currentcolor;
|
|
{{{textstyle}}}
|
Text styling
|
| textstyle = font-family:monospace;
|
|
Общая информация
Aids in the creation of article notice boxes
Создан
30/04/2023
(30 April 2023)
Последняя правка
08/05/2025
20250508115007
Объём изменения
855 bytes
0.855 kilobytes
0.000855 megabytes
Идентификатор страницы
52638
Применены функции анализатора?
No