Difference between revisions of "Template:Infobox team"
From Golly.Life Wiki
| Line 15: | Line 15: | ||
| label1 = Name | data1 = {{{name|}}} | | label1 = Name | data1 = {{{name|}}} | ||
| label2 = Primary Color | data2 = {{HexColor|{{{color}}}}} | | label2 = Primary Color | data2 = {{HexColor|{{{color}}}}} | ||
| − | | label3 = Secondary Color | data3 = <span style="background: #{{{color}}};">{{HexColor|{{{secondary_color}}}}}</span> | + | | label3 = Secondary Color | data3 = <span style="background: #{{{color}}};">{{HexColor|{{{secondary_color|}}}}}</span> |
| label4 = Logo | data4 = {{TeamLogo|{{{abbr}}}}} | | label4 = Logo | data4 = {{TeamLogo|{{{abbr}}}}} | ||
| label5 = Abbreviation | data5 = {{{abbr}}} | | label5 = Abbreviation | data5 = {{{abbr}}} | ||
Revision as of 00:01, 8 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
| secondary_color = ffffff
| 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 | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
"Hello world!" | |||||||||||||||||||||
| Team Information | |||||||||||||||||||||
| |||||||||||||||||||||
| Rivalry Crowns | |||||||||||||||||||||
| Preferences | |||||||||||||||||||||
| |||||||||||||||||||||
| Divination | |||||||||||||||||||||
| |||||||||||||||||||||
| |||||||||||||||||||||