Difference between revisions of "Template:Note box"

From SME Server
Jump to navigationJump to search
(Moving image size to parent class template)
 
(3 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={{{img|Important.png}}}
 
|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