Difference between revisions of "Template:Infobox team"

From Golly.Life Wiki

Line 1: Line 1:
 +
<includeonly>{{Infobox
 +
|name        = BTX
 +
|abovestyle  = background:#3e92cc; color:#272B30;
 +
|above        = Baltimore Texas
  
 +
|image        = [[File:BTX.png|200px|alt=Example alt text]]
 +
|caption      = "Austin, Maryland!"
  
 +
|headerstyle  = background:#3e92cc; color:#272B30;
 +
|labelstyle  = background:#272B30; color:#3e92cc;
 +
|datastyle    = background:#272B30; color:#eee;
  
{{Infobox}}
+
| header1 = Golly Info
<noinclude>
+
|  data2 = {{Infobox | subbox = yes
The {{Tl|Team}} template is used to insert an infobox for a Golly team.
+
    |  label1 = Division    |  data1 = [[Leagues|Cold Water Division]]
 +
    |  label2 = League      |  data2 = [[Leagues|Cold League]]
 +
    |  label3 = Color        |  data3 = {{HexColor|3e92cc}}
 +
    |  label4 = Abbreviation |  data4 = BTX
 +
  }}
 +
| header3 = Team Info
 +
|  data4 = {{Infobox | subbox = yes
 +
    |  label1 = Hometown    |  data1 = Baltimore
 +
    |  label2 = Stadium    |  data2 = N/A
 +
    |  label3 = Slogan      |  data3 = "Austin, Maryland!"
 +
  }}
 +
| header5 = Divination Info
 +
|  data6 = {{Infobox | subbox = yes
 +
    |  label1 = Arcana      |  data1 = N/A
 +
    |  label2 = Emoji      |  data2 = N/A
 +
    |  label3 = Attribute  |  data3 = Value
 +
  }}
 +
 
 +
|belowstyle = background:#272B30; color: #eee;
 +
|below      = Below text
 +
}}</includeonly><noinclude>
 +
The {{Tl|Team}} template is used to define an infobox for a Golly team.
  
 
Here is how you use it:
 
Here is how you use it:
  
 
<pre>
 
<pre>
 +
<nowiki>
 
{{Team
 
{{Team
 
| name = <name of team>
 
| name = <name of team>
Line 24: Line 55:
 
| emoji =  
 
| emoji =  
 
}}
 
}}
 +
</nowiki>
 
</pre>
 
</pre>
  
Line 45: Line 77:
  
 
[[Category:Teams]]
 
[[Category:Teams]]
 
{{Infobox
 
|name        = BTX
 
|abovestyle  = background:#3e92cc; color:#272B30;
 
|above        = Baltimore Texas
 
 
|image        = [[File:BTX.png|200px|alt=Example alt text]]
 
|caption      = "Austin, Maryland!"
 
 
|headerstyle  = background:#3e92cc; color:#272B30;
 
|labelstyle  = background:#272B30; color:#3e92cc;
 
|datastyle    = background:#272B30; color:#eee;
 
 
| header1 = Golly Info
 
|  data2 = {{Infobox | subbox = yes
 
    |  label1 = Division    |  data1 = [[Leagues|Cold Water Division]]
 
    |  label2 = League      |  data2 = [[Leagues|Cold League]]
 
    |  label3 = Color        |  data3 = {{HexColor|3e92cc}}
 
    |  label4 = Abbreviation |  data4 = BTX
 
  }}
 
| header3 = Team Info
 
|  data4 = {{Infobox | subbox = yes
 
    |  label1 = Hometown    |  data1 = Baltimore
 
    |  label2 = Stadium    |  data2 = N/A
 
    |  label3 = Slogan      |  data3 = "Austin, Maryland!"
 
  }}
 
| header5 = Divination Info
 
|  data6 = {{Infobox | subbox = yes
 
    |  label1 = Arcana      |  data1 = N/A
 
    |  label2 = Emoji      |  data2 = N/A
 
    |  label3 = Attribute  |  data3 = Value
 
  }}
 
 
|belowstyle = background:#272B30; color: #eee;
 
|below      = Below text
 
}}
 
  
 
</noinclude>
 
</noinclude>

Revision as of 17:07, 5 February 2021

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

Here is how you use it:


{{Team
| name = <name of team>
| abbr = <team abbr>
| color = AABBCC
| league = Cold
| division = Fire
| hometown = Baltimore
| stadium = N/A
| caption1 = 
| captain = 
| friends = 
| rivals = 
| arcana = 
| emoji = 
}}

The {{Team}} template will pass these arguments to the {{Infobox}} template, inserting the right bits of information in the right places to produce this:

[[File:{{{1}}}.png|25px]] [[| ]]