Template:Notify/inline/doc: Difference between revisions
Jump to navigation
Jump to search
m (→Known Bugs of Modern Notes: Links are not displayed due to a conflicting equal sign.) |
|||
Line 12: | Line 12: | ||
{{!}} align="center" {{!}} {{Code|style=2|{{Param|1}}}} or {{Code|style=2|{{Param|text}}}} | {{!}} align="center" {{!}} {{Code|style=2|{{Param|1}}}} or {{Code|style=2|{{Param|text}}}} | ||
{{!}} style="padding:10px" {{!}} The text of your inline note. | {{!}} style="padding:10px" {{!}} The text of your inline note. | ||
{{ | {{ModernImportant|Use {{Param|text}} if there is a conflicting {{Code|=}} in your text. You can also use {{tl2|=}} or {{Code|=}}.}} | ||
{{ | {{ModernImportant|Use {{tl2|!}} or {{Code||}} if there is a conflicting {{Code||}} character in your text.}} | ||
{{!}} {{CodeBlock|margin=5px|<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki> This is an example text.}} | {{!}} {{CodeBlock|margin=5px|<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki> This is an example text.}} | ||
{{CodeBlock|margin=5px|<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|This is an example text.}}</nowiki>}} | {{CodeBlock|margin=5px|<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|This is an example text.}}</nowiki>}} |
Revision as of 10:57, 27 April 2023

This is a documentation subpage for Template:Notify.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Creates an inline note.
Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{1}}} or {{{text}}} | The text of your inline note.
![]() ![]() |
This is an example text.
This is an example text. Gordon + Barney = Beer |
Known Bugs of Modern Notes
- The beginning of the list breaks if the note starts with it (for example, {{ModernNote|* Line 1}}).
- Specifying the text inside the note will move it under the list (for example, # {{ModernBug|Line 1}}).