Template:Infobox team: Difference between revisions
From Golly.Life Wiki
No edit summary |
No edit summary |
||
| 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 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
"Austin, Maryland!" | |||||||||
| Golly Info | |||||||||
| |||||||||
| Team Info | |||||||||
| |||||||||
| Divination Info | |||||||||
| |||||||||
|
Below text | |||||||||