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 00:29, 23 June 2023

Creates an inline note.
Contents
Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{1}}} or {{{text}}} | The text of your inline note.
![]() ![]() |
{{ModernCodenote}} This is an example text. {{ModernCodenote|This is an example text.}} {{ModernCodenote|text = Gordon + Barney = Beer}} |
![]() Preview
Note Todo Warning Deprecated Bug Tip Code Code Fix Fix Important Confirm Workaround Risk of Confusion Example How Placement Tip Idea Translate
![]() Category:<language shortcut>/Dictionary/Notices and save it with following content {{subst:Category:En/Dictionary/Notices}} See Also
![]() Preview
Note Todo Warning Deprecated Bug Tip Code Code Fix Fix Important Confirm Workaround Risk of Confusion Example How Placement Tip Idea Translate
![]() Category:<language shortcut>/Dictionary/Notices and save it with following content {{subst:Category:En/Dictionary/Notices}} See Also
![]() Preview
Note Todo Warning Deprecated Bug Tip Code Code Fix Fix Important Confirm Workaround Risk of Confusion Example How Placement Tip Idea Translate
![]() Category:<language shortcut>/Dictionary/Notices and save it with following content {{subst:Category:En/Dictionary/Notices}} See Also
|
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.