Difference between revisions of "Template:Warning box"

From SME Server
Jump to navigationJump to search
m (Protected "Template:Warning box": Not ment to be edited by everyone [edit=sysop:move=sysop])
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>
 +
===Usage===
 +
<pre>{{Warning box|Add 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|[[Image:Warning.png]]}}}
+
|img={{{img|Warning.png}}}
|msg={{{msg|{{{1}}}}}}
+
|msg={{{msg|{{{1|Add message here}}}}}}
 
|type={{{type|Warning:}}}
 
|type={{{type|Warning:}}}
 
|color=#FFEED9
 
|color=#FFEED9
 
}}
 
}}

Latest revision as of 10:57, 21 February 2019

Usage

{{Warning box|Add message here}}

Data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The contents of the box

Example
Hello, world!
Unknownsuggested

Example

Warning.png Warning:
Add message here