Difference between revisions of "Template:Infobox team"

From Golly.Life Wiki

Line 4: Line 4:
 
{{Infobox}}
 
{{Infobox}}
 
<noinclude>
 
<noinclude>
 +
The {{Tl|Team}} template is used to insert an infobox for a Golly team.
 +
 +
Here is how you use it:
 +
 +
<pre>
 +
{{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 =
 +
}}
 +
</pre>
 +
 +
The {{Tl|Team}} template will pass these arguments to the {{Tl|Infobox}} template, inserting the right bits of information in the right places to produce this:
 +
 +
{{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 =
 +
}}
 +
 +
[[Category:Teams]]
  
 
{{Infobox
 
{{Infobox
Line 19: Line 60:
 
  | header1 = Golly Info
 
  | header1 = Golly Info
 
  |  data2 = {{Infobox | subbox = yes
 
  |  data2 = {{Infobox | subbox = yes
     |  label1 = Division    |  data1 = [[Leagues|Cold Water]]
+
     |  label1 = Division    |  data1 = [[Leagues|Cold Water Division]]
     |  label2 = League      |  data2 = [[Leagues|Cold]]
+
     |  label2 = League      |  data2 = [[Leagues|Cold League]]
 
     |  label3 = Color        |  data3 = {{HexColor|3e92cc}}
 
     |  label3 = Color        |  data3 = {{HexColor|3e92cc}}
 
     |  label4 = Abbreviation |  data4 = BTX
 
     |  label4 = Abbreviation |  data4 = BTX

Revision as of 17:04, 5 February 2021


The {{Team}} template is used to insert 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]] [[| ]]

Baltimore Texas
Example alt text
"Austin, Maryland!"
Golly Info
Division Cold Water Division
League Cold League
Color #3e92cc
Abbreviation BTX
Team Info
Hometown Baltimore
Stadium N/A
Slogan "Austin, Maryland!"
Divination Info
Arcana N/A
Emoji N/A
Attribute Value

Below text