Difference between revisions of "Template:Player infobox"

From comp.tf
Jump to navigation Jump to search
m (Reverted edits by Flatline (talk) to last revision by Kaneco)
Line 1: Line 1:
 
{| class="infobox"
 
{| class="infobox"
 
|-
 
|-
! colspan=2 class="centered" | {{class|{{{class}}}}}{{{alias}}}
+
! colspan=2 | {{{alias}}}{{flag|{{{country}}}}}
 
|-
 
|-
| colspan=2 class="centered" | {{#if:{{{image|}}} | [[File:{{{image}}}{{!}}]] |}}
+
| colspan=2 class="centered" | {{#if:{{{image|}}} | [[File:{{{image}}}{{!}}{{{imagesize|150px}}}]] |}}
 
|-
 
|-
 
! colspan=2 | Player Information
 
! colspan=2 | Player Information
Line 51: Line 51:
 
**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 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
 
*After the code you can write and format text as you normally would for a more detailed history of the player
 +
*For the flag, just use the template {{flag|uk}} and replace uk with whatever country.  This is just a hotfix for now
 
<pre>
 
<pre>
 
{{Player infobox
 
{{Player infobox
 
| alias = numlocked
 
| alias = numlocked
 +
| flag = {{flag|uk}}
 
| image = numlocked.jpg
 
| image = numlocked.jpg
 
| fullname = Seb Barton
 
| fullname = Seb Barton

Revision as of 19:58, 25 August 2013

{{{alias}}}{{Flag/{{{country}}}}}
Player Information
Country {{Flag/{{{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
  • For the flag, just use the template United Kingdom and replace uk with whatever country. This is just a hotfix for now
{{Player infobox
| alias = numlocked
| flag = {{flag|uk}}
| image = numlocked.jpg
| fullname = Seb Barton
| age = 20
| country = UK
| formats = 6v6
| class = Demoman
| currentteam = Epsilon eSports
| previousteams = Team Infused
| achievements = Current ETF2L champion
| steam = numrocked
| youtube = num1ocked
| twitch = numlocked
| otherlinks = (blank if none)
}}