Template:Notify/inline/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 47: Line 47:


|}
|}
=== 2nd argument with code as value===
=== [[:Template:ModernFix]] with  2nd argument with code as value===
# {{ModernFix||code}}
# {{ModernFix||code}}
# {{ModernFix|This is an example text.|code}}
# {{ModernFix|This is an example text.|code}}

Revision as of 12:15, 8 May 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.
Icon-Important.pngImportant:Use {{{text}}} if there is a conflicting = in your text. You can also use {{=}} or = instead of =.
Icon-Important.pngImportant:Use {{!}} or | if there is a conflicting | character in your text.
{{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

Template:ModernFix with 2nd argument with code as value

  1. [ Code Fix]
  2. Cpp.pngCode Fix:This is an example text.
  3. Third:

before

Cpp.pngCode Fix:inside

after

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}}).