Difference between revisions of "Template:Infobox pseudo season"
From Golly.Life Wiki
| Line 21: | Line 21: | ||
| labelstyle = width:50%; | | labelstyle = width:50%; | ||
| label1 = Previous Season | | label1 = Previous Season | ||
| − | | data1 = {{#ifexpr:{{{season}}} > 1 |[[Season {{#expr:{{{season}}} - 1}}|◀◀ Season {{#expr:{{{season}}} - 1}}]]|}} | + | | data1 = {{#ifexpr:{{{season}}} > 1 |[[Pseudo/Season {{#expr:{{{season}}} - 1}}|◀◀ Season {{#expr:{{{season}}} - 1}}]]|}} |
| label2 = Next Season | | label2 = Next Season | ||
| − | | data2 = [[Season {{#expr:{{{season}}} + 1}}|▶▶ Season {{#expr:{{{season}}} + 1}}]] | + | | data2 = [[Pseudo/Season {{#expr:{{{season}}} + 1}}|▶▶ Season {{#expr:{{{season}}} + 1}}]] |
}} | }} | ||
| header5 = Championship | | header5 = Championship | ||
| data6 = {{Infobox | subbox = yes | | data6 = {{Infobox | subbox = yes | ||
| − | | label1 = | + | | label1 = Pseudo Champion | data1 = {{#if:{{{champion_abbr|}}}|{{Main Page Thumbnail|{{{champion_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{champion_abbr}}}}} logo|{{TeamAbbrToName|{{{champion_abbr}}}}}|size=85}}{{clear}}[[{{TeamAbbrToName|{{{champion_abbr|}}}}}]]| }} |
}} | }} | ||
| Line 37: | Line 37: | ||
}} | }} | ||
| − | | header9 = | + | | header9 = San Francisco Bay Seeds |
| data10 = {{Infobox | subbox = yes | | data10 = {{Infobox | subbox = yes | ||
| label1 = Seed 1 | data1 = {{#if:{{{san_francisco_bay_league_seed1_abbr|}}}|{{Main Page Thumbnail|{{{san_francisco_bay_league_seed1_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{san_francisco_bay_league_seed1_abbr}}}}} logo|{{TeamAbbrToName|{{{san_francisco_bay_league_seed1_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{san_francisco_bay_league_seed1_abbr}}}}}]]| }} | | label1 = Seed 1 | data1 = {{#if:{{{san_francisco_bay_league_seed1_abbr|}}}|{{Main Page Thumbnail|{{{san_francisco_bay_league_seed1_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{san_francisco_bay_league_seed1_abbr}}}}} logo|{{TeamAbbrToName|{{{san_francisco_bay_league_seed1_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{san_francisco_bay_league_seed1_abbr}}}}}]]| }} | ||
| Line 46: | Line 46: | ||
}} | }} | ||
| − | | header11 = Monterey Bay | + | | header11 = Monterey Bay Seeds |
| data12 = {{Infobox | subbox = yes | | data12 = {{Infobox | subbox = yes | ||
| label1 = Seed 1 | data1 = {{#if:{{{monterey_bay_league_seed1_abbr|}}}|{{Main Page Thumbnail|{{{monterey_bay_league_seed1_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{monterey_bay_league_seed1_abbr}}}}} logo|{{TeamAbbrToName|{{{monterey_bay_league_seed1_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{monterey_bay_league_seed1_abbr}}}}}]]| }} | | label1 = Seed 1 | data1 = {{#if:{{{monterey_bay_league_seed1_abbr|}}}|{{Main Page Thumbnail|{{{monterey_bay_league_seed1_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{monterey_bay_league_seed1_abbr}}}}} logo|{{TeamAbbrToName|{{{monterey_bay_league_seed1_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{monterey_bay_league_seed1_abbr}}}}}]]| }} | ||
Revision as of 22:51, 2 October 2021
The {{Infobox pseudo season}} template is used to define an infobox for a Pseudo Cup season.
Here is how you use it:
{{Infobox pseudo season
| season = 0
| start_date = 2021-05-24
| end_date = 2021-05-26
| champion_abbr = AI
| monterey_bay_league_seed1_abbr = BCC
| monterey_bay_league_seed2_abbr = AI
| monterey_bay_league_seed3_abbr = MM
| monterey_bay_league_seed4_abbr = SCS
| san_francisco_bay_league_seed1_abbr = SGSC
| san_francisco_bay_league_seed2_abbr = RS
| san_francisco_bay_league_seed3_abbr = OB
| san_francisco_bay_league_seed4_abbr = MVM
| arcana = TBD
| title = TBD
}}
The {{Infobox season}} template will pass these arguments to the {{Infobox}} template, inserting the right bits of information in the right places to produce this:
| Golly Season 0 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Season 0 | |||||||||
| Season Dates | |||||||||
| |||||||||
| Timeline | |||||||||
| |||||||||
| Championship | |||||||||
| |||||||||
| Pennants | |||||||||
| |||||||||
| San Francisco Bay Seeds | |||||||||
| |||||||||
| Monterey Bay Seeds | |||||||||
| |||||||||
| Divination | |||||||||
| |||||||||
| |||||||||
Now if we leave out some team abbreviations, it should be gracefully handled:
| Golly Season 0 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Season 0 | |||||||||
| Season Dates | |||||||||
| |||||||||
| Timeline | |||||||||
| |||||||||
| Championship | |||||||||
| |||||||||
| Pennants | |||||||||
| |||||||||
| San Francisco Bay Seeds | |||||||||
| |||||||||
| Monterey Bay Seeds | |||||||||
| |||||||||
| Divination | |||||||||
| |||||||||
| |||||||||