Jump to content

Template:Notice: Difference between revisions

m
w/s cleanup
No edit summary
m (w/s cleanup)
Line 1: Line 1:
<table style="margin-left: 15%; border: 2px solid {{#switch:{{{type|}}}
{{Mbox
| red = #b22222
| name      = Notice
| orange = #f28500
| demospace  = {{{demospace|}}}
| green = #27c446
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
| blue
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
| type      = notice
<tr>
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
<td style="background: {{#switch:{{{type|}}}
| small      = {{{small|}}}
| red = #b22222
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
| orange = #f28500
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| green = #27c446
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
| blue
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
| #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#switch:{{{type|}}}
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
| red = Caution icon - Noun Project 9556 white.svg
}}<noinclude>
| orange = Exclamation mark white icon.svg
{{Documentation}}
| green = Text_lines_white_icon.svg
</noinclude>
| blue
| #default = VisualEditor_-_Icon_-_Advanced_-_white.svg}}|40px]]</td>
<td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
</tr>
</table>
<noinclude>
This template is used to create notice templates. Please, do not use this template directly on an article.
[[Category:Notice templates]]</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.