Difference between revisions of "Template:Note"

Jump to: navigation, search
m (Removed an unnecesary closing tag.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Note }}
+
{{Box1|2={{{2|Note}}}|3=[[Image:Note-box-icon.png|noframe|left|40px]]|4=alert-success|1={{{1}}} }}<noinclude>
|3=[[Image:Note-box-icon.png|left|40px|link=]]
+
|1={{{1}}}
+
|4=alert-success
+
}}
+
<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
+
This template displays an info box in the page. Syntax: <code><nowiki>{{Note|2=title|1=text}}</nowiki></code>
 +
# The body of the box
 +
# (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.
 +
 
 +
Example: {{Input|1=<nowiki>{{Note|1=Take note of this.}}</nowiki>}}
 +
{{Note|1=Take note of this.}}
  
{{Note|This is a note}}
 
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude>
 

Latest revision as of 21:11, 28 April 2013

noframe
 
Note
{{{1}}}

This template displays an info box in the page. Syntax: {{Note|2=title|1=text}}

  1. The body of the box
  2. (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.
Example:
{{Note|1=Take note of this.}}
noframe
 
Note
Take note of this.

This page was last modified on 28 April 2013, at 21:11. This page has been accessed 9,441 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal