Difference between revisions of "Template:Infobox team"

From Golly.Life Wiki

Line 26: Line 26:
 
  | header5 = Rivalries
 
  | header5 = Rivalries
 
  | data6 = {{Infobox | subbox = yes
 
  | data6 = {{Infobox | subbox = yes
     |  label1 = Rivals      |  data1 = N/A
+
     |  label1 = Rivals      |  data1 = {{{rivals}}}
     |  label2 = Anti-Rivals |  data2 = N/A
+
     |  label2 = Anti-Rivals |  data2 = {{{antirivals}}}
 
   }}
 
   }}
 
  | header7 = Divination Info
 
  | header7 = Divination Info

Revision as of 19:44, 5 February 2021

The {{Team}} template is used to define an infobox for a Golly team.

Here is how you use it:


{{Infobox team
| name = Baltimore Texas
| abbr = BTX
| color = 3e92cc
| league = Cold
| division = Fire
| slogan = Austin, Maryland!
| hometown = Baltimore
| stadium = The Alamo (Lord Baltimore Theater)
| rivals = [[Ft. Worth Piano Tuners]] ([[Texas Crown]])
| antirivals = [[Alewife Arsonists]]
| arcana = The Hierophant (V)
| emoji = 
}}

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:

Baltimore Texas
Baltimore Texas logo
"Austin, Maryland!"
Golly Info
Division Cold Fire Division
League Cold League
Color #3e92cc
Abbreviation BTX
Team Info
Hometown Baltimore
Stadium The Alamo (Lord Baltimore Theater)
Slogan "Austin, Maryland!"
Rivalries
Rivals Ft. Worth Piano Tuners (Texas Crown)
Anti-Rivals Alewife Arsonists
Divination Info
Arcana The Hierophant (V)
 
Template:Infobox team   •   edit