Template:Warning: Difference between revisions
From Leo's Notes
This page was last edited on 14 June 2020, at 21:20.
No edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="note warning"> | <div class="note warning"> | ||
{{#if: {{{2}}} | {{{1}}} | {{#if: {{{2|}}} | <h5>{{{1}}}</h5>{{{2}}} | {{{1}}} }} | ||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Title", | |||
"description": "title", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Message", | |||
"description": "message", | |||
"type": "content", | |||
"required": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"1", | |||
"2" | |||
], | |||
"description": "Inserts a warning box inline with the content" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 21:20, 14 June 2020
{{{1}}}
Inserts a warning box inline with the content
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | 1 | title | String | required |
| Message | 2 | message | Content | required |