Difference between revisions of "Template:Infobox cup"

From Golly.Life Wiki

Line 13: Line 13:
 
  |  data2 = {{Infobox | subbox = yes
 
  |  data2 = {{Infobox | subbox = yes
 
     | label2 = Splorts League      | data2 = {{{splorts_league|}}}
 
     | label2 = Splorts League      | data2 = {{{splorts_league|}}}
     | label3 = Cellular Autonoma Rule | data3 = {{{rule_set|}}}
+
     | label3 = CA Rule             | data3 = {{{rule_set|}}}
     | label4 = Rules                | data4 = {{{rules_link|}}}
+
     | label4 = Geometry            | data4 = {{{geometry|}}}
     | label5 = Geometry            | data5 = {{{geometry|}}}
+
     | label5 = Rules                | data5 = {{{rules_link|}}}
 
     | label6 = League Names        | data6 = {{{league_names|}}}
 
     | label6 = League Names        | data6 = {{{league_names|}}}
 
     | label7 = Division Names      | data7 = {{{division_names|}}}
 
     | label7 = Division Names      | data7 = {{{division_names|}}}

Revision as of 04:17, 25 May 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
| rule_set = B3/S23
| geometry = Infinite Grid
| rules_link = [[Hellmouth Cup/Rules]]
| league_names = Cold, Hot
| division_names = Fire, Water
| first_season = [[Season 1]]
| last_season = [[Season 24]]
}}

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
Splorts League Golly
CA Rule B3/S23
Geometry Infinite Grid
Rules Hellmouth Cup/Rules
League Names Cold, Hot
Division Names Fire, Water
First Season Season 1
Last Season Season 24
 
Template:Infobox cup   •   edit