Template:Notice: Difference between revisions

    (Trying an "if" parser function, if this doesn't work I can revert it - see sandbox)
    (OK, so this doesn't work, reverse this)
    Line 1: Line 1:
    {| class="{{#if:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
    {| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#if:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
    | {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:53px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|53px}}|Notice]]
    | {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:53px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|53px}}|Notice]]
    {{#if:{{{header|}}}|
    {{#if:{{{header|}}}|