Template:ModernFix: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{Doc}} | {{Doc|docpage=Template:Notify/inline/doc}} | ||
<onlyinclude><includeonly>{{#ifeq:{{{2|}}}|code | <onlyinclude><includeonly>{{#ifeq:{{{2|}}}|code | ||
|{{Notify | |{{Notify | ||
| Line 5: | Line 5: | ||
| img = Cpp.png | | img = Cpp.png | ||
| type = {{Dictionary/notices|Code Fix}} | | type = {{Dictionary/notices|Code Fix}} | ||
| text = {{{1|}}} | | text = {{{text|{{{1|}}}}}} | ||
| color = 91,165,235 | | color = 91,165,235 | ||
}} | }} | ||
| Line 12: | Line 12: | ||
| img = Note.png | | img = Note.png | ||
| type = {{Dictionary/notices|Fix}} | | type = {{Dictionary/notices|Fix}} | ||
| text = {{{1|}}} | | text = {{{text|{{{1|}}}}}} | ||
| color = 113,227,84 | | color = 113,227,84 | ||
}}}}</includeonly></onlyinclude> | }}}}</includeonly></onlyinclude> | ||
Revision as of 23:31, 24 April 2023
Creates an inline note.
Contents
Parameters and Examples
| Parameter | Description | Example | Preview |
|---|---|---|---|
{{{1}}} or {{{text}}}
|
The text of your inline note.
= in your text. You can also use {{=}} or = instead of =.| if there is a conflicting | character in your text. |
{{ModernFix}} This is an example text. {{ModernFix|This is an example text.}} {{ModernFix|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.
