Difference between revisions of "Template:Note box"

From SME Server
Jump to navigationJump to search
m (Added 25px size to Template:Ibox)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Example:</noinclude>
+
===Usage===
 +
<pre>{{Note box|Important message here}}</pre>
 +
== Data ==
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"description": "The contents of the box",
 +
"example": "Hello, world!",
 +
"suggested": true
 +
}
 +
        }
 +
 
 +
}
 +
</templatedata>
 +
===Example===
 +
</noinclude>
 
{{ibox
 
{{ibox
|img=[[Image:{{{img|Important.png}}}|25px]]
+
|img={{{img|Important.png}}}
|msg={{{msg|{{{1}}}}}}
+
|msg={{{msg|{{{1|Important message here}}}}}}
 
|type={{{type|Note:}}}
 
|type={{{type|Note:}}}
 
|color=#FFFFD9
 
|color=#FFFFD9
 
+
}}
}}<noinclude>
 
Usage:
 
<pre>{{Note box|message}}</pre>
 
or
 
<pre>{{Note box
 
|msg=message</pre>
 
</noinclude>
 

Latest revision as of 09:59, 21 February 2019

Usage

{{Note box|Important message here}}

Data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The contents of the box

Example
Hello, world!
Unknownsuggested

Example

Important.png Note:
Important message here