Difference between revisions of "Template:Infobox season"
From Golly.Life Wiki
| Line 36: | Line 36: | ||
| header9 = Timeline | | header9 = Timeline | ||
| data10 = {{Infobox | subbox = yes | | data10 = {{Infobox | subbox = yes | ||
| − | | | + | | labelstyle = width:50%; |
| − | + | | label1 = Previous Season | |
| − | + | | data1 = {{#ifexpr:{{{season}}} > 1 |[[Season {{#expr:{{{season}}} - 1}}]]|}} | |
| − | |Previous Season | + | | label2 = Next Season |
| − | | | + | | data2 = [[Season {{#expr:{{{season}}} + 1}}]] |
| − | |||
| − | |[[Season 1]] | ||
| − | |[[Season | ||
| − | |||
}} | }} | ||
Revision as of 05:43, 6 February 2021
The {{Infobox season}} template is used to define an infobox for a Golly season.
Here is how you use it:
{{Infobox season
| season = 1
| era = Indifference
| start_date = January 1, 2020
| end_date = January 1, 2021
| champion = [[Long Beach Flightless Birds]]
| champion_abbr = LBFB
| hot_league_winner = [[San Francisco Boat Shoes]]
| cold_league_winner = [[Long Beach Flightless Birds]]
| most_wins = [[San Francisco Boat Shoes]]
| most_losses = [[Alewife Arsonists]], [[Elko Astronauts]], [[Orlando Business Majors]]
| arcana = Knight of Cups
| title = Lord of Waves and Waters
}}
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 1 | |||||||
|---|---|---|---|---|---|---|---|
|
Season 1 | |||||||
| Season Dates | |||||||
| |||||||
| Championship | |||||||
| |||||||
| Pennants | |||||||
| |||||||
| Records | |||||||
| |||||||
| Timeline | |||||||
| |||||||
| Divination | |||||||
| |||||||
| |||||||