Difference between revisions of "Template:Note"

Jump to: navigation, search
m (Removed an unnecesary closing tag.)
m (fix template)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Box1|2={{{2|Note}}}|3=[[Image:Note-box-icon.png|noframe|left|40px]]|4=alert-success|1={{{1}}} }}<noinclude>
+
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Note }}
 +
|3=[[Image:Note-box-icon.png|left|40px|link=]]
 +
|1={{{1}}}
 +
|4=alert-info
 +
}}<noinclude>
 +
----
 +
Displays an information box. Parameters
 +
# Text of the main body
 +
# (optional) Title of the box (default: Note)
  
This template displays an info box in the page. Syntax: <code><nowiki>{{Note|2=title|1=text}}</nowiki></code>
+
Example: <nowiki>{{Note|This is a note}}</nowiki> gives
# 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 20:15, 18 August 2019

Note-box-icon.png
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-box-icon.png
Note
This is a note

This page was last edited on 18 August 2019, at 20:15. Content is available under Creative Commons License SA 4.0 unless otherwise noted.