Template:Note: Difference between revisions

From KDE Community Wiki
No edit summary
m (Update after fixing Box)
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Box1|2={{#if: {{{2|}}} | {{{2}}} | Note }}
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Note }}
|3=[[Image:Note-box-icon.png|left|40px|link=]]
|3=[[Image:Note-box-icon.png|left|40px|link=]]
|1={{{1}}}
|1={{{1}}}
|4=alert-success
}}<noinclude>
}}
<noinclude>
----
----
Displays an information box. Parameters
Displays an information box. Parameters
Line 13: Line 11:


{{Note|This is a note}}
{{Note|This is a note}}
[[Category:Template]]


Example 2: <nowiki>{{Note|This is a note|Please note}}</nowiki> gives


{{Note|This is a note|Please note}}
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 14:57, 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

Note

This is a note


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

Please note

This is a note