Template:Pennant Rack: Difference between revisions

Pennant row LABEL=off fix #2
(Test fix for LABEL=off)
(Pennant row LABEL=off fix #2)
Line 1: Line 1:
<includeonly>{|align=center cellspacing=0
<includeonly>{|align=center cellspacing=0
!{{#switch:{{{LABEL|}}}|off=|=<small>[[Pennants]]</small>|<small>{{{LABEL|}}}</small>}}{{#if:{{{1|}}}|
{{#switch:{{{LABEL|}}}|off=|=!<small>[[Pennants]]</small>|<small>!{{{LABEL|}}}</small>}}{{#if:{{{1|}}}|
{{#ifeq:{{{LABEL|}}}|off||{{!}}}}-
{{!}}-
{{Pennant Rack row {{#if:{{#explode:{{{1|}}}~{{{2|}}}~{{{3|}}}|~|2}}|3|{{#if:{{#explode:{{{1|}}}~{{{2|}}}~{{{3|}}}|~|1}}|2|{{#if:{{#explode:{{{1|}}}~{{{2|}}}~{{{3|}}}|~|0}}|1|0}}}}}}|{{trim|{{{1|}}}}}|{{trim|{{{2|}}}}}|{{trim|{{{3|}}}}}}}}}{{#if:{{{4|}}}|
{{Pennant Rack row {{#if:{{#explode:{{{1|}}}~{{{2|}}}~{{{3|}}}|~|2}}|3|{{#if:{{#explode:{{{1|}}}~{{{2|}}}~{{{3|}}}|~|1}}|2|{{#if:{{#explode:{{{1|}}}~{{{2|}}}~{{{3|}}}|~|0}}|1|0}}}}}}|{{trim|{{{1|}}}}}|{{trim|{{{2|}}}}}|{{trim|{{{3|}}}}}}}}}{{#if:{{{4|}}}|
{{!}}-
{{!}}-