Template:Pennant Rack: Difference between revisions

Jump to navigation Jump to search
m
I only now realized I accidentally left newlines before and after the template in the includeonly tags. That's an oopsie.
No edit summary
m (I only now realized I accidentally left newlines before and after the template in the includeonly tags. That's an oopsie.)
Line 1: Line 1:
<includeonly>
<includeonly>{|align=center cellspacing=0
{|align=center cellspacing=0
!{{#switch:{{{LABEL|}}}|off=|=<small>[[Pennants]]</small>|<small>{{{LABEL|}}}</small>}}
!{{#switch:{{{LABEL|}}}|off=|=<small>[[Pennants]]</small>|<small>{{{LABEL|}}}</small>}}
|-
|-
Line 10: Line 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|}}}}}}}}}
{{#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.
</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