Difference between revisions of "Template:Infobox cup"
From Golly.Life Wiki
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| name = {{{name}}} | | name = {{{name}}} | ||
| − | | abovestyle = background:# | + | | abovestyle = background:#ffe200; color:#272B30; |
| above = {{{name}}} | | above = {{{name}}} | ||
| image = [[File:{{{logo}}}|200px|alt={{{name}}} logo]] | | image = [[File:{{{logo}}}|200px|alt={{{name}}} logo]] | ||
| − | |headerstyle = background:# | + | |headerstyle = background:#ffe200; color:#272B30; |
| − | |labelstyle = background:#272B30; color:# | + | |labelstyle = background:#272B30; color:#ffe200; |
|datastyle = background:#272B30; color:#eee; | |datastyle = background:#272B30; color:#eee; | ||
Revision as of 19:44, 8 February 2021
The {{Infobox cup}} template is used to define an infobox for a Golly cup.
Here is how you use it:
{{Infobox cup
| name = Hellmouth Cup
| logo = HellmouthCup.png
| splorts_league = Golly (Classic)
| league_names = Cold, Hot
| division_names = Fire, Water
| first_season = [[Season 1]]
| most_recent_champion = [[Milwaukee Flamingos]] ([[Season 9]])
| most_championship_titles = [[San Francisco Boat Shoes]] (2)
}}
The {{Infobox team}} template will pass these arguments to the {{Infobox}} template, inserting the right bits of information in the right places to produce this:
| Hellmouth Cup | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
| League | |||||||||||
| |||||||||||
| Champions | |||||||||||
| |||||||||||
| |||||||||||