Template:Notify
From Valve Developer Community

Different types of notifications in one template. Created as a basis for other templates.
Contents
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 |
![]() |
{{{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
The above documentation is transcluded from Template:Notify/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Hidden category: