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:#ffe222; color:#272B30;
+
  | 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:#ff9; color:#272B30;
+
  |headerstyle  = background:#ffe200; color:#272B30;
  |labelstyle  = background:#272B30; color:#ff9;
+
  |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
Hellmouth Cup logo
League


Golly logo


Splorts League Golly (Classic)
League Names Cold, Hot
Division Names Fire, Water
First Season Season 1
Champions
Most Recent Champion Milwaukee Flamingos (Season 9)
Most Championship Titles San Francisco Boat Shoes (2)
 
Template:Infobox cup   •   edit