Template:Notify/doc: Difference between revisions
Jump to navigation
Jump to search
m (→Shared) |
m (→Shared) |
||
Line 21: | Line 21: | ||
| style="padding:8px" | Your text. | | style="padding:8px" | Your text. | ||
{{ | {{ModernImportant| Do not use {{Param|text}} in other templates that are based on this template. The named parameter breaks the lists. }} | ||
| {{CodeBlock|margin=5px|<nowiki>| Hello, World!</nowiki>}} {{CodeBlock|margin = 5px|<nowiki>| text = Hello, World!</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| Hello, World!</nowiki>}} {{CodeBlock|margin = 5px|<nowiki>| text = Hello, World!</nowiki>}} | ||
| style="padding:10px" | {{Notify|Hello, World!}} {{Notify|text = Hello, World!}} | | style="padding:10px" | {{Notify|Hello, World!}} {{Notify|text = Hello, World!}} |
Revision as of 06:26, 28 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 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!
| |
{{{type}}} | Notification type. | ![]() | |
{{{color}}} | Notification color (RGB only). | ![]() |
Special Subpages
- /inline/doc - Documentation for inline note templates.