Template:Notice: Difference between revisions

add passthrough of style and textstyle, per EP request. also tidy whitespace
(add name and subst)
(add passthrough of style and textstyle, per EP request. also tidy whitespace)
Line 1: Line 1:
{{mbox
{{ mbox
| name = Notice
| name       = Notice
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| style      = {{{style|}}}
| demospace = {{{demospace|}}}
| textstyle  = {{{textstyle|}}}
| image = {{#if:{{{image|}}}| [[Image:{{{image}}}|40px|Notice]] }}
| subst     = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| text =  
| demospace = {{{demospace|}}}
| image     = {{#if:{{{image|}}}| [[Image:{{{image}}}|40px|Notice]] }}
| text       =  
   {{#if:{{{header|}}}
   {{#if:{{{header|}}}
   | <div style="text-align:center;">'''{{{header}}}'''</div>  
   | <div style="text-align:center;">'''{{{header}}}'''</div>  
   }}{{{1}}}
   }}{{{1}}}
| small = {{{small|}}}
| small     = {{{small|}}}
| smallimage = {{#if:{{{image|}}}| [[Image:{{{image}}}|30px|Notice]] }}
| smallimage = {{#if:{{{image|}}}| [[Image:{{{image}}}|30px|Notice]] }}
}}<noinclude>
 
{{documentation}}
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
Anonymous user