Difference between revisions of "Template:Player infobox"

From comp.tf
Jump to navigation Jump to search
(Fixed categorising)
(Applying styles)
Line 1: Line 1:
{| style="float: right; width: 24em; font-size: 88%; background: #f9f9f9; border: 1px solid #ccc; margin: 5px;"
+
{| class="infobox"
 
|-
 
|-
! colspan=2 style="background: #D2D2D0; font-size: small;" | {{{alias}}}
+
! colspan=2 | {{{alias}}}
 
|-
 
|-
| colspan=2 style="text-align: center; " | {{#if:{{{image|}}} | [[File:{{{image}}}{{!}}{{{imagesize|150px}}}]] |}}
+
| colspan=2 class="centered" | {{#if:{{{image|}}} | [[File:{{{image}}}{{!}}{{{imagesize|150px}}}]] |}}
 
|-
 
|-
! colspan=2 style="background: #D2D2D0; font-size: small;" | Player Information
+
! colspan=2 | Player Information
 
|-
 
|-
 
{{#if:{{{fullname|}}} |
 
{{#if:{{{fullname|}}} |
Line 32: Line 32:
 
|-
 
|-
 
{{#if:{{{achievements|}}} |
 
{{#if:{{{achievements|}}} |
! colspan=2 style="background: #D2D2D0; font-size: small;" {{!}} Achievements
+
! colspan=2 {{!}} Achievements
 
{{!}}-
 
{{!}}-
 
{{!}} colspan=2 {{!}} {{{achievements}}} |}}
 
{{!}} colspan=2 {{!}} {{{achievements}}} |}}
 
|-
 
|-
! colspan=2 style="background: #D2D2D0; font-size: small;" | Links
+
! colspan=2 | Links
 
|-
 
|-
| style="text-align: center; " colspan=2 | {{Steam|{{{steam}}}}}{{#if:{{{youtube|}}} | {{YouTube|{{{youtube}}}}} |}} {{#if:{{{twitch|}}} | {{Twitch|{{{twitch}}}}} |}}
+
| class="centered" colspan=2 | {{Steam|{{{steam}}}}}{{#if:{{{youtube|}}} | {{YouTube|{{{youtube}}}}} |}} {{#if:{{{twitch|}}} | {{Twitch|{{{twitch}}}}} |}}
 
{{#if:{{{otherlinks|}}} | {{!}}-  
 
{{#if:{{{otherlinks|}}} | {{!}}-  
{{!}} style="text-align: center; " colspan=2 {{!}} {{{otherlinks}}} |}}
+
{{!}} class="centered" colspan=2 {{!}} {{{otherlinks}}} |}}
 
|}
 
|}
  

Revision as of 08:42, 31 July 2013

{{{alias}}}
Player Information
Country {{{country}}}
Competition formats {{{formats}}}
Main class [[{{{class}}}]]
Current Team {{{currentteam}}}
Links
Steam icon.png



Usage

  • Just copy this code below to the page and edit the values after the "="
    • Important: If you don't know a value (IE: name, age, etc, don't delete the line, just let it be with a null value (blank))
    • Default values for this template are: Country, Competition formats, Main class, Current team, Steam profile link. Everything else is optional.
    • Please input team names in full and type everything carefully as it will be linked automatically
  • After the code you can write and format text as you normally would for a more detailed history of the player
numlocked
Numlocked.jpg
Player Information
Full name Seb Barton
Age 20
Country UK
Competition formats 6v6
Main class Demoman
Current Team Epsilon eSports
Previous Team(s) Team Infused
Achievements
Current ETF2L champion
Links
Steam icon.png Youtube icon.png Twitch icon.png
(blank if none)