Jump to content

Template:Warning: Difference between revisions

From pool
[unchecked revision][checked revision]
Content deleted Content added
m 1 revision imported
No edit summary
Tag: 2017 source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{Note|{{{1}}}|{{{3|warning}}}|{{{2|Warning:}}}}}</onlyinclude>
{{Mbox
<noinclude><templatedata>
| 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}}
</noinclude>

Latest revision as of 15:35, 17 May 2023

 
Warning:  
{{{1}}}

Show a Warning

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Warning Text1

no description

Example
Do not continue until Step XYZ is complete
Stringrequired