Template:WarningBoxOrange: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
(Empty orange-sided warning box)
 
(Added template data)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="border: solid 1px grey;border-left:solid 5px orange;padding-left: 5px">
<div style="border: solid 1px grey;border-left:solid 5px orange;padding-left: 5px">
[[File:Ambox_warning.png|frameless|middle|alt=Warning icon]]
[[File:Ambox_warning.png|frameless|middle|alt=Warning icon]]
{{{1|}}}
<span style="padding-left:5px; font-size:14px; vertical-align:middle">{{{1|[placeholder]}}}</span>
</div>
</div>
<noinclude>
To use this template, insert this text into your page:
<pre><nowiki>
{{WarningBoxOrange|This is the text you want inside your warning box}}
</nowiki></pre>
<templatedata>
{
"params": {
"1": {
"label": "Text",
"description": "The text to be shown in the warning box",
"example": "This is a warning",
"type": "string"
}
},
"format": "block"
}
</templatedata>
</noinclude>

Latest revision as of 17:34, 25 September 2019

Warning icon [placeholder]

To use this template, insert this text into your page:

{{WarningBoxOrange|This is the text you want inside your warning box}}

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to be shown in the warning box

Example
This is a warning
Stringoptional