Template:Notice: Difference between revisions

no edit summary
(add name and subst)
No edit summary
 
(39 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{mbox
<table style="margin-left: 15%; border: 2px solid {{#switch:{{{type|}}}
| name = Notice
| red = #b22222
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| orange = #f28500
| demospace = {{{demospace|}}}
| green = #27c446
| image = {{#if:{{{image|}}}| [[Image:{{{image}}}|40px|Notice]] }}
| blue
| text =  
| #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
  {{#if:{{{header|}}}
<tr>
  | <div style="text-align:center;">'''{{{header}}}'''</div>
<td style="background: {{#switch:{{{type|}}}
  }}{{{1}}}
| red = #b22222
| small = {{{small|}}}
| orange = #f28500
| smallimage = {{#if:{{{image|}}}| [[Image:{{{image}}}|30px|Notice]] }}
| green = #27c446
}}<noinclude>
| blue
{{documentation}}
| #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#switch:{{{type|}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
| red = Caution icon - Noun Project 9556 white.svg
</noinclude>
| orange = Exclamation mark white icon.svg
| green = Text_lines_white_icon.svg
| 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>