Template:ModernCodenote: Difference between revisions
(| offset = {{{offset|0}}}) |
No edit summary |
||
| Line 3: | Line 3: | ||
| mode = inline | | mode = inline | ||
| img = Cpp.png | | img = Cpp.png | ||
| size = 16px | |||
| type = {{Dictionary/notices|Code}} | | type = {{Dictionary/notices|Code}} | ||
| text = {{{text|{{{1|}}}}}} | | text = {{{text|{{{1|}}}}}} | ||
Revision as of 23:29, 22 June 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. |
{{ModernCodenote}} This is an example text. {{ModernCodenote|This is an example text.}} {{ModernCodenote|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.