Difference between revisions of "Template:Player infobox"

From comp.tf
Jump to navigation Jump to search
 
(44 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{| class="infobox"
 
{| class="infobox"
 
|-
 
|-
! colspan=2 | {{{alias}}} {{{flag}}}
+
! colspan=2 "class="centered" | <center>{{class|{{{class}}}}}{{{alias}}}</center>
 
|-
 
|-
| colspan=2 class="centered" | {{#if:{{{image|}}} | [[File:{{{image}}}{{!}}{{{imagesize|150px}}}]] |}}
+
| colspan=2 class="centered" | {{#if:{{{image|}}} | [[File:{{{image}}}{{!}}{{{imagesize|300px}}}]] |}}
 
|-
 
|-
 
! colspan=2 | Player Information
 
! colspan=2 | Player Information
Line 16: Line 16:
 
|-
 
|-
 
| style="width: 30%" | '''Country'''
 
| style="width: 30%" | '''Country'''
| {{{country}}}
+
| {{flag|{{{country}}}}} {{{country}}}
 
|-
 
|-
 
| '''Competition formats'''
 
| '''Competition formats'''
Line 43: Line 43:
 
|}
 
|}
  
<noinclude>
+
[[Category:Player Infoboxes that need updating]]<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 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))
+
**'''Important:''' If you don't know a value (IE: name, age, etc...) don't delete the line, just keep it 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.
 
**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
 
**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
 +
 +
=== Example ===
 
<pre>
 
<pre>
 
{{Player infobox
 
{{Player infobox
 
| alias = numlocked
 
| alias = numlocked
| flag = uk
+
| image = Numlocked.jpg
| image = numlocked.jpg
 
 
| fullname = Seb Barton
 
| fullname = Seb Barton
 
| age = 20
 
| age = 20
| country = UK
+
| country = England
 
| formats = 6v6
 
| formats = 6v6
 
| class = Demoman
 
| class = Demoman
| currentteam = Epsilon eSports
+
| currentteam = [[Epsilon eSports]]
| previousteams = Team Infused
+
| previousteams = Vale, Team Onlinegamer, TCM, Team Infused
 
| achievements = Current ETF2L champion
 
| achievements = Current ETF2L champion
 
| steam = numrocked
 
| steam = numrocked
 
| youtube = num1ocked
 
| youtube = num1ocked
 
| twitch = numlocked
 
| twitch = numlocked
| otherlinks = (blank if none)
+
| otherlinks = [http://etf2l.org/forum/user/2574/ ETF2L]
 
}}
 
}}
 
</pre>
 
</pre>
  
[[Category:Infoboxes]]
+
=== Will Yield ===
 +
{{Player infobox
 +
| alias = numlocked
 +
| image = Numlocked.jpg
 +
| fullname = Seb Barton
 +
| age = 20
 +
| country = England
 +
| formats = 6v6
 +
| class = Demoman
 +
| currentteam = [[Epsilon eSports]]
 +
| previousteams = Vale, Team Onlinegamer, TCM, Team Infused
 +
| achievements = Current ETF2L champion
 +
| steam = numrocked
 +
| youtube = num1ocked
 +
| twitch = numlocked
 +
| otherlinks = [http://etf2l.org/forum/user/2574/ ETF2L]
 +
}}
 +
 
 +
[[Category:Infoboxes]][[Category:Template]]

Latest revision as of 08:31, 3 September 2017

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


Usage

  • Just copy the 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 keep it 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

Example

{{Player infobox
| alias = numlocked
| image = Numlocked.jpg
| fullname = Seb Barton
| age = 20
| country = England
| formats = 6v6
| class = Demoman
| currentteam = [[Epsilon eSports]]
| previousteams = Vale, Team Onlinegamer, TCM, Team Infused
| achievements = Current ETF2L champion
| steam = numrocked
| youtube = num1ocked
| twitch = numlocked
| otherlinks = [http://etf2l.org/forum/user/2574/ ETF2L]
}}

Will Yield

Demomennumlocked
Numlocked.jpg
Player Information
Full name Seb Barton
Age 20
Country England England
Competition formats 6v6
Main class Demoman
Current Team Epsilon eSports
Previous Team(s) Vale, Team Onlinegamer, TCM, Team Infused
Achievements
Current ETF2L champion
Links
Steam icon.png

Youtube icon.png Twitch icon.png

ETF2L