Template:Notify/inline/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 16: Line 16:
{{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!}} }}

Revision as of 22:40, 24 April 2023

Edit-copy.png
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.

Parameters and Examples

Parameter Description Example Preview
{{{1}}} or {{{text}}} The text of your note.

Template:ModernNote

Template:ModernTip Template:ModernTip

{{Notify}} Hello, World!
{{Notify|Hello, World!}}
{{Notify|text = Gordon + Barney = Beer}}
Hello, World!
Hello, World!
Gordon + Barney = Beer