Template:Pennant Rack: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "{{#switch: {{{MAX|}}} |3={{Pennant Rack|LABEL={{{LABEL|}}}|Color={{{Color|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|...")
 
(New pennant template based off of Template:Coin Rack)
Line 1: Line 1:
{{#switch: {{{MAX|}}}
<includeonly>
|3={{Pennant Rack|LABEL={{{LABEL|}}}|Color={{{Color|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}|{{{49|}}}|{{{50|}}}|{{{51|}}}|{{{52|}}}|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}|{{{57|}}}|{{{58|}}}|{{{59|}}}|{{{60|}}}|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}|{{{65|}}}|{{{66|}}}|{{{67|}}}|{{{68|}}}|{{{69|}}}|{{{70|}}}|{{{71|}}}|{{{72|}}}|{{{73|}}}|{{{74|}}}|{{{75|}}}|{{{76|}}}|{{{77|}}}|{{{78|}}}|{{{79|}}}|{{{80|}}}|{{{81|}}}|{{{82|}}}|{{{83|}}}|{{{84|}}}|{{{85|}}}|{{{86|}}}|{{{87|}}}|{{{88|}}}|{{{89|}}}|{{{90|}}}|{{{91|}}}|{{{92|}}}|{{{93|}}}|{{{94|}}}|{{{95|}}}|{{{96|}}}|{{{97|}}}|{{{98|}}}|{{{99|}}}|{{{100|}}}|{{{101|}}}|{{{102|}}}}}
{|align=center cellspacing=0
|{{(!}}align{{=}}center
!{{#switch:{{{LABEL|}}}|off=|=<small>[[Pennants]]</small>|<small>{{{LABEL|}}}</small>}}
{{!}}
|-
{{(!}}align{{=}}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|}}}}}}}}}
!colspan{{=}}2{{!}}{{#switch:{{{LABEL|}}}|off=|Pennants=<small>[[Pennants]]</small>|Pennants=<small>[[Pennants]]</small>|<small>[[Pennants]]</small>}}
|-
{{#if: {{{Color|}}}|{{(!}}border{{=}}1 align{{=}}center style{{=}}"border:thin white solid; background:#{{FCBGColor|{{{Color}}}}}"|{{!-}}}}
{{#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|}}}}}}}}}
{{PennantCheck|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}
|-
{{!-}}
{{#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|}}}}}}}}}
{{PennantCheck|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}}}
|-
{{!-}}
{{#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|}}}}}}}}}
{{PennantCheck|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{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.</noinclude>
{{PennantCheck|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}}}
{{!-}}
{{PennantCheck|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}}
{{!-}}
{{PennantCheck|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}}}
{{!-}}
{{PennantCheck|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}}}
{{!-}}
{{PennantCheck|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}}}
{{!-}}
{{PennantCheck|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}}}
{{!-}}
{{PennantCheck|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}}}
{{!-}}
{{PennantCheck|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}}}
{{!-}}
{{PennantCheck|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}}}
{{!-}}
{{PennantCheck|{{{49|}}}|{{{50|}}}|{{{51|}}}|{{{52|}}}}}
{{!-}}
{{PennantCheck|{{{53|}}}|{{{54|}}}|{{{55|}}}|{{{56|}}}}}
{{!-}}
{{PennantCheck|{{{57|}}}|{{{58|}}}|{{{59|}}}|{{{60|}}}}}
{{!-}}
{{PennantCheck|{{{61|}}}|{{{62|}}}|{{{63|}}}|{{{64|}}}}}
{{!-}}
{{PennantCheck|{{{65|}}}|{{{66|}}}|{{{67|}}}|{{{68|}}}}}
{{!-}}
{{PennantCheck|{{{69|}}}|{{{70|}}}|{{{71|}}}|{{{72|}}}}}
{{!-}}
{{PennantCheck|{{{73|}}}|{{{74|}}}|{{{75|}}}|{{{76|}}}}}
{{!-}}
{{PennantCheck|{{{77|}}}|{{{78|}}}|{{{79|}}}|{{{80|}}}}}
{{!-}}
{{PennantCheck|{{{81|}}}|{{{82|}}}|{{{83|}}}|{{{84|}}}}}
{{!-}}
{{PennantCheck|{{{85|}}}|{{{86|}}}|{{{87|}}}|{{{88|}}}}}
{{!-}}
{{PennantCheck|{{{89|}}}|{{{90|}}}|{{{91|}}}|{{{92|}}}}}
{{!-}}
{{PennantCheck|{{{93|}}}|{{{94|}}}|{{{95|}}}|{{{96|}}}}}
{{!-}}
{{PennantCheck|{{{97|}}}|{{{98|}}}|{{{99|}}}|{{{100|}}}}}
{{#if: {{{Color|}}}|{{!)}}|}}
{{!)}}
{{!-}}
{{!}}
{{{!}}align{{=}}center
{{!}}class{{=}}"mw-collapsible mw-collapsed" data-expandtext{{=}}"Click to see full pennant list." data-collapsetext{{=}}"Hide list" style{{=}}"font-size:x-small"{{!}}
<br>{{#if:{{{1|}}}|{{{1|}}}|}}{{#if:{{{3|}}}|<br>{{{3|}}}|}}{{#if:{{{5|}}}|<br>{{{5|}}}|}}{{#if:{{{7|}}}|<br>{{{7|}}}|}}{{#if:{{{9|}}}|<br>{{{9|}}}|}}{{#if:{{{11|}}}|<br>{{{11|}}}|}}{{#if:{{{13|}}}|<br>{{{13|}}}|}}{{#if:{{{15|}}}|<br>{{{15|}}}|}}{{#if:{{{17|}}}|<br>{{{17|}}}|}}{{#if:{{{19|}}}|<br>{{{19|}}}|}}{{#if:{{{21|}}}|<br>{{{21|}}}|}}{{#if:{{{23|}}}|<br>{{{23|}}}|}}{{#if:{{{25|}}}|<br>{{{25|}}}|}}{{#if:{{{27|}}}|<br>{{{27|}}}|}}{{#if:{{{29|}}}|<br>{{{29|}}}|}}{{#if:{{{31|}}}|<br>{{{31|}}}|}}{{#if:{{{33|}}}|<br>{{{33|}}}|}}{{#if:{{{35|}}}|<br>{{{35|}}}|}}{{#if:{{{37|}}}|<br>{{{37|}}}|}}{{#if:{{{39|}}}|<br>{{{39|}}}|}}{{#if:{{{41|}}}|<br>{{{41|}}}|}}{{#if:{{{43|}}}|<br>{{{43|}}}|}}{{#if:{{{45|}}}|<br>{{{45|}}}|}}{{#if:{{{47|}}}|<br>{{{47|}}}|}}{{#if:{{{49|}}}|<br>{{{49|}}}|}}{{#if:{{{51|}}}|<br>{{{51|}}}|}}{{#if:{{{53|}}}|<br>{{{53|}}}|}}{{#if:{{{55|}}}|<br>{{{55|}}}|}}{{#if:{{{57|}}}|<br>{{{57|}}}|}}{{#if:{{{59|}}}|<br>{{{59|}}}|}}{{#if:{{{61|}}}|<br>{{{61|}}}|}}{{#if:{{{63|}}}|<br>{{{63|}}}|}}{{#if:{{{65|}}}|<br>{{{65|}}}|}}{{#if:{{{67|}}}|<br>{{{67|}}}|}}{{#if:{{{69|}}}|<br>{{{69|}}}|}}{{#if:{{{71|}}}|<br>{{{71|}}}|}}{{#if:{{{73|}}}|<br>{{{73|}}}|}}{{#if:{{{75|}}}|<br>{{{75|}}}|}}{{#if:{{{77|}}}|<br>{{{77|}}}|}}{{#if:{{{79|}}}|<br>{{{79|}}}|}}{{#if:{{{81|}}}|<br>{{{81|}}}|}}{{#if:{{{83|}}}|<br>{{{83|}}}|}}{{#if:{{{85|}}}|<br>{{{85|}}}|}}{{#if:{{{87|}}}|<br>{{{87|}}}|}}{{#if:{{{89|}}}|<br>{{{89|}}}|}}{{#if:{{{91|}}}|<br>{{{91|}}}|}}{{#if:{{{93|}}}|<br>{{{93|}}}|}}{{#if:{{{95|}}}|<br>{{{95|}}}|}}{{#if:{{{97|}}}|<br>{{{97|}}}|}}{{#if:{{{99|}}}|<br>{{{99|}}}|}}
{{!)}}
{{!)}}
}}

Revision as of 20:18, 13 February 2022

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.