Template:Notify/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) m (→Inline mode) |
Mailmanmicky (talk | contribs) m (→Inline mode) |
||
Line 46: | Line 46: | ||
| style="padding:8px" | Notification icon size | | style="padding:8px" | Notification icon size | ||
| {{CodeBlock|margin = 5px|<nowiki>| size = 16px </nowiki>}} | | {{CodeBlock|margin = 5px|<nowiki>| size = 16px </nowiki>}} | ||
| style="padding:8px" | {{Notify|mode = inline|img = Important template.png|size=16px|text = Hello, World!}} | | style="padding:8px" | {{Notify|mode = inline|img = Important template.png|size = 16px|type = Important|text = Hello, World!}} | ||
|- | |- | ||
| align="center" | {{Code|style=2| {{Param|type}} }} | | align="center" | {{Code|style=2| {{Param|type}} }} |
Revision as of 04:33, 21 May 2023

This is a documentation subpage for Template:Notify.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Different types of notifications in one template. Created as a basis for other templates.
Copy and Paste
Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{1}}} or {{{text}}} | Your text.
![]() |
Hello, World! Hello, World!
| |
{{{mode}}} | Switches the template modes. Avaliable modes: inline. | Hello, World!
|
Inline mode
Parameter | Description | Example | Preview |
---|---|---|---|
{{{img}}} | Notification icon. | Hello, World!
| |
{{{size}}} | Notification icon size | ![]() | |
{{{type}}} | Notification type. | ![]() | |
{{{color}}} | Notification color (RGB only). | ![]() |
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.