Difference between revisions of "Template:Infobox cup"
From Golly.Life Wiki
(Created page with "<includeonly>{{Infobox | name = {{{name}}} | abovestyle = background:#cfc; color:#272B30; | above = {{{name}}} | image = File:{{{logo}}}|200px|alt...") |
|||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| name = {{{name}}} | | name = {{{name}}} | ||
| − | | abovestyle = background:# | + | | abovestyle = background:#ffe222; color:#272B30; |
| above = {{{name}}} | | above = {{{name}}} | ||
| image = [[File:{{{logo}}}|200px|alt={{{name}}} logo]] | | image = [[File:{{{logo}}}|200px|alt={{{name}}} logo]] | ||
| − | |headerstyle = background:# | + | |headerstyle = background:#ff9; color:#272B30; |
| − | |labelstyle = background:#272B30; color:# | + | |labelstyle = background:#272B30; color:#ff9; |
|datastyle = background:#272B30; color:#eee; | |datastyle = background:#272B30; color:#eee; | ||
| header1 = League | | header1 = League | ||
| data2 = {{Infobox | subbox = yes | | data2 = {{Infobox | subbox = yes | ||
| − | | data1 = {{Main Page Thumbnail|GollyLogoTransparent.png|Golly logo|Golly|size=100}} | + | | data1 = <br />{{Main Page Thumbnail|GollyLogoTransparent.png|Golly logo|Golly|size=100}}<br /> |
| label2 = Splorts League | data2 = {{{splorts_league|}}} | | label2 = Splorts League | data2 = {{{splorts_league|}}} | ||
| label3 = League Names | data3 = {{{league_names|}}} | | label3 = League Names | data3 = {{{league_names|}}} | ||
Revision as of 05:32, 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 | |||||||||||
| |||||||||||
| |||||||||||