Template:Notice: Difference between revisions

revert, as standard/small-talk should only be used on talk pages, thus if the template is used on a non talk page, is should use those classes
(add documentation)
(revert, as standard/small-talk should only be used on talk pages, thus if the template is used on a non talk page, is should use those classes)
Line 1: Line 1:
{| class="messagebox standard-talk"
{| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
|-
| {{#if:{{{header|}}}|rowspan="2"}} align="center"|[[Image:Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|talk|non-talk}}.png|Info]]
|align="center"|[[Image:Information_icon.svg|55px|Comment]]
{{#if:{{{header|}}}|
<!-- -->! Notice: {{{header}}}
<!-- -->{{!-}}
}}
|align="left" width="100%"|{{{1}}}
|align="left" width="100%"|{{{1}}}
|}<noinclude>
|}<noinclude>
Anonymous user