Template:Note: Difference between revisions

From KDE TechBase
(Modifications to make template work well with neverland)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Box1|2={{{2|Note}}}|3=[[Image:Note-box-icon.png|noframe|left|40px]]|1={{{1}}} }}
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Note }}
<noinclude>
|1={{{1}}}
This template displays an info box in the page. Syntax: <code><nowiki>{{Note|2=title|1=text}}</nowiki></code>
|4=alert-success icon-dark-invert
# The body of the box
}}<noinclude>
# (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.
----
Displays an information box. Parameters
# Text of the main body
# (optional) Title of the box (default: Note)


Example: {{Input|1=<nowiki>{{Note|1=Take note of this.}}</nowiki>}}
Example: <nowiki>{{Note|This is a note}}</nowiki> gives
{{Note|1=Take note of this.}}


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

Latest revision as of 20:46, 15 April 2020

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