Template:Notify/inline/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
{{ModernNote|The characters {{Code|=}} and {{Code||}} can break this template because they are special characters in template calls.}} | {{ModernNote|The characters {{Code|=}} and {{Code||}} can break this template because they are special characters in template calls.}} | ||
{{ModernTip|Use {{Param|text}} if there is a conflicting {{Code|=}} in your text. You can also use {{tl2|=}} or {{Code|=}}.}} | {{ModernTip|Use {{Param|text}} if there is a conflicting {{Code|=}} in your text. You can also use {{tl2|=}} or {{Code|=}}, if you don't use {{Param|text}}.}} | ||
{{ModernTip|Use {{tl2|!}} or {{Code||}} if there is a conflicting {{Code||}} character in your text.}} | {{ModernTip|Use {{tl2|!}} or {{Code||}} if there is a conflicting {{Code||}} character in your text.}} | ||
| {{CodeBlock|margin=5px| <nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki> Hello, World! }} | | {{CodeBlock|margin=5px| <nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki> Hello, World! }} | ||
{{CodeBlock|margin=5px| <nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|Hello, World!}}</nowiki> }} | {{CodeBlock|margin=5px| <nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|Hello, World!}}</nowiki> }} | ||
{{CodeBlock|margin=5px| <nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|text = Gordon + Barney = Beer}}</nowiki> }} | {{CodeBlock|margin=5px| <nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|text = Gordon + Barney = Beer}}</nowiki> }} | ||
| {{Capsule|margin=5px| {{{{ROOTPAGENAME}}|}} Hello, World! }} | | {{Capsule|margin=5px| {{{{ROOTPAGENAME}}|}} Hello, World! }} | ||
{{Capsule|margin=5px| {{{{ROOTPAGENAME}}|Hello, World!}} }} | {{Capsule|margin=5px| {{{{ROOTPAGENAME}}|Hello, World!}} }} | ||
{{Capsule|margin=5px| {{{{ROOTPAGENAME}}|text = Gordon + Barney = Beer}} }} | {{Capsule|margin=5px| {{{{ROOTPAGENAME}}|text = Gordon + Barney = Beer}} }} | ||
|- | |- |
Revision as of 22:38, 24 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.
Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{1}}} or {{{text}}} | The text of your note. | Hello, World!
Hello, World! Gordon + Barney = Beer |