Template:Infobox Team: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Text replacement - "(color|align|size|width|border): " to "$1:")
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Infobox Team/doc}}</noinclude><includeonly>{|class="infobox bordered" cellpadding="3" style="width:300px"
<noinclude>{{Infobox Team/doc}}</noinclude><includeonly>{|class="infobox bordered" cellpadding="3" style="width:300px"
! colspan="2" style="background-color:#eee; text-align:center; font-size:130%" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background:#eee; text-align:center; font-size:130%" | {{{name|{{PAGENAME}}}}}
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! colspan="2" style="text-align:center" {{!}} {{#ifexist:File:{{{image}}}|[[File:{{{image}}}|{{{imagesize|250px}}}]]|{{{image}}}}} }}
{{!}}colspan="2" style="text-align:center; background:{{{imagebg|#fff}}}"{{!}}{{#ifexist:File:{{{image}}}|[[File:{{{image}}}|{{{imagesize|250px}}}]]|{{{image}}}}}
{{!}}-
}}
|-
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
{{!}}width="1%" style="background:#eeeeee"{{!}}'''Location'''
{{!}}width="1%" style="background:#eee"{{!}}'''Location'''
{{!}}{{{location|}}}
{{!}}{{{location|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{owners|}}}|
{{#if:{{{owners|}}}|
{{!}}width="1%" style="background:#eeeeee"{{!}}'''Owners'''
{{!}}width="1%" style="background:#eee"{{!}}'''Owners'''
{{!}}{{{owners|}}}
{{!}}{{{owners|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{manager|}}}|
{{#if:{{{manager|}}}|
{{!}}width="1%" style="background:#eeeeee"{{!}}'''Player manager'''
{{!}}width="1%" style="background:#eee"{{!}}'''Player manager'''
{{!}}{{{manager|}}}
{{!}}{{{manager|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{sponsors|}}}|
{{#if:{{{sponsors|}}}|
{{!}}width="1%" style="background:#eeeeee"{{!}}'''Sponsors/Partners'''
{{!}}width="1%" style="background:#eee"{{!}}'''Sponsors/Partners'''
{{!}}{{{sponsors|}}}
{{!}}{{{sponsors|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{othergames|}}}|
{{#if:{{{othergames|}}}|
{{!}}width="1%" style="background:#eeeeee"{{!}}'''Other games'''
{{!}}width="1%" style="background:#eee"{{!}}'''Other games'''
{{!}}{{{othergames|}}}
{{!}}{{{othergames|}}}
{{!}}-
{{!}}-

Latest revision as of 20:12, August 1, 2024

The documentation for this template resides in Template:Infobox Team/doc. If you would like to edit it, go there and edit it.

This template is the standard infobox for all team pages.

Code

This lists all the parameters. Not all of them are necessary (such as the "othergames"), but as many as possible should be filled in.

{{Infobox Team
| name       =
| image      =
| location   =
| owners     =
| manager    =
| sponsors   =
| othergames =
}}

Example

Input:

{{Infobox Team
| name       = Team Liquid
| image      = Liquidlogobig.png
| location   = Netherlands
| owners     = Victor Goosens (Nazgul)<br>
Steve Arhancet (Liquid112)
| manager    = Robin Nyman (Bumblebee)
| sponsors   =
[http://www.kingston.com/us/memory/hyperx HyperX]<br>
[http://www.barracudanetworks.com/ Barracuda Networks]<br>
[http://www.getshinythings.com/ ShinyThings]<br>
[http://www.razerzone.com/ Razer]<br>
[http://www.twitch.tv/ Twitch]<br>
[http://www.needforseatusa.com NEEDforSEAT]<br>
| othergames =
''Counter-Strike: Global Offensive''<br>
''Hearthstone: Heroes of WarCraft''<br>
''Heroes of the Storm''<br>
''League of Legends''<br>
''StarCraft II: Legacy of the Void''<br>
''Street Fighter''<br>
''Dota 2''
}}

Output:

Team Liquid
Liquidlogobig.png
Location Netherlands
Owners Victor Goosens (Nazgul)

Steve Arhancet (Liquid112)

Player manager Robin Nyman (Bumblebee)
Sponsors/Partners HyperX

Barracuda Networks
ShinyThings
Razer
Twitch
NEEDforSEAT

Other games Counter-Strike: Global Offensive

Hearthstone: Heroes of WarCraft
Heroes of the Storm
League of Legends
StarCraft II: Legacy of the Void
Street Fighter
Dota 2

Parameters

  • name = The team's title.
  • image = A logo of the sponsor. (Image sized to 250 pixels in width)
  • location = The country of the team. If it is possible to add the city, place the city with the comma and before the country.
  • owners = Founders/owners of the team.
  • manager = Player manager of the team.
  • sponsors = Sister sponsors of the team. List the sponsors with <br>. ("[[Sponsor's name]]").
  • othergames - Other games the team sponsors. List the games with <br>. ("[[Game's name]]")