Template:Notify/inline/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Known Bugs of Modern Notes: just use html lists; those work properly)
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 48: Line 48:


== Known Bugs of Modern Notes ==
== Known Bugs of Modern Notes ==
* 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>{{note|* 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># {{bug|Line 1}}</nowiki>}}).{{workaround|Use HTML lists instead.}}
{{modernWorkaround|Use HTML lists instead.}}


{{Doc/Sandbox other|
{{Doc/Sandbox other|
[[Category:Modern Templates]]
[[Category:Notice templates]]
[[Category:Notice templates]]
[[Category:Inline note templates]]
[[Category:Inline note templates]]

Latest revision as of 12:04, 6 January 2024

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 &#61; instead of =.
Icon-Important.pngImportant:Use {{!}} or &#124; 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

Known Bugs of Modern Notes

  • The beginning of the list breaks if the note starts with it (for example, {{note|* Line 1}}).
  • Specifying the text inside the note will move it under the list (for example, # {{bug|Line 1}}).
    PlacementTip.pngWorkaround:Use HTML lists instead.

Split-arrows.png Split

It has been suggested that this article or section be split into multiple articles: too many to list here. (Discuss)

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality because:
Simple /doc pages are better.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.