Template:Pennant Rack: Difference between revisions

Jump to navigation Jump to search
Maybe fixed it?
(Copying solution to other rows)
(Maybe fixed it?)
Line 1: Line 1:
<includeonly>{|align=center cellspacing=0
<includeonly>{{#switch:{{{LABEL|}}}|off=|=<small>[[Pennants]]</small>|<small>{{{LABEL|}}}</small>}}<br/>
{{#switch:{{{LABEL|}}}|off=|=!<small>[[Pennants]]</small>|<small>!{{{LABEL|}}}</small>}}{{#if:{{{1|}}}|<nowiki/>
{{#if:{{{1|}}}|{{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:{{{4|}}}~{{{5|}}}~{{{6|}}}|~|2}}|3|{{#if:{{#explode:{{{4|}}}~{{{5|}}}~{{{6|}}}|~|1}}|2|{{#if:{{#explode:{{{4|}}}~{{{5|}}}~{{{6|}}}|~|0}}|1|0}}}}}}|{{trim|{{{4|}}}}}|{{trim|{{{5|}}}}}|{{trim|{{{6|}}}}}}}}}
{{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|}}}|<nowiki/>
{{#if:{{{7|}}}|{{Pennant Rack row {{#if:{{#explode:{{{7|}}}~{{{8|}}}~{{{9|}}}|~|2}}|3|{{#if:{{#explode:{{{7|}}}~{{{8|}}}~{{{9|}}}|~|1}}|2|{{#if:{{#explode:{{{7|}}}~{{{8|}}}~{{{9|}}}|~|0}}|1|0}}}}}}|{{trim|{{{7|}}}}}|{{trim|{{{8|}}}}}|{{trim|{{{9|}}}}}}}}}
{{!}}-
{{#if:{{{10|}}}|{{Pennant Rack row {{#if:{{#explode:{{{10|}}}~{{{11|}}}~{{{12|}}}|~|2}}|3|{{#if:{{#explode:{{{10|}}}~{{{11|}}}~{{{12|}}}|~|1}}|2|{{#if:{{#explode:{{{10|}}}~{{{11|}}}~{{{12|}}}|~|0}}|1|0}}}}}}|{{trim|{{{10|}}}}}|{{trim|{{{11|}}}}}|{{trim|{{{12|}}}}}}}}}</includeonly><noinclude>Creates a rack for displaying [[pennants]], much like the [[Template:Coin Rack|coin rack template]], with the usage being very similar. Here, you may also set the |LABEL= argument to set custom text as the label for the rack.
{{Pennant Rack row {{#if:{{#explode:{{{4|}}}~{{{5|}}}~{{{6|}}}|~|2}}|3|{{#if:{{#explode:{{{4|}}}~{{{5|}}}~{{{6|}}}|~|1}}|2|{{#if:{{#explode:{{{4|}}}~{{{5|}}}~{{{6|}}}|~|0}}|1|0}}}}}}|{{trim|{{{4|}}}}}|{{trim|{{{5|}}}}}|{{trim|{{{6|}}}}}}}}}{{#if:{{{7|}}}|<nowiki/>
{{!}}-
{{Pennant Rack row {{#if:{{#explode:{{{7|}}}~{{{8|}}}~{{{9|}}}|~|2}}|3|{{#if:{{#explode:{{{7|}}}~{{{8|}}}~{{{9|}}}|~|1}}|2|{{#if:{{#explode:{{{7|}}}~{{{8|}}}~{{{9|}}}|~|0}}|1|0}}}}}}|{{trim|{{{7|}}}}}|{{trim|{{{8|}}}}}|{{trim|{{{9|}}}}}}}}}{{#if:{{{10|}}}|<nowiki/>
{{!}}-
{{Pennant Rack row {{#if:{{#explode:{{{10|}}}~{{{11|}}}~{{{12|}}}|~|2}}|3|{{#if:{{#explode:{{{10|}}}~{{{11|}}}~{{{12|}}}|~|1}}|2|{{#if:{{#explode:{{{10|}}}~{{{11|}}}~{{{12|}}}|~|0}}|1|0}}}}}}|{{trim|{{{10|}}}}}|{{trim|{{{11|}}}}}|{{trim|{{{12|}}}}}}}}}
|}</includeonly><noinclude>Creates a rack for displaying [[pennants]], much like the [[Template:Coin Rack|coin rack template]], with the usage being very similar. Here, you may also set the |LABEL= argument to set custom text as the label for the rack.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Navigation menu