Template:ModernImportant: Difference between revisions
(Created page with "{{Doc|docpage=Template:ModernNote/doc}} <includeonly><onlyinclude>{{Notify | mode = inline | img = Important template.png | type = {{Dictionary/notices|Important}} | text = {{...") |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{Doc|docpage=Template: | {{Doc|docpage=Template:Notify/inline/doc}} | ||
<includeonly><onlyinclude>{{Notify | <includeonly><onlyinclude>{{Notify | ||
| mode = inline | | mode = inline | ||
| img = Important template.png | | img = Important template.png | ||
| type = {{Dictionary/notices|Important}} | | type = {{Dictionary/notices|Important}} | ||
| text = {{{1|}}} | | text = {{{text|{{{1|}}}}}} | ||
| color = 240,211,0 | | color = 240,211,0 | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> | ||
Revision as of 22:54, 24 April 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.