Template:Note/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (remove {{otherlang2}})
(Removed blank line in the beginning of the page and added "otherparams", "otherexamples" and "othersections" parameters)
Line 1: Line 1:
<!-- Please place categories where indicated at the bottom of this page.) -->
{{Documentation subpage}}
{{Inline note templates}}
{{Inline note templates}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page -->
== Usage ==
== Usage ==
=== Parameters ===
=== Parameters ===
* {{param|1}} - The text to show on the right. The characters <code>=</code> and <code>|</code> can break this template because they are special characters in template calls. Use <code>[[Template:=|<nowiki>{{</nowiki>=}}]]</code> and <code>[[Template:!|<nowiki>{{</nowiki>!}}]]</code> instead; See [[:Category:Templates for within templates]].
* {{param|1}} - The text to show on the right. The characters <code>=</code> and <code>|</code> can break this template because they are special characters in template calls. Use <code>[[Template:=|<nowiki>{{</nowiki>=}}]]</code> and <code>[[Template:!|<nowiki>{{</nowiki>!}}]]</code> instead; See [[:Category:Templates for within templates]].
 
{{{otherparams|}}}
=== Examples ===
=== Examples ===
{| border=1 style="border-collapse:collapse; background:none" cellpadding=8
{| border=1 style="border-collapse:collapse; background:none" cellpadding=8
Line 31: Line 31:
{{ {{ROOTPAGENAME}} | {{lorem}} }}
{{ {{ROOTPAGENAME}} | {{lorem}} }}
{{lorem}}
{{lorem}}
{{{otherexamples|}}}
|}
|}
 
{{{othersections|}}} <!-- such as Tracking category -->
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Inline note templates|{{PAGENAME}}]]
[[Category:Inline note templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
}}</includeonly>
}}</includeonly>

Revision as of 08:29, 30 November 2022

Edit-copy.png
This is a documentation subpage for Template:Note.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Inline note templates
Template Pages using it
28 August 2024
{{note}} 6,436
{{warning}} 1,253
{{bug}} 1,192
{{tip}} 1,516
{{todo}} 1,628
{{inline note}} 2,188
{{confirm}} 672
{{question}} 11
{{fix}} 170
{{important}} 459
{{clarify}} 169
{{elaborate}} 18
{{main}} 143
{{distinguish}} 85
{{workaround}} 122
{{seealso}} 145
{{when}} 1
{{where}} 0
{{which}} 2
{{why}} 38
{{idea}} 21
{{placementTip}} 13
{{codenote}} 21
{{altnames}} 35
{{deprecated}} 109
{{how}} 23
{{example}} 16
{{confusion}} 53
{{thanks}} 7
{{code Fix}} 9 + 7 (16)
{{vote}} 4

Usage

Parameters

Examples

Wikitext Result
{{Note}} Note.pngNote:
{{Note|This is an example text.}}
Note.pngNote:This is an example text.
{{Note|
Enumeration
# Enum
# Eration
}}
Note.pngNote:

Enumeration

  1. Enum
  2. Eration
text
{{Note|text}}
text
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Note.pngNote: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.