Difference between revisions of "Template:Team infobox"

From comp.tf
Jump to navigation Jump to search
(added team infobox template)
 
m
 
(34 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| style="float: right; width: 25%; font-size: 88%; background: #f9f9f9; border: 1px solid #ccc; margin: 5px;"
+
{| class="infobox"
 
|-
 
|-
! colspan=2 style="background: #D2D2D0; font-size: small;" | {{{teamname}}}
+
! colspan=2 | {{{teamname}}}  
 
|-
 
|-
| colspan=2 style="text-align: center; " | [[File:{{{image}}}|{{{imagesize|150px}}}]]
+
| colspan=2 class="centered" | {{#if:{{{image|}}} | [[File:{{{image}}}{{!}}{{{imagesize|150px}}}]] |}}
 
|-
 
|-
! colspan=2 style="background: #D2D2D0; font-size: small;" | Team Information
+
! colspan=2 | Team Information
 
|-
 
|-
| style="width: 30%" | '''Tag'''
+
{{#if:{{{tag|}}} |
| {{{tag}}}
+
{{!}} style="width: 30%" {{!}} '''Tag'''
 +
{{!}} {{{tag}}} |}}
 
|-
 
|-
 
| '''Location'''
 
| '''Location'''
| {{{location}}}
+
| {{flag|{{{location}}}}} {{{location}}}
 
|-
 
|-
 
| '''Format'''
 
| '''Format'''
 
| {{{format}}}
 
| {{{format}}}
 
|-
 
|-
| '''Official Website'''
+
{{#if:{{{site|}}} |
| [{{{site}}}]
+
{{!}} '''Official Website'''
 +
{{!}} {{{site}}} |}}
 
|-
 
|-
| '''Sponsors'''
+
{{#if:{{{sponsors|}}} |
| {{{sponsors}}}
+
{{!}} '''Sponsors'''
 +
{{!}} {{{sponsors}}} |}}
 
|-
 
|-
! colspan=2 style="background: #D2D2D0; font-size: small;" | Player Breakdown
+
! colspan=2 | Players
 
|-
 
|-
| '''Leader'''
+
{{#if:{{{Leader|}}} |
| [[{{{leader}}}]]
+
{{!}} '''Leader'''
 +
{{!}} {{{leader}}} |}}
 
|-
 
|-
| '''Notable past players'''
+
{{#if:{{{notableplayers|}}} |
| {{{notableplayers}}}
+
{{!}} '''Past players'''
 +
{{!}} {{{notableplayers}}} |}}
 
|-
 
|-
 
| '''Current players'''
 
| '''Current players'''
 
| {{{currentplayers}}}
 
| {{{currentplayers}}}
 
|-
 
|-
| '''Subs'''
+
{{#if:{{{subs|}}} |
| {{{subs}}}
+
{{!}} '''Subs'''
 +
{{!}} {{{subs}}} |}}
 
|-
 
|-
! colspan=2 style="background: #D2D2D0; font-size: small;" | Achievements
+
{{#if:{{{achievements|}}} |
|-
+
! colspan=2 {{!}} Achievements
| colspan=2 | {{{achievements}}}
+
{{!}}-
|-
+
{{!}} colspan=2 {{!}} {{{achievements}}} |}}
! colspan=2 style="background: #D2D2D0; font-size: small;" | Links
 
|-
 
| colspan=2 | {{{links}}}
 
 
|-
 
|-
 +
{{#if:{{{links|}}} |
 +
! colspan=2 {{!}} Links
 +
{{!}}-
 +
{{!}} align="center" colspan=2 {{!}} {{#if:{{{steamgroup|}}} | {{Steamgroup|{{{steamgroup}}}}}<br/>|}}{{{links}}}
 +
| {{!}} colspan=2 {{!}} }}
 
|}
 
|}
 
+
[[Category:Team Infoboxes that need updating]]
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
  
*Just copy this code below to the page and edit the values after the "="
+
*Just copy the code below to the page you want and edit the values after the "="
**'''Important:''' If you don't know a value just let it be with a null value (blank).
+
**'''Important:''' If you don't know any value or don't have information to fill it just let it be with a null value (blank).
**Please input team names in full and type everything carefully as it will be linked automatically
+
**Please input team names in full and type everything carefully as most things will be linked automatically and should be kept consistent across the wiki
*After the code you can write and format text as you normally would for a more detailed history of the player
+
*After the code you can write and format text as you normally would for a more detailed history of the team
 +
 
 +
=== Example ===
 
<pre>
 
<pre>
 
{{Team infobox
 
{{Team infobox
 
| teamname = Epsilon eSports
 
| teamname = Epsilon eSports
| image = b4nnyface.jpg
+
| image = epsilon.jpeg
 +
| tag = Epsilon
 +
| location = Europe
 +
| format =  6v6
 +
| site = http://www.epsilon-esports.com/
 +
| sponsors = Nike, Razer, Fragnet, Burn Controllers, Game Effect, Gunnar
 +
| leader = KnOxXx
 +
| notableplayers = [[F2]], [[Extremer]], [[Wltrs]], [[Shintaz]], [[Jh]], [[Sneis]], [[Wai]]
 +
| currentplayers = [[Numlocked]], [[KnOxXx]], [[Mike]], [[GeaR]], [[basH]], [[schocky]]
 +
| subs = [[Mitsy]], [[Raymon]]
 +
| achievements = <p>
 +
*[[Insomnia49]] 1st place</p>
 +
| links = [http://etf2l.org/teams/76/ ETF2L]
 +
| steamgroup = epsilonesports
 +
}}
 +
</pre>
 +
 
 +
===Will yeld===
 +
{{Team infobox
 +
| teamname = Epsilon eSports
 +
| image = epsilon.jpeg
 
| tag = Epsilon
 
| tag = Epsilon
| location = EU
+
| location = Europe
 
| format =  6v6
 
| format =  6v6
 
| site = http://www.epsilon-esports.com/
 
| site = http://www.epsilon-esports.com/
| sponsors = Nike
+
| sponsors = Nike, Razer, Fragnet, Burn Controllers, Game Effect, Gunnar
| leader = KnoxXx
+
| leader = KnOxXx
| notableplayers = F2, Extremer, Walters
+
| notableplayers = [[F2]], [[Extremer]], [[Wltrs]], [[Shintaz]], [[Jh]], [[Sneis]], [[Wai]]
| currentplayers = Numlocked, KnoxXx, Mike, GeaR, Bash, Schocky
+
| currentplayers = [[Numlocked]], [[KnOxXx]], [[Mike]], [[GeaR]], [[basH]], [[schocky]]
| subs = Mitsy
+
| subs = [[Mitsy]], [[Raymon]]
| achievments = ETF2L 6v6 Champions the 3 last seasons
+
| achievements = <p>
 +
*[[Insomnia49]] 1st place</p>
 
| links = [http://etf2l.org/teams/76/ ETF2L]
 
| links = [http://etf2l.org/teams/76/ ETF2L]
 +
| steamgroup = epsilonesports
 
}}
 
}}
 +
 +
[[Category:Infoboxes]][[Category:Template]]

Latest revision as of 06:30, 4 March 2017

{{{teamname}}}
Team Information
Location {{Flag/{{{location}}}}} {{{location}}}
Format {{{format}}}
Players
Current players {{{currentplayers}}}

Usage

  • Just copy the code below to the page you want and edit the values after the "="
    • Important: If you don't know any value or don't have information to fill it just let it be with a null value (blank).
    • Please input team names in full and type everything carefully as most things will be linked automatically and should be kept consistent across the wiki
  • After the code you can write and format text as you normally would for a more detailed history of the team

Example

{{Team infobox
| teamname = Epsilon eSports
| image = epsilon.jpeg
| tag = Epsilon
| location = Europe
| format =  6v6
| site = http://www.epsilon-esports.com/
| sponsors = Nike, Razer, Fragnet, Burn Controllers, Game Effect, Gunnar
| leader = KnOxXx
| notableplayers = [[F2]], [[Extremer]], [[Wltrs]], [[Shintaz]], [[Jh]], [[Sneis]], [[Wai]]
| currentplayers = [[Numlocked]], [[KnOxXx]], [[Mike]], [[GeaR]], [[basH]], [[schocky]]
| subs = [[Mitsy]], [[Raymon]]
| achievements = <p>
*[[Insomnia49]] 1st place</p>
| links = [http://etf2l.org/teams/76/ ETF2L]
| steamgroup = epsilonesports
}}

Will yeld

Epsilon eSports
Epsilon.jpeg
Team Information
Tag Epsilon
Location Europe Europe
Format 6v6
Official Website http://www.epsilon-esports.com/
Sponsors Nike, Razer, Fragnet, Burn Controllers, Game Effect, Gunnar
Players
Past players F2, Extremer, Wltrs, Shintaz, Jh, Sneis, Wai
Current players Numlocked, KnOxXx, Mike, GeaR, basH, schocky
Subs Mitsy, Raymon
Achievements

Links
Steam icon.png


ETF2L