Template:Notify
Innen: Valve Developer Community
Ugrás a navigációhoz
Ugrás a kereséshez
This template is used on many pages and changes may be widely noticed.
Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage.Consider discussing changes on the talk page before implementing them.
…
The Template:Notify/doc/hu documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
Different types of notifications in one template. Created as a basis for other templates.
Tartalomjegyzék
Usage
This template is usually written in a column. To use it, insert {{Notify}} on the desired page and specify the parameters under the template name in the following format:
{{Notify
| parameter 1 = value
| parameter 2 = value
}}
Copy and Paste
{{Notify
| mode = inline
| size = 10px
| img =
| text =
| color =
}}
Parameters and Examples
Shared
| Parameter | Description | Example | Preview |
|---|---|---|---|
{{{1}}} or {{{text}}}
|
Your text.
|
| Hello, World! | text = Hello, World! |
Hello, World! Hello, World!
|
{{{mode}}}
|
Switches the template modes. Avaliable modes: inline.
|
| mode = inline |
Hello, World!
|
Inline mode
| Parameter | Description | Example | Preview |
|---|---|---|---|
{{{img}}}
|
Notification icon. | | img = Note.png |
Hello, World!
|
{{{size}}}
|
Notification icon size (Highly recommended to specify since most icons support high DPI.) | | size = 16px |
|
{{{type}}}
|
Notification type. | | type = Warning |
|
{{{color}}}
|
Notification color (RGB only). RGBA may also work. |
| color = 240,211,0 |
Offset
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Custom styles
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Important:Hello, World!
Special Subpages
/inline/doc- Documentation for inline note templates.
See also
A lap eredeti címe: „https://developer.valvesoftware.com/w/index.php?title=Template:Notify&oldid=469656”