Template:ModernImportant: Difference between revisions
No edit summary |
m (New file name, nothing else changed.) |
||
| Line 2: | Line 2: | ||
<includeonly><onlyinclude>{{Notify | <includeonly><onlyinclude>{{Notify | ||
| mode = inline | | mode = inline | ||
| img = Important | | img = Icon-Important.png | ||
| size = 10px | | size = 10px | ||
| offset = {{{offset|}}} | | offset = {{{offset|}}} | ||
Revision as of 04:59, 25 August 2023
Creates an inline note.
Contents
Parameters and Examples
| Parameter | Description | Example | Preview |
|---|---|---|---|
{{{1}}} or {{{text}}}
|
The text of your inline note.
Preview
|
{{ModernImportant}} This is an example text. {{ModernImportant|This is an example text.}} {{ModernImportant|text = Gordon + Barney = Beer}} |
Preview
|
Known Bugs of Modern Notes
- The beginning of the list breaks if the note starts with it (for example,
{{note|* Line 1}}). - Specifying the text inside the note will move it under the list (for example,
# {{bug|Line 1}}).
Workaround:Use HTML lists instead.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.