Difference between revisions of "Template:Player infobox"

From comp.tf
Jump to navigation Jump to search
(updated player box)
 
(70 intermediate revisions by 8 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: #ABAAA5; font-size: small;" | {{{alias}}}
+
! colspan=2 "class="centered" | <center>{{class|{{{class}}}}}{{{alias}}}</center>
 
|-
 
|-
| colspan=2 style="text-align: center; " | [[File:{{{image}}}|{{{imagesize|150px}}}]]
+
| colspan=2 class="centered" | {{#if:{{{image|}}} | [[File:{{{image}}}{{!}}{{{imagesize|300px}}}]] |}}
 
|-
 
|-
| style="width: 30%" | '''Full name'''
+
! colspan=2 | Player Information
| {{{fullname}}}
 
 
|-
 
|-
| '''Age'''
+
{{#if:{{{fullname|}}} |
| {{{age}}}
+
{{!}} style="width: 30%" {{!}} '''Full name'''
 +
{{!}} {{{fullname}}} |}}
 
|-
 
|-
| '''Country'''
+
{{#if:{{{age|}}} |
| {{{country}}}
+
{{!}} '''Age'''
 +
{{!}} {{{age}}} | }}
 +
|-
 +
| style="width: 30%" | '''Country'''
 +
| {{flag|{{{country}}}}} {{{country}}}
 
|-
 
|-
 
| '''Competition formats'''
 
| '''Competition formats'''
| [[{{{formats}}}]]
+
| {{{formats}}}
 
|-
 
|-
 
| '''Main class'''
 
| '''Main class'''
Line 21: Line 25:
 
|-
 
|-
 
| '''Current Team'''
 
| '''Current Team'''
| [[{{{currentteam}}}]]
+
| {{{currentteam}}}
 +
|-
 +
{{#if:{{{previousteams|}}} |
 +
{{!}} '''Previous Team(s)'''
 +
{{!}} {{{previousteams}}} |}}
 +
|-
 +
{{#if:{{{achievements|}}} |
 +
! colspan=2 {{!}} Achievements
 +
{{!}}-
 +
{{!}} colspan=2 {{!}} {{{achievements}}} |}}
 
|-
 
|-
| style="text-align: center; " colspan=2 | {{{steam}}} Steam profile]
+
! colspan=2 | Links
 +
|-
 +
| class="centered" colspan=2 | {{Steam|{{{steam}}}}}{{#if:{{{youtube|}}} | {{YouTube|{{{youtube}}}}} |}} {{#if:{{{twitch|}}} | {{Twitch|{{{twitch}}}}} |}}
 +
{{#if:{{{otherlinks|}}} | {{!}}-
 +
{{!}} class="centered" colspan=2 {{!}} {{{otherlinks}}} |}}
 
|}
 
|}
  
<noinclude>
+
[[Category:Player Infoboxes that need updating]]<noinclude>
 
==Usage==
 
==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 ===
 
<pre>
 
<pre>
 
{{Player infobox
 
{{Player infobox
| alias = b4nny
+
| alias = numlocked
| image = b4nnyface.jpg
+
| image = Numlocked.jpg
| fullname = Grant Vincent
+
| fullname = Seb Barton
 
| age = 20
 
| age = 20
 +
| country = England
 
| formats = 6v6
 
| formats = 6v6
 
| class = Demoman
 
| class = Demoman
| currentteam = HRG
+
| currentteam = [[Epsilon eSports]]
| steam = http://steamcommunity.com/id/b4nny
+
| 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]
 
}}
 
}}
 +
</pre>
 +
 +
=== 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