Difference between revisions of "Template:Infobox team"

From Golly.Life Wiki

Line 15: Line 15:
 
     |  label1 = Name        |  data1 = {{{name|}}}
 
     |  label1 = Name        |  data1 = {{{name|}}}
 
     |  label2 = Color        |  data2 = {{HexColor|{{{color}}}}}
 
     |  label2 = Color        |  data2 = {{HexColor|{{{color}}}}}
     |  label3 = Abbreviation |  data3 = {{{abbr}}}
+
     |  label3 = Logo        |  data3 = {{TeamLogo|{{{abbr}}}}}
     |  label4 = Logo        |  data4 = {{TeamLogo|{{{abbr}}}}}
+
     |  label4 = Abbreviation |  data4 = {{{abbr}}}
 
     |  label5 = Nickname    |  data5 = {{{nickname|}}}
 
     |  label5 = Nickname    |  data5 = {{{nickname|}}}
 
     |  label6 = Hometown    |  data6 = {{{hometown}}}
 
     |  label6 = Hometown    |  data6 = {{{hometown}}}

Revision as of 23:10, 28 December 2022

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
Color #3e92cc
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