Difference between revisions of "Template:Infobox pseudo season"
From Golly.Life Wiki
(Created page with "<includeonly>{{Infobox | name = Golly Season {{{season}}} | abovestyle = background:#aaa; color:#272B30; | above = Golly Season {{{season}}} | image...") |
|||
| Line 33: | Line 33: | ||
| header7 = Pennants | | header7 = Pennants | ||
| data8 = {{Infobox | subbox = yes | | data8 = {{Infobox | subbox = yes | ||
| − | | label1 = | + | | label1 = San Francisco Bay League | data1 = {{#if:{{{san_francisco_bay_league_winner_abbr|}}}|{{Main Page Thumbnail|{{{san_francisco_bay_league_winner_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{san_francisco_bay_league_winner_abbr}}}}} logo|{{TeamAbbrToName|{{{san_francisco_bay_league_winner_abbr}}}}}|size=60}}{{clear}}[[{{TeamAbbrToName|{{{san_francisco_bay_league_winner_abbr|}}}}}]]| }} |
| − | | label2 = | + | | label2 = Monterey Bay League | data2 = {{#if:{{{monterey_bay_league_winner_abbr|}}}|{{Main Page Thumbnail|{{{monterey_bay_league_winner_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{monterey_bay_league_winner_abbr}}}}} logo|{{TeamAbbrToName|{{{monterey_bay_league_winner_abbr}}}}}|size=60}}{{clear}}[[{{TeamAbbrToName|{{{monterey_bay_league_winner_abbr|}}}}}]]| }} |
}} | }} | ||
| header9 = Cold League Seeds | | header9 = Cold League Seeds | ||
| data10 = {{Infobox | subbox = yes | | data10 = {{Infobox | subbox = yes | ||
| − | | label1 = Seed 1 | data1 = {{#if:{{{ | + | | 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}}}}}]]| }} |
| − | | label2 = Seed 2 | data2 = {{#if:{{{ | + | | label2 = Seed 2 | data2 = {{#if:{{{san_francisco_bay_league_seed2_abbr|}}}|{{Main Page Thumbnail|{{{san_francisco_bay_league_seed2_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{san_francisco_bay_league_seed2_abbr}}}}} logo|{{TeamAbbrToName|{{{san_francisco_bay_league_seed2_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{san_francisco_bay_league_seed2_abbr}}}}}]]| }} |
| − | | label3 = Seed 3 | data3 = {{#if:{{{ | + | | label3 = Seed 3 | data3 = {{#if:{{{san_francisco_bay_league_seed3_abbr|}}}|{{Main Page Thumbnail|{{{san_francisco_bay_league_seed3_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{san_francisco_bay_league_seed3_abbr}}}}} logo|{{TeamAbbrToName|{{{san_francisco_bay_league_seed3_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{san_francisco_bay_league_seed3_abbr}}}}}]]| }} |
| − | | label4 = Seed 4 | data4 = {{#if:{{{ | + | | label4 = Seed 4 | data4 = {{#if:{{{san_francisco_bay_league_seed4_abbr|}}}|{{Main Page Thumbnail|{{{san_francisco_bay_league_seed4_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{san_francisco_bay_league_seed4_abbr}}}}} logo|{{TeamAbbrToName|{{{san_francisco_bay_league_seed4_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{san_francisco_bay_league_seed4_abbr}}}}}]]| }} |
}} | }} | ||
| − | | header11 = | + | | header11 = Monterey Bay League Seeds |
| data12 = {{Infobox | subbox = yes | | data12 = {{Infobox | subbox = yes | ||
| − | | label1 = Seed 1 | data1 = {{#if:{{{ | + | | 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}}}}}]]| }} |
| − | | label2 = Seed 2 | data2 = {{#if:{{{ | + | | label2 = Seed 2 | data2 = {{#if:{{{monterey_bay_league_seed2_abbr|}}}|{{Main Page Thumbnail|{{{monterey_bay_league_seed2_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{monterey_bay_league_seed2_abbr}}}}} logo|{{TeamAbbrToName|{{{monterey_bay_league_seed2_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{monterey_bay_league_seed2_abbr}}}}}]]| }} |
| − | | label3 = Seed 3 | data3 = {{#if:{{{ | + | | label3 = Seed 3 | data3 = {{#if:{{{monterey_bay_league_seed3_abbr}}}|{{Main Page Thumbnail|{{{monterey_bay_league_seed3_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{monterey_bay_league_seed3_abbr}}}}} logo|{{TeamAbbrToName|{{{monterey_bay_league_seed3_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{monterey_bay_league_seed3_abbr}}}}}]]| }} |
| − | | label4 = Seed 4 | data4 = {{#if:{{{ | + | | label4 = Seed 4 | data4 = {{#if:{{{monterey_bay_league_seed4_abbr|}}}|{{Main Page Thumbnail|{{{monterey_bay_league_seed4_abbr|PseudoCup}}}.png|{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}} logo|{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}}|size=45}}{{clear}}[[{{TeamAbbrToName|{{{monterey_bay_league_seed4_abbr}}}}}]]| }} |
}} | }} | ||
Revision as of 22:11, 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 | |||||||||
| |||||||||
| Cold League Seeds | |||||||||
| |||||||||
| Monterey Bay League 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 | |||||||||
| |||||||||
| Cold League Seeds | |||||||||
| |||||||||
| Monterey Bay League Seeds | |||||||||
| |||||||||
| Divination | |||||||||
| |||||||||
| |||||||||