Template:Infobox team: Difference between revisions

From Golly.Life Wiki

No edit summary
No edit summary
 
(79 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox}}
<includeonly>{{Infobox
<noinclude>
| name        = {{{abbr}}}
| abovestyle  = background:#{{{color}}}; color:#272B30;
| above        = {{{name}}}


{{Infobox
| image        = [[File:{{{abbr}}}.png|200px|alt={{{name}}} logo]]
  |name        = Infobox/doc
  | caption      = "{{{slogan}}}"


  |abovestyle  = background:#3e92cc; color:#272B30;
  |headerstyle  = background:#{{{color}}}; color:#272B30;
  |title        =  
  |labelstyle  = background:#272B30; color:#{{{color}}};
  |above        = Baltimore Texas
  |datastyle   = background:#272B30; color:#eee;
|subheader   =  


  |imagestyle   =  
  | header1 = Team Information
  |captionstyle =  
|   data2 = {{Infobox | subbox = yes
  |image       = [[File:BTX.png|200px|alt=Example alt text]]
    | label1 = Name            |   data1 = {{{name|}}}
  |caption      = "Austin, Maryland!"
    | label2 = Abbreviation    |  data2 = {{{abbr}}}
    | label3 = Nickname       |  data3 = {{{nickname|}}}
    |  label4 = Primary Color  |  data4 = {{HexColor|{{{color}}}}}
    |  label5 = Secondary Color |  data5 = {{#if:{{{secondary_color|}}}|<span style="background: #{{{color}}};">{{HexColor|{{{secondary_color}}}}}</span>|}}
    |  label6 = Logo            |  data6 = {{TeamLogo|{{{abbr}}}}}
    |  label7 = Hometown        |  data7 = {{{hometown}}}
    | label8 = Stadium        |   data8 = {{{stadium|}}}
    | label9 = Emoji          |   data9 = <font size="+3">{{{emoji|}}}</font>
    |  label10 = Status        |  data10 = {{{status|Active}}}
  }}


  |headerstyle  = background:#3e92cc; color:#272B30;
  | header3 = Rivalry Crowns
  |labelstyle   = background:#272B30; color:#3e92cc;
  |  data4 = {{{crowns|None}}}
|datastyle    = background:#272B30; color:#3e92cc;


  |header1 = Golly Info
  | header5 = Favorites
  |label2  = Division
  |   data6 = {{Infobox    | subbox = yes
  |data2   = [[Leagues|Cold Water]]
    | label1 = Mixtape    data1 = {{{mixtape|{{{playlist|}}}}}}
  |label3  = League
    | label2 = Integer    |   data2 = {{{integer|}}}
  |data3   = [[Leagues|Cold League]]
    | label3 = Movie      |   data3 = {{{movie|}}}
  }}


  |header4 = Team Stats
  | header7 = Divination
  |label5 = Team Color
  |   data8 = {{Infobox | subbox = yes
  |data5   = {{HexColor|3e92cc}}
    | label1 = Element    |  data1 = {{{element|}}}
    |  label2 = Power Word data2 = {{{word|}}}
    |  label3 = Card        |   data3 = {{{playing_card|}}}
  }}


  |belowstyle = background:#003;
| header9 = Motto
  |below      = Below text
|  data10 = {{{motto|}}}
 
  |belowstyle = background:#122; color: #eee;
  |below      = {{Infobox | subbox = yes
    | data1 = &nbsp;
    | data2 = [[Template:Infobox team]] {{Dt}} [{{fullurl:Template:Infobox team|action=edit}} edit]
    | data3 = &nbsp;
  }}
}}</includeonly><noinclude>
The {{Tl|Infobox team}} template is used to define an infobox for a Golly team.
 
Here is how you use it:
 
<pre>
<nowiki>
{{Infobox team
| name = Baltimore Examples
| abbr = BTX
| nickname = Tex
 
| color = 3e92cc
| secondary_color = ffffff
| emoji = ⭐️
 
| slogan = Hello world!
| motto = ''Post tenebras spero lucem''<br />(After darkness, I hope for light)
 
| hometown = Baltimore
| stadium = The Alamo (Lord Baltimore Theater)
 
| status = Incinerated
 
| crowns =
* [[Texas Crown]] {{TeamLogo|FWPT}}
 
| mixtape = [https://open.spotify.com/playlist/7q5i9OOTkLEIxoOHPaaf30?si=94d1247465c14cc5 Example Mixtape]
| integer = 0
| movie = The Thing
 
| element = Water
| word = Incinerated
| playing_card = A♠
}}
</nowiki>
</pre>
 
The {{Tl|Infobox team}} template will pass these arguments to the {{Tl|Infobox}} template, inserting the right bits of information in the right places to produce this:
 
{{Infobox team
| name = Baltimore Examples
| abbr = BTX
| nickname = Tex
 
| color = 3e92cc
| secondary_color = ffffff
| emoji = ⭐️
 
| slogan = Hello world!
| motto = ''Post tenebras spero lucem''<br />(After darkness, I hope for light)
 
| hometown = Baltimore
| stadium = The Alamo (Lord Baltimore Theater)
 
| status = Incinerated
 
| crowns =
* [[Texas Crown]] {{TeamLogo|FWPT}}
 
| mixtape = [https://open.spotify.com/playlist/7q5i9OOTkLEIxoOHPaaf30?si=94d1247465c14cc5 Example Mixtape]
| integer = 0
| movie = The Thing
 
| element = Water
| word = Incinerated
| playing_card = A♠
}}
}}


[[Category:Teams]]
[[Category:Infobox]]
</noinclude>
</noinclude>

Latest revision as of 13:21, 27 October 2025

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
| nickname = Tex

| color = 3e92cc
| secondary_color = ffffff
| emoji = ⭐️

| slogan = Hello world!
| motto = ''Post tenebras spero lucem''<br />(After darkness, I hope for light)

| hometown = Baltimore
| stadium = The Alamo (Lord Baltimore Theater)

| status = Incinerated

| crowns =
* [[Texas Crown]] {{TeamLogo|FWPT}}

| mixtape = [https://open.spotify.com/playlist/7q5i9OOTkLEIxoOHPaaf30?si=94d1247465c14cc5 Example Mixtape]
| integer = 0
| movie = The Thing

| element = Water
| word = Incinerated
| playing_card = A♠
}}

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
Abbreviation BTX
Nickname Tex
Primary Color #3e92cc
Secondary Color #ffffff
Logo  BTX.png 
Hometown Baltimore
Stadium The Alamo (Lord Baltimore Theater)
Emoji ⭐️
Status Incinerated
Rivalry Crowns
Favorites
Mixtape Example Mixtape
Integer 0
Movie The Thing
Divination
Element Water
Power Word Incinerated
Card A♠
Motto
Post tenebras spero lucem
(After darkness, I hope for light)
 
Template:Infobox team   •   edit