Template:Pennant Rack: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Centering)
(-br)
Line 1: Line 1:
<includeonly>{{#switch:{{{LABEL|}}}|off=|=<center><small>'''[[Pennants]]'''</small></center><br/>|<center><small>'''{{{LABEL|}}}'''</small></center><br/>}}
<includeonly>{{#switch:{{{LABEL|}}}|off=|=<center><small>'''[[Pennants]]'''</small></center>|<center><small>'''{{{LABEL|}}}'''</small></center>}}
{{#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:{{{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|}}}}}}}}}
{{#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|}}}}}}}}}

Revision as of 22:45, 13 March 2023

Creates a rack for displaying pennants, much like the 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.