Template:Warning: Difference between revisions

From EunuchWiki
imported>Glitchedblood
Protected "Template:Warning" ([Edit=Allow only EDitors] (indefinite) [Move=Allow only EDitors] (indefinite))
 
remove hard coded width 80%
Line 1: Line 1:
{| style="background-color: #FFCC00; margin: 1em auto; border: 2px solid #000000;" cellspacing=0 cellpadding=10
{{Mbox
| bgcolor=#000000|[[Image:Atomic.gif|link=]]
| name      = Warning
| style="padding:10px; color: black; font-weight: bold;"|<span style="color: red; font-size: 125%">Warning!</span><br />{{{text|{{{1}}}}}}
| demospace  = {{{demospace|}}}
|}<noinclude>[[Category:Notice Templates|{{PAGENAME}}]]</noinclude>
| style      = {{#if:{{{style|}}} |{{{style}}} }}
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| type      = content
| image      = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{imagesize|40px}}}|Warning]] }}
| small      = {{{small|}}}
| 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}}}}};}}}
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}
</noinclude>

Revision as of 08:27, 15 July 2022