Jump to content

Template:Note: Difference between revisions

From KDE Community Wiki
Jackmio (talk | contribs)
Undo vandalism by Kpzeta (talk)
Tags: Replaced Undo
Jstaniek (talk | contribs)
Revert reasonable Note template
Line 1: Line 1:
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Note }}
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Note }}
|3=[[Image:Note-box-icon.png|left|40px|link=]]
|1={{{1}}}
|1={{{1}}}
|4=alert-info
|4=alert-info
Line 10: Line 11:
Example: <nowiki>{{Note|This is a note}}</nowiki> gives
Example: <nowiki>{{Note|This is a note}}</nowiki> gives


{{Note|This is a note}}
{{Note|This is a note|aaa}}
 
Example 2: <nowiki>{{Note|This is a note|Please note}}</nowiki> gives
 
{{Note|This is a note|Please note}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 14:38, 26 August 2023

Note

{{{1}}}

Displays an information box. Parameters

  1. Text of the main body
  2. (optional) Title of the box (default: Note)

Example: {{Note|This is a note}} gives

aaa

This is a note


Example 2: {{Note|This is a note|Please note}} gives

Please note

This is a note