Template:Note: Difference between revisions

From MediaWiki-1.39
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
</div>
</div>
<noinclude>
<noinclude>
This is the <code>{{Note}}</code> template. Use it to highlight general tips or context.
[[Category:Templates]]
 
Usage:
<pre>
{{Note|This is helpful context.}}
</pre>
</noinclude>
</noinclude>
<pre>
{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>
* Text {{Note|inline=1|text=Foo}}
</pre>
{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=reminder|text=Multiple<br>lines<br>of<br>text}}
{{Note|type=reminder|text=
* Multiple paragraphs.
Of text.}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} <translate><!--T:4--> Loose test</translate>
* Text {{Note|inline=1|text=Foo}}
== Parameters ==
{{Note/doc}}
== See also ==
* {{tl|warn}}, shortcut for this template with <code>type=warning</code>.
* {{tl|mbox}}, and in particular the namespace-agnostic {{tl|ombox}}, which by default resembles a typical "info" template.
}}
[[Category:Templates{{#translation:}}|{{PAGENAME}}]]

Latest revision as of 17:09, 22 January 2026

Note: {{{1}}}