Template:Notify/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{Doc/subpage}} Different types of notifications in one template. Created as a basis for other templates. == Copy and Paste == {{CodeBlock|<nowiki>{{Notify | mode = inline | size = 10px | img = | text = | color = }}</nowiki>}} == Parameters and Examples == === Shared === {| class="standard-table" width="100%" ! width="15%" | Parameter ! width="40%" | Description ! Example ! width="30%" | Preview |- | align="center" | {{Code|style=2|{{Param|1}}}} or {{Code|style=2| {..." |
No edit summary |
||
| Line 1: | Line 1: | ||
Different types of notifications in one template. Created as a basis for other templates. | Different types of notifications in one template. Created as a basis for other templates. | ||
Latest revision as of 05:45, 21 July 2025
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.
File:Icon-Important.pngTemplate:Dictionary/Important/en: Do not use {{{text}}} in other templates that are based on this template. The named parameter breaks the lists.
|
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 (Highly recommended to specify since most icons support high DPI.) | File:Important template.pngImportant:Hello, World!
| |
| {{{type}}} | Notification type. | File:Important template.pngImportant:Hello, World!
| |
| {{{color}}} | Notification color (RGB only). RGBA may also work. |
File:Important template.pngImportant:Hello, World!
|
Offset
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
Custom styles
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
- File:Important template.pngImportant:Hello, World!
Special Subpages
- /inline/doc - Documentation for inline note templates.