Difference between revisions of "Template:Infobox cup"

From Golly.Life Wiki

Line 13: Line 13:
 
  |  data2 = {{Infobox | subbox = yes
 
  |  data2 = {{Infobox | subbox = yes
 
     | data1 = <br />{{Main Page Thumbnail|GollyLogoTransparent.png|Golly logo|Golly|size=100}}<br />
 
     | 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 = Game of Life Ruleset | data3 = {{{rule_set|}}}
     | label4 = Division Names   | data4 = {{{division_names|}}}
+
    | label4 = League Names         | data4 = {{{league_names|}}}
     | label5 = First Season     | data5 = [[Season 1]]
+
     | label5 = Division Names       | data5 = {{{division_names|}}}
 +
     | label6 = First Season         | data6 = [[Season 1]]
 
   }}
 
   }}
  

Revision as of 06:31, 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