Difference between revisions of "Template:Infobox team"
From Golly.Life Wiki
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| − | | name = {{abbr}} | + | | name = {{{abbr}}} |
| − | | abovestyle = background:#{{color}}; color:#272B30; | + | | abovestyle = background:#{{{color}}}; color:#272B30; |
| − | | above = {{name}} | + | | above = {{{name}}} |
| + | | image = [[File:{{{abbr}}}.png|200px|alt={{{name}}} logo]] | ||
| + | | caption = "{{{slogan}}}" | ||
| − | + | |headerstyle = background:#{{{color}}}; color:#272B30; | |
| − | | | + | |labelstyle = background:#272B30; color:#{{{color}}}; |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |labelstyle = background:#272B30; color:# | ||
|datastyle = background:#272B30; color:#eee; | |datastyle = background:#272B30; color:#eee; | ||
| header1 = Golly Info | | header1 = Golly Info | ||
| data2 = {{Infobox | subbox = yes | | data2 = {{Infobox | subbox = yes | ||
| − | | label1 = Division | data1 = [[Leagues| | + | | label1 = Division | data1 = [[Leagues|{{{league}}} {{{division}}} Division]] |
| − | | label2 = League | data2 = [[Leagues| | + | | label2 = League | data2 = [[Leagues|{{{league}}} League]] |
| − | | label3 = Color | data3 = {{HexColor| | + | | label3 = Color | data3 = {{HexColor|{{{color}}}}} |
| − | | label4 = Abbreviation | data4 = | + | | label4 = Abbreviation | data4 = {{{abbr}}} |
}} | }} | ||
| header3 = Team Info | | header3 = Team Info | ||
| data4 = {{Infobox | subbox = yes | | data4 = {{Infobox | subbox = yes | ||
| − | | label1 = Hometown | data1 = | + | | label1 = Hometown | data1 = {{{hometown}}} |
| − | | label2 = Stadium | data2 = | + | | label2 = Stadium | data2 = {{{stadium|None}}} |
| − | | label3 = Slogan | data3 = " | + | | label3 = Slogan | data3 = "{{{slogan}}}" |
}} | }} | ||
| header5 = Divination Info | | header5 = Divination Info | ||
| data6 = {{Infobox | subbox = yes | | data6 = {{Infobox | subbox = yes | ||
| − | | label1 = Arcana | data1 = | + | | label1 = Arcana | data1 = {{{arcana}}} |
| − | | label2 = Emoji | data2 = | + | | label2 = Emoji | data2 = {{{emoji}}} <!-- |
| label3 = Attribute | data3 = Value | | label3 = Attribute | data3 = Value | ||
| − | }} | + | -->}} |
|belowstyle = background:#272B30; color: #eee; | |belowstyle = background:#272B30; color: #eee; | ||
| − | |below = | + | |below = Footer text |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
The {{Tl|Team}} template is used to define an infobox for a Golly team. | The {{Tl|Team}} template is used to define an infobox for a Golly team. | ||
| Line 47: | Line 41: | ||
<nowiki> | <nowiki> | ||
{{Team | {{Team | ||
| − | | name = | + | | name = Baltimore Texas |
| − | | abbr = | + | | abbr = BTX |
| − | | color = | + | | color = 3e92cc |
| league = Cold | | league = Cold | ||
| division = Fire | | division = Fire | ||
| + | | slogan = Austin, Maryland! | ||
| hometown = Baltimore | | hometown = Baltimore | ||
| stadium = N/A | | stadium = N/A | ||
| − | |||
| captain = | | captain = | ||
| friends = | | friends = | ||
| Line 67: | Line 61: | ||
{{Team | {{Team | ||
| − | | name = | + | | name = Baltimore Texas |
| − | | abbr = | + | | abbr = BTX |
| − | | color = | + | | color = 3e92cc |
| league = Cold | | league = Cold | ||
| division = Fire | | division = Fire | ||
| + | | slogan = Austin, Maryland! | ||
| hometown = Baltimore | | hometown = Baltimore | ||
| stadium = N/A | | stadium = N/A | ||
| − | |||
| captain = | | captain = | ||
| friends = | | friends = | ||
Revision as of 17:22, 5 February 2021
The {{Team}} template is used to define an infobox for a Golly team.
Here is how you use it:
{{Team
| name = Baltimore Texas
| abbr = BTX
| color = 3e92cc
| league = Cold
| division = Fire
| slogan = Austin, Maryland!
| hometown = Baltimore
| stadium = N/A
| 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]] [[| ]]