Jump to content

Template:Note: Difference between revisions

From KDE TechBase
AnneW (talk | contribs)
No edit summary
Skierpage (talk | contribs)
add image parameter, now template is the same as userbase:Template:Note
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Box|Note|2=[[Image:Note-box-icon.png|noframe|left|40px]]{{{1}}} <div class="clear"></div> }}
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Note }}
<noinclude>
|1={{{1}}}
{{Template:I18n/Language Navigation Bar|Template:Note}}
|3=[[File:Note-box-icon.png|left|40px|link=]]
|4=alert-success icon-dark-invert
}}<noinclude>
----
Displays an information box. Parameters
# Text of the main body
# (optional) Title of the box (default: Note)


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

Latest revision as of 05:13, 9 April 2025

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