Template:Notify/doc: Difference between revisions
Jump to navigation
Jump to search
m (→Inline mode) |
m (→Shared) |
||
Line 24: | Line 24: | ||
|- | |- | ||
| align="center" | {{Code|style=2| {{Param|mode}} }} | | align="center" | {{Code|style=2| {{Param|mode}} }} | ||
| style="padding:8px" | Switches the template modes. Avaliable modes: | | style="padding:8px" | Switches the template modes. Avaliable modes: {{Code|<nowiki>inline</nowiki>}}. | ||
| {{CodeBlock|margin=5px|<nowiki>| mode = inline</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| mode = inline</nowiki>}} | ||
| style="padding:8px" | {{Notify|mode = inline|text = Hello, World!}} | | style="padding:8px" | {{Notify|mode = inline|text = Hello, World!}} |
Revision as of 00:12, 25 April 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 Example
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!
| |
{{{type}}} | Notification type. | ![]() | |
{{{color}}} | Notification color (RGB only). | ![]() |
Special Subpages
- /inline/doc - Documentation for inline note templates.