Jump to content

Template:Note: Difference between revisions

From KDE Community Wiki
Claus chr (talk | contribs)
m 1 revision: Moving Docbook Primer from UserBase to TechBase
Neverendingo (talk | contribs)
No edit summary
Line 1: Line 1:
{{Box1|2={{{2|Note}}}|3=[[Image:Note-box-icon.png|noframe|left|40px]]|4=alert-success|1={{{1}}} }}
{{Box1|2={{#if: {{{2|}}} | {{{2}}} | Note }}
|3=[[Image:Note-box-icon.png|left|40px|link=]]
|1={{{1}}}
|4=alert-info
}}
<noinclude>
<noinclude>
This template displays an info box in the page. Syntax: <code><nowiki>{{Note|2=title|1=text}}</nowiki></code>
----
# The body of the box
Displays an information box. Parameters
# (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.
# 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>

Revision as of 15:23, 5 December 2012

 
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