Difference between revisions of "Template:Infobox team"

From Golly.Life Wiki

Line 13: Line 13:
 
  | header1 = Team Information
 
  | header1 = Team Information
 
  |  data2 = {{Infobox | subbox = yes
 
  |  data2 = {{Infobox | subbox = yes
     |  label1 = Name         |  data1 = {{{name|}}}
+
     |  label1 = Name           |  data1 = {{{name|}}}
     |  label2 = Color       |  data2 = {{HexColor|{{{color}}}}}
+
     |  label2 = Primary Color   |  data2 = {{HexColor|{{{color}}}}}
     |  label3 = Logo         data3 = {{TeamLogo|{{{abbr}}}}}
+
     |  label3 = Secondary Color |  data3 = {{HexColor|{{{secondary_color}}}}}
     |  label4 = Abbreviation |  data4 = {{{abbr}}}
+
    |  label4 = Logo           data4 = {{TeamLogo|{{{abbr}}}}}
     |  label5 = Nickname     data5 = {{{nickname|}}}
+
     |  label5 = Abbreviation   data5 = {{{abbr}}}
     |  label6 = Hometown     data6 = {{{hometown}}}
+
     |  label6 = Nickname       data6 = {{{nickname|}}}
     |  label7 = Stadium     data7 = {{{stadium|}}}
+
     |  label7 = Hometown       data7 = {{{hometown}}}
     |  label8 = Emoji       data8 = <font size="+2">{{{emoji|}}}</font>
+
     |  label8 = Stadium         data8 = {{{stadium|}}}
     |  label9 = Status       data9 = {{{status|Active}}}
+
     |  label9 = Emoji           data9 = <font size="+2">{{{emoji|}}}</font>
 +
     |  label10 = Status         data10 = {{{status|Active}}}
  
 
   }}
 
   }}

Revision as of 23:38, 7 January 2023

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

Here is how you use it:


{{Infobox team
| name = Baltimore Examples
| abbr = BTX
| color = 3e92cc
| status = Incinerated
| emoji = ⭐️
| slogan = Hello world!
| nickname = Tex
| hometown = Baltimore
| stadium = The Alamo (Lord Baltimore Theater)
| crowns =
* [[Texas Crown]] {{TeamLogo|FWPT}}
| element = Water
| word = Incinerated
| playing_card = A♠
| playlist = [https://example.com Example Playlist]
| integer = 100
| movie = Dallas
}}

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 Examples
Baltimore Examples logo
"Hello world!"
Team Information
Name Baltimore Examples
Primary Color #3e92cc
Secondary Color #{{{secondary_color}}}
Logo  BTX.png 
Abbreviation BTX
Nickname Tex
Hometown Baltimore
Stadium The Alamo (Lord Baltimore Theater)
Emoji ⭐️
Status Incinerated
Rivalry Crowns
Preferences
Mixtape Example Playlist
Integer 100
Movie Dallas
Divination
Element Water
Power Word Incinerated
Card A♠
 
Template:Infobox team   •   edit