Template:Notify/inline/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Bruh)
Line 50: Line 50:
* The beginning of the list breaks if the note starts with it (for example, {{Code|<nowiki>{{ModernNote|* Line 1}}</nowiki>}}).
* The beginning of the list breaks if the note starts with it (for example, {{Code|<nowiki>{{ModernNote|* Line 1}}</nowiki>}}).
* Specifying the text inside the note will move it under the list (for example, {{Code|<nowiki># {{ModernBug|Line 1}}</nowiki>}}).
* Specifying the text inside the note will move it under the list (for example, {{Code|<nowiki># {{ModernBug|Line 1}}</nowiki>}}).
== See Also ==
* [[:Category:Modern Templates]]
* [[:Category:Inline note templates]]


{{Doc/Sandbox other|
{{Doc/Sandbox other|

Revision as of 00:03, 25 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.

Creates an inline note.

Parameters and Examples

Parameter Description Example Preview
{{{1}}} or {{{text}}} The text of your inline note.
     Template:ModernTip
     Template:ModernTip
{{Notify}} This is an example text.
{{Notify|This is an example text.}}
{{Notify|text = Gordon + Barney = Beer}}
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}}).