Template:Notify/doc: Difference between revisions
Jump to navigation
Jump to search
m (→Cutom styles) |
|||
Line 56: | Line 56: | ||
=== Cutom styles === | === Cutom styles === | ||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World!}} | # {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World!}} | ||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | root_inline_style = background-color: red !important;}} | |||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | root_inline_style = margin-left: 2rem !important;}} | |||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | root_inline_style = margin-left: 4rem !important;}} | |||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | inline_style = padding-left: 2rem;}} | # {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | inline_style = padding-left: 2rem;}} | ||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | inline_style = padding-left: 4rem;}} | # {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | inline_style = padding-left: 4rem;}} | ||
Line 64: | Line 67: | ||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | span2_inline_style = margin-left: 2rem;}} | # {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | span2_inline_style = margin-left: 2rem;}} | ||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | span2_inline_style = margin-left: 4rem;}} | # {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | span2_inline_style = margin-left: 4rem;}} | ||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | root_inline_style = padding-left: 2rem !important;}} | # {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | root_inline_style = padding-left: 2rem !important;}} | ||
# {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | root_inline_style = padding-left: 4rem !important;}} | # {{Notify|mode = inline|img = Important template.png|type = Important|text = Hello, World! | root_inline_style = padding-left: 4rem !important;}} |
Revision as of 04:53, 9 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!
| |
{{{type}}} | Notification type. | ![]() | |
{{{color}}} | Notification color (RGB only). | ![]() |
Cutom 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.