Template:Warning: Difference between revisions
Appearance
| [unchecked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) m 1 revision imported |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<onlyinclude>{{Note|{{{1}}}|{{{2|warning}}}}}</onlyinclude> |
|||
{{Mbox |
|||
| ⚫ | |||
| name = Warning |
|||
{ |
|||
| demospace = {{{demospace|}}} |
|||
"params": { |
|||
| style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }} |
|||
"1": { |
|||
| subst = <includeonly>{{subst:substcheck}}</includeonly> |
|||
"label": "Warning Text", |
|||
| type = content |
|||
"example": "Do not continue until Step XYZ is complete", |
|||
| image = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{imagesize|40px}}}|Warning]] }} |
|||
"type": "string", |
|||
| small = {{{small|}}} |
|||
"required": true |
|||
| smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}} |
|||
} |
|||
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }} |
|||
}, |
|||
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}} |
|||
"description": "Show a Warning" |
|||
| text = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!-- |
|||
} |
|||
-->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}} |
|||
</templatedata>[[Category:AutoDumpContentFromCommons]]</noinclude> |
|||
}}<noinclude> |
|||
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. --> |
|||
{{Documentation}} |
|||
| ⚫ | |||
Revision as of 09:59, 27 April 2022
Show a Warning
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Warning Text | 1 | no description
| String | required |