Difference between revisions of "Template:Infobox player"

From CS Codex
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 77: Line 77:
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">Status:</div>
 
<div class="infobox-cell-2 infobox-description">Status:</div>
<div class="infobox-cell-2">{{#ifexist:{{{status}}}|[[{{{status}}}]]|{{{status}}}}}</div>
+
<div class="infobox-cell-2">{{#ifexist:{{{status}}}|[[{{{status}}}]]|{{{status}}}}}<!--
 +
-->{{#if:{{{banned|}}}|<br>{{#switch:{{{banned|}}}
 +
  | vac = [[Banned players#Currently_Banned_from_Valve_Events|VAC Banned]]
 +
  | valve = [[Banned players#Currently_Banned_from_Valve_Events|Valve Banned]]
 +
  | esl = [[Banned players#Partial_Bans|ESL Banned]]
 +
  | faceit = [[Banned players#Partial_Bans|FACEIT Banned]]
 +
  | e-frag
 +
  | efrag = [[Banned players#Partial_Bans|E-Frag Banned]]
 +
  | esea  = [[Banned players#Partial_Bans|ESEA Banned]]
 +
  | 99
 +
  | 99dmg
 +
  | 99damage  = [[Banned players#Partial_Bans|99Damage Banned]]
 +
  | starladder
 +
  | sltv  = [[Banned players#Partial_Bans|SLTV Banned]]
 +
  | cevo  = [[Banned players#Partial_Bans|CEVO Banned]]
 +
  | wca  = [[Banned players#Partial_Bans|WCA Banned]]
 +
  | 5eplay  = [[Banned players#Partial_Bans|5EPlay Banned]]
 +
  | power-lan = [[Banned players#partial_Bans|Power-LAN Banned]]
 +
  |{{{banned}}} = [[Banned players|Multiple Bans]]}}}}<!--
 +
-->{{#if:{{{banned2|}}}|<br>{{#switch:{{{banned2|}}}
 +
  | vac = [[Banned players#Currently_Banned_from_Valve_Events|VAC Banned]]
 +
  | valve = [[Banned players#Currently_Banned_from_Valve_Events|Valve Banned]]
 +
  | esl = [[Banned players#Partial_Bans|ESL Banned]]
 +
  | faceit = [[Banned players#Partial_Bans|FACEIT Banned]]
 +
  | e-frag
 +
  | efrag = [[Banned players#Partial_Bans|E-Frag Banned]]
 +
  | esea  = [[Banned players#Partial_Bans|ESEA Banned]]
 +
  | 99
 +
  | 99dmg
 +
  | 99damage  = [[Banned players#Partial_Bans|99Damage Banned]]
 +
  | starladder
 +
  | sltv  = [[Banned players#Partial_Bans|SLTV Banned]]
 +
  | cevo  = [[Banned players#Partial_Bans|CEVO Banned]]
 +
  | wca  = [[Banned players#Partial_Bans|WCA Banned]]
 +
  | power-lan = [[Banned players#partial_Bans|Power-LAN Banned]]
 +
  | 5eplay  = [[Banned players#Partial_Bans|5EPlay Banned]]}}}}
 +
</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 103: Line 139:
 
-->{{#if:{{{team|}}}|
 
-->{{#if:{{{team|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Team:</div>
+
<div class="infobox-cell-2 infobox-description">Team(s):</div>
 
<div class="infobox-cell-2">{{#ifexist:{{{teamlink|{{{team}}}}}}|[[{{{teamlink|{{{team}}}}}}|{{{team}}}]]|{{{team}}}}}{{#if:{{{team2|}}}|<br>[[{{{team2link|{{{team2}}}}}}|{{{team2}}}]]}}</div>
 
<div class="infobox-cell-2">{{#ifexist:{{{teamlink|{{{team}}}}}}|[[{{{teamlink|{{{team}}}}}}|{{{team}}}]]|{{{team}}}}}{{#if:{{{team2|}}}|<br>[[{{{team2link|{{{team2}}}}}}|{{{team2}}}]]}}</div>
 
</div>
 
</div>
Line 195: Line 231:
 
<div class="infobox-cell-2">{{#if: {{{cs|}}} | ''[[Counter-Strike]]''{{#if: {{{css|}}} {{{csgo|}}} | <br> }}}}<!--
 
<div class="infobox-cell-2">{{#if: {{{cs|}}} | ''[[Counter-Strike]]''{{#if: {{{css|}}} {{{csgo|}}} | <br> }}}}<!--
 
-->{{#if: {{{css|}}} | ''[[Counter-Strike: Source|Source]]''{{#if: {{{csgo|}}} | <br> }}}}<!--
 
-->{{#if: {{{css|}}} | ''[[Counter-Strike: Source|Source]]''{{#if: {{{csgo|}}} | <br> }}}}<!--
-->{{#if: {{{csgo|}}} | ''[[Counter-Strike: Global Offensive|Global Offensive]]''}}</div>
+
-->{{#if: {{{csgo|}}} | ''[[Counter-Strike: Global Offensive|Global Offensive]]''{{#if: {{{cs2|}}} | <br> }}}}<!--
 +
-->{{#if: {{{cs2|}}} | ''[[Counter-Strike 2]]''}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 221: Line 258:
 
--> {{#if:{{{esea|}}}|[http://play.esea.net/users/{{{esea}}} <i class="lp-icon lp-esea"></i>]}}<!--
 
--> {{#if:{{{esea|}}}|[http://play.esea.net/users/{{{esea}}} <i class="lp-icon lp-esea"></i>]}}<!--
 
--> {{#if:{{{esl|}}}|[http://play.eslgaming.com/counterstrike/csgo/player/{{{esl}}} <i class="lp-icon lp-esl"></i>]}}<!--
 
--> {{#if:{{{esl|}}}|[http://play.eslgaming.com/counterstrike/csgo/player/{{{esl}}} <i class="lp-icon lp-esl"></i>]}}<!--
--> {{#if:{{{faceit|}}}|[http://www.faceit.com/players/{{{faceit}}} <i class="lp-icon lp-faceit"></i>]}}<!--
+
--> {{#if:{{{faceit|}}}|[http://www.faceit.com/en/players/{{{faceit}}} <i class="lp-icon lp-faceit"></i>]}}<!--
 
--> {{#if:{{{steam|}}}|[http://steamcommunity.com/id/{{{steam}}} <i class="lp-icon lp-steam"></i>]}}<!--
 
--> {{#if:{{{steam|}}}|[http://steamcommunity.com/id/{{{steam}}} <i class="lp-icon lp-steam"></i>]}}<!--
 
--> {{#if:{{{steam2|}}}|[http://steamcommunity.com/profiles/{{{steam2}}} <i class="lp-icon lp-steam"></i>]}}<!--
 
--> {{#if:{{{steam2|}}}|[http://steamcommunity.com/profiles/{{{steam2}}} <i class="lp-icon lp-steam"></i>]}}<!--
 
--> {{#if:{{{sk|}}}|[http://sk-gaming.com/member/{{{sk}}} <i class="lp-icon lp-skgaming"></i>]}}<!--
 
--> {{#if:{{{sk|}}}|[http://sk-gaming.com/member/{{{sk}}} <i class="lp-icon lp-skgaming"></i>]}}<!--
--> {{#if:{{{cevo|}}}|[https://cache.cevo.com/member/{{{cevo}}} <i class="lp-icon lp-cevo"></i>]}}<!--
+
--> {{#if:{{{cevo|}}}|[https://cevo.com/member/{{{cevo}}} <i class="lp-icon lp-cevo"></i>]}}<!--
 
--> {{#if:{{{fanclub|}}}|[{{{fanclub}}} <i class="lp-icon lp-fanclub"></i>]}}<!--
 
--> {{#if:{{{fanclub|}}}|[{{{fanclub}}} <i class="lp-icon lp-fanclub"></i>]}}<!--
 
--> {{#if:{{{playlist|}}}|[{{{playlist}}} <i class="lp-icon lp-music"></i>]}}<!--
 
--> {{#if:{{{playlist|}}}|[{{{playlist}}} <i class="lp-icon lp-music"></i>]}}<!--
Line 325: Line 362:
 
{{#if: {{{css|}}} | [[Category:CSS Players]] }}
 
{{#if: {{{css|}}} | [[Category:CSS Players]] }}
 
{{#if: {{{csgo|}}} | [[Category:CSGO Players]] }}
 
{{#if: {{{csgo|}}} | [[Category:CSGO Players]] }}
{{#if: {{{cs|}}} {{{css|}}} {{{csgo|}}} || [[Category:Gameless Players]]}}<!--
+
{{#if: {{{cs2|}}} | [[Category:CS2 Players]] }}
 +
{{#if: {{{cs|}}} {{{css|}}} {{{csgo|}}} {{{cs2|}}} || [[Category:Gameless Players]]}}<!--
 
--><!--
 
--><!--
  

Latest revision as of 20:46, 1 November 2023

Documentation (view - edit)

[e][h]Niplogo std.png GeT_RiGhT
Player Information
Name:
Christopher Alesund
Birth:
May 29, 1990 (1990-05-29) (age 34)
Country:
Status:
Active
Years Active (Player):
2003-Present
Team(s):
Ninjas in Pyjamas
Role(s):
Links
Prize Money
2008
$10,000

2009
$168,400

2010
$89,200

2011
$77,200

2012
$94,500

2012
$115,900

Total
$555,200

History
2007 - 2007
2007 - 2007
2001 - 2001
2007-09-28 - 2007-10-28
2007-10-28 - 2008-02-23
2008-02-23 - 2008-03-23
2008-03-27 - 2008-06-19
2009-01-19 - 2010-12-07
2010-12-07 - 2010-XX-XX
2012 - Present

This template produces an Infobox on a player page.

Example

The code:

{{Infobox player
|id=GeT_RiGhT
|image=
|name=Christopher Alesund
|romanized_name=
|team= Ninjas in Pyjamas
|team_history={{TH|2007 - 2007 |Begrip}}
{{TH|2007 - 2007 |Ninjas in Pyjamas}}
{{TH|2001 - 2001 |Lemondogs}}
{{TH|2007-09-28 - 2007-10-28 |SK Gaming}}
{{TH|2007-10-28 - 2008-02-23 |Meet Your Makers}}
{{TH|2008-02-23 - 2008-03-23 |SK Gaming}}
{{TH|2008-03-27 - 2008-06-19 |Blank}}
{{TH|2009-01-19 - 2010-12-07 |Fnatic}}
{{TH|2010-12-07 - 2010-XX-XX |SK Gaming}}
{{TH|2012 - ''Present'' |Ninjas in Pyjamas}}
|ids=
|country=Sweden
|status=Active
|role=rifler
|years_active= 2003-''Present''
|years_active_manager=
|birth_date={{Birth date and age|1990|5|29}}
|fanclub=
|twitch=OfficialGeTRiGhT
|twitter=GeT_RiGhTcs
|facebook=OfficialGetright
|achievements=
|prize_money= {{PM|2008|$10,000}} {{PM|2009|$168,400}} {{PM|2010|$89,200}} {{PM|2011|$77,200}} {{PM|2012|$94,500}} {{PM|2012|$115,900}} {{PM|Total|$555,200}}
}}

Parameters

These are the variables in the Player template:

  • id = Main ID
  • image = Picture
  • caption = caption
  • name = Real Name (If needed, use romanized_name for romanization)
  • romanized_name = Romanized Real Name
  • birth_date = {{Birth date and age|YYYY|MM|DD}}
  • country = Country
  • country2 = Secound country (If needed)
  • team = Current Team
  • teamlink = Link to current team's page if different from name (eg MVP_(team))
  • clan = Current Clan
  • role = The player's role in the team (rifler, entryfragger, support, lurker, awp)
  • role2 = Additional role (if needed)
  • sponsor = Player's personal sponsor
  • ids = Alternative IDs
  • site = Player's Homepage
  • tlstream = Stream Name on TeamLiquid.net
  • twitch = Username on Twitch
  • azubu = Username on Azubu.tv
  • stream = Link to stream (if not on Twitch or Own3D.tv)
  • youtube = YouTube Channel Name
  • twitter = Username on Twitter
  • facebook = Username on Facebook
  • weibo = User ID on Sina Weibo. 3144657364 links to Jim
  • tencent = Username on Tencent Weibo. igaming links to igaming
  • gplus = Username on Google Plus
  • tlprofile = Username on TeamLiquid.net
  • reddit = Username on Reddit.com
  • fanclub = TeamLiquid.net Fanclub
  • playlist = A playlist of the music the person plays on stream
  • achievements = List of premier tournament wins or other achievements (MVP, All-Kill, Awards). Use Template:LeagueIconSmall and link to the specific event. For example: "{{LeagueIconSmall/gsl|link=2012 Global StarCraft II League Season 5}}" to produce: 2012 Global StarCraft II League Season 5
  • prize_money = Prize money using the template Template:PM. For example: {{PM|YYYY|amount}}
  • team_history = Team History. Use Template:TH. For example: "{{TH|2010-09-07 - '''Present'''|Evil Geniuses}}
  • retired = The date the player has retired. Leave blank if still active


Copy / Paste

{{Infobox player
|id=
|image=
|caption=
|name=
|romanized_name=
|birth_date= {{Birth date and age|YYYY|MM|DD}}
|country=
|team=
|clan=
|role=
|sponsor=
|ids=
|site=
|tlstream=
|twitch=
|azubu=
|stream=
|youtube=
|twitter=
|facebook=
|weibo=
|tencent=
|gplus=
|tlprofile=
|reddit=
|fanclub=
|playlist=
|achievements=
|team_history=
|retired=
|prize_money= {{PM|YYYY|amount}}
}}