Template:Notify/inline/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
{{ModernTodo|Improve documentation.}}
Creates an inline note.
Creates an inline note.



Revision as of 23:47, 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.

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}} Hello, World!
{{Notify|Hello, World!}}
{{Notify|text = Gordon + Barney = Beer}}
Hello, World!
Hello, World!
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}}).