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...") |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| − | | name = | + | | name = Pseudo Cup Season {{{season}}} |
| abovestyle = background:#aaa; color:#272B30; | | abovestyle = background:#aaa; color:#272B30; | ||
| − | | above = | + | | above = Pseudo Cup Season {{{season}}} |
| image = [[File:PseudoCup.png|200px|alt=Pseudo Cup logo]] | | image = [[File:PseudoCup.png|200px|alt=Pseudo Cup logo]] | ||
| − | | caption = Season {{{season}}} | + | | caption = [[Pseudo Cup]] Season {{{season}}} |
|headerstyle = background:#aaa; color:#272B30; | |headerstyle = background:#aaa; color:#272B30; | ||
| 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|}}}}}]]| }} |
}} | }} | ||
| 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 = | + | | header9 = San Francisco Bay 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 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}}}}}]]| }} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| Line 91: | Line 85: | ||
| san_francisco_bay_league_seed3_abbr = OB | | san_francisco_bay_league_seed3_abbr = OB | ||
| san_francisco_bay_league_seed4_abbr = MVM | | san_francisco_bay_league_seed4_abbr = MVM | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
| Line 117: | Line 108: | ||
| san_francisco_bay_league_seed3_abbr = OB | | san_francisco_bay_league_seed3_abbr = OB | ||
| san_francisco_bay_league_seed4_abbr = MVM | | san_francisco_bay_league_seed4_abbr = MVM | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| Line 151: | Line 139: | ||
[[Category:Teams]] | [[Category:Teams]] | ||
[[Category:Infobox]] | [[Category:Infobox]] | ||
| + | [[Category:Pseudo Cup]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:20, 3 November 2025
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
}}
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:
| Pseudo Cup Season 0 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Pseudo Cup Season 0 | |||||||||
| Season Dates | |||||||||
| |||||||||
| Timeline | |||||||||
| |||||||||
| Championship | |||||||||
| |||||||||
| Pennants | |||||||||
| |||||||||
| San Francisco Bay Seeds | |||||||||
| |||||||||
| Monterey Bay Seeds | |||||||||
| |||||||||
| |||||||||
Now if we leave out some team abbreviations, it should be gracefully handled:
| Pseudo Cup Season 0 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Pseudo Cup Season 0 | |||||||||
| Season Dates | |||||||||
| |||||||||
| Timeline | |||||||||
| |||||||||
| Championship | |||||||||
| |||||||||
| Pennants | |||||||||
| |||||||||
| San Francisco Bay Seeds | |||||||||
| |||||||||
| Monterey Bay Seeds | |||||||||
| |||||||||
| |||||||||