Difference between revisions of "Template:Infobox player"
From CS Codex
Line 9: | Line 9: | ||
Image | Image | ||
− | -->{{#if:{{{image|}}}| | + | -->{{#vardefine:image|{{#if:{{{image|}}}|{{{image}}}|PlayerImagePlaceholder.png}}}}{{#if:{{#var:image|}}| |
<div> | <div> | ||
− | <div class="infobox-image">[[File:{{ | + | <div class="infobox-image">[[File:{{#var:image|}}|center|600px]]</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
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 116: | Line 152: | ||
| awp | | awp | ||
| awper = [[:Category:AWPers|{{#vardefineecho:role|AWPer}}]] | | awper = [[:Category:AWPers|{{#vardefineecho:role|AWPer}}]] | ||
− | | analyst = | + | | analyst = [[:Category:Analysts|{{#vardefineecho:role|Analyst}}]] |
| observer = [[:Category:Observer|{{#vardefineecho:role|Observer}}]] | | observer = [[:Category:Observer|{{#vardefineecho:role|Observer}}]] | ||
| host = [[:Category:Host|{{#vardefineecho:role|Host}}]] | | host = [[:Category:Host|{{#vardefineecho:role|Host}}]] | ||
Line 127: | Line 163: | ||
| entryfragger = [[:Category:Riflers|Rifler]] ([[:Category:Entry fraggers|{{#vardefineecho:role|entry fragger}}]]) | | entryfragger = [[:Category:Riflers|Rifler]] ([[:Category:Entry fraggers|{{#vardefineecho:role|entry fragger}}]]) | ||
| expert = [[:Category:Expert|{{#vardefineecho:role|Expert}}]] | | expert = [[:Category:Expert|{{#vardefineecho:role|Expert}}]] | ||
+ | | producer | ||
+ | | Producer = [[:Category:Production Staff|{{#vardefineecho:role|Producer}}]] | ||
+ | | director = [[:Category:Production Staff|{{#vardefineecho:role|Director}}]] | ||
| rifle | | rifle | ||
| rifler = [[:Category:Riflers|{{#vardefineecho:role|Rifler}}]] | | rifler = [[:Category:Riflers|{{#vardefineecho:role|Rifler}}]] | ||
| coach = [[:Category:Coaches|{{#vardefineecho:role|Coach}}]] | | coach = [[:Category:Coaches|{{#vardefineecho:role|Coach}}]] | ||
+ | | assistant coach = [[:Category:Coaches|{{#vardefineecho:role|Assistant Coach}}]] | ||
| caster = [[:Category:Casters|{{#vardefineecho:role|Caster}}]]}}<!-- | | caster = [[:Category:Casters|{{#vardefineecho:role|Caster}}]]}}<!-- | ||
-->{{#if:{{{role2|}}}|<br>{{#switch:{{{role2|}}} | -->{{#if:{{{role2|}}}|<br>{{#switch:{{{role2|}}} | ||
Line 145: | Line 185: | ||
| entryfragger = [[:Category:Riflers|Rifler]] ([[:Category:Entry fraggers|{{#vardefineecho:role2|entry fragger}}]]) | | entryfragger = [[:Category:Riflers|Rifler]] ([[:Category:Entry fraggers|{{#vardefineecho:role2|entry fragger}}]]) | ||
| expert = [[:Category:Expert|{{#vardefineecho:role2|Expert}}]] | | expert = [[:Category:Expert|{{#vardefineecho:role2|Expert}}]] | ||
+ | | producer | ||
+ | | Producer = [[:Category:Production Staff|{{#vardefineecho:role|Producer}}]] | ||
+ | | director = [[:Category:Production Staff|{{#vardefineecho:role|Director}}]] | ||
| rifle | | rifle | ||
| rifler = [[:Category:Riflers|{{#vardefineecho:role2|Rifler}}]] | | rifler = [[:Category:Riflers|{{#vardefineecho:role2|Rifler}}]] | ||
| coach = [[:Category:Coaches|{{#vardefineecho:role2|Coach}}]] | | coach = [[:Category:Coaches|{{#vardefineecho:role2|Coach}}]] | ||
+ | | assistant coach = [[:Category:Coaches|{{#vardefineecho:role|Assistant Coach}}]] | ||
| caster = [[:Category:Casters|{{#vardefineecho:role2|Caster}}]]}}|}}</div> | | caster = [[:Category:Casters|{{#vardefineecho:role2|Caster}}]]}}|}}</div> | ||
</div> | </div> | ||
Line 167: | Line 211: | ||
<div class="infobox-cell-2 infobox-description">Sponsor:</div> | <div class="infobox-cell-2 infobox-description">Sponsor:</div> | ||
<div class="infobox-cell-2">{{{sponsor}}}</div> | <div class="infobox-cell-2">{{{sponsor}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Earnings | ||
+ | |||
+ | -->{{#vardefine:earnings|{{Total earnings of|{{#if:{{{earnings|}}}|{{{earnings}}}|{{PAGENAME}}}}|player}}}}{{#ifeq:{{#var:earnings}}|$0|| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Approx. Total Winnings:</div> | ||
+ | <div class="infobox-cell-2 ">{{#var:earnings}}</div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 190: | Line 243: | ||
Games | Games | ||
− | -->{{#if:{{{cs|}}} {{{css|}}} {{{csgo|}}}| | + | -->{{#if:{{{cs|}}} {{{cscz|}}} {{{css|}}} {{{cso|}}} {{{csgo|}}}| |
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Games:</div> | <div class="infobox-cell-2 infobox-description">Games:</div> | ||
− | <div class="infobox-cell-2">{{#if: {{{cs|}}} | ''[[Counter-Strike]]''{{#if: {{{css|}}} {{{csgo|}}} | <br> }}}}<!-- | + | <div class="infobox-cell-2">{{#if: {{{cs|}}} | ''[[Counter-Strike]]''{{#if: {{{cscz|}}} {{{css|}}} {{{cso|}}} {{{csgo|}}} | <br> }}}}<!-- |
− | -->{{#if: {{{css|}}} | ''[[Counter-Strike: Source|Source]]''{{#if: {{{csgo|}}} | <br> }}}}<!-- | + | -->{{#if: {{{cscz|}}} | ''[[Counter-Strike: Condition Zero|Condition Zero]]''{{#if: {{{css|}}} {{{cso|}}} {{{csgo|}}} | <br> }}}}<!-- |
+ | -->{{#if: {{{css|}}} | ''[[Counter-Strike: Source|Source]]''{{#if: {{{cso|}}} {{{csgo|}}} | <br> }}}}<!-- | ||
+ | -->{{#if: {{{cso|}}} | ''[[Counter-Strike Online|Online]]''{{#if: {{{csgo|}}} | <br> }}}}<!-- | ||
-->{{#if: {{{csgo|}}} | ''[[Counter-Strike: Global Offensive|Global Offensive]]''}}</div> | -->{{#if: {{{csgo|}}} | ''[[Counter-Strike: Global Offensive|Global Offensive]]''}}</div> | ||
</div> | </div> | ||
Line 201: | Line 256: | ||
Icons | Icons | ||
− | -->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{azubu|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{instagram|}}} {{{weibo|}}} {{{gplus|}}} {{{tlprofile|}}} {{{reddit|}}} {{{fanclub|}}} {{{vk|}}} {{{esea|}}} {{{esl|}}} {{{faceit|}}} {{{ | + | -->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{azubu|}}} {{{stream|}}} {{{huomaotv|}}} {{{douyutv|}}} {{{pandatv|}}} {{{huyatv|}}} {{{zhangyutv|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{instagram|}}} {{{weibo|}}} {{{gplus|}}} {{{tlprofile|}}} {{{reddit|}}} {{{fanclub|}}} {{{vk|}}} {{{esea|}}} {{{esl|}}} {{{faceit|}}} {{{cybergamer|}}} {{{5ewin|}}} {{{b5csgo|}}} {{{steam|}}} {{{steam2|}}} {{{sk|}}} {{{playlist|}}}| |
<div> | <div> | ||
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Links</div> | <div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Links</div> | ||
Line 209: | Line 264: | ||
--> {{#if:{{{site|}}}|[{{{site}}} <i class="lp-icon lp-home"></i>]}}<!-- | --> {{#if:{{{site|}}}|[{{{site}}} <i class="lp-icon lp-home"></i>]}}<!-- | ||
--> {{#if:{{{tlstream|}}}|[http://www.teamliquid.net/video/streams/{{{tlstream}}} <i class="lp-icon lp-tlstream"></i>]}}<!-- | --> {{#if:{{{tlstream|}}}|[http://www.teamliquid.net/video/streams/{{{tlstream}}} <i class="lp-icon lp-tlstream"></i>]}}<!-- | ||
− | --> {{#if:{{{twitch|}}}|[ | + | --> {{#if:{{{twitch|}}}|[https://www.twitch.tv/{{{twitch}}} <i class="lp-icon lp-twitch"></i>]}}<!-- |
--> {{#if:{{{stream|}}}|[{{{stream}}} <i class="lp-icon lp-stream"></i>]}}<!-- | --> {{#if:{{{stream|}}}|[{{{stream}}} <i class="lp-icon lp-stream"></i>]}}<!-- | ||
+ | --> {{#if:{{{huomaotv|}}}|[http://www.huomao.com/{{{huomaotv}}} <i class="lp-icon lp-huomaotv"></i>]}}<!-- | ||
+ | --> {{#if:{{{douyutv|}}}|[http://www.douyu.com/{{{douyutv}}} <i class="lp-icon lp-douyutv"></i>]}}<!-- | ||
+ | --> {{#if:{{{pandatv|}}}|[http://www.panda.tv/{{{pandatv}}} <i class="lp-icon lp-pandatv"></i>]}}<!-- | ||
+ | --> {{#if:{{{huyatv|}}}|[http://www.huya.com/{{{huyatv}}} <i class="lp-icon lp-huyatv"></i>]}}<!-- | ||
+ | --> {{#if:{{{zhangyutv|}}}|[http://www.zhangyu.tv/{{{zhangyutv}}} <i class="lp-icon lp-zhangyutv"></i>]}}<!-- | ||
--> {{#if:{{{youtube|}}}|[http://www.youtube.com/{{{youtube}}} <i class="lp-icon lp-youtube"></i>]}}<!-- | --> {{#if:{{{youtube|}}}|[http://www.youtube.com/{{{youtube}}} <i class="lp-icon lp-youtube"></i>]}}<!-- | ||
− | --> {{#if:{{{twitter|}}}|[ | + | --> {{#if:{{{twitter|}}}|[https://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!-- |
--> {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!-- | --> {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!-- | ||
--> {{#if:{{{instagram|}}}|[http://www.instagram.com/{{{instagram}}} <i class="lp-icon lp-instagram"></i>]}}<!-- | --> {{#if:{{{instagram|}}}|[http://www.instagram.com/{{{instagram}}} <i class="lp-icon lp-instagram"></i>]}}<!-- | ||
--> {{#if:{{{gplus|}}}|[http://plus.google.com/{{{gplus}}} <i class="lp-icon lp-google-plus"></i>]}}<!-- | --> {{#if:{{{gplus|}}}|[http://plus.google.com/{{{gplus}}} <i class="lp-icon lp-google-plus"></i>]}}<!-- | ||
--> {{#if:{{{vk|}}}|[http://www.vk.com/{{{vk}}} <i class="lp-icon lp-vkontakte"></i>]}}<!-- | --> {{#if:{{{vk|}}}|[http://www.vk.com/{{{vk}}} <i class="lp-icon lp-vkontakte"></i>]}}<!-- | ||
+ | --> {{#if:{{{weibo|}}}|[http://weibo.com/{{{weibo}}} <i class="lp-icon lp-weibo"></i>]}}<!-- | ||
--> {{#if:{{{tlprofile|}}}|[http://www.teamliquid.net/forum/profile.php?user={{{tlprofile}}} <i class="lp-icon lp-tlprofile"></i>]}}<!-- | --> {{#if:{{{tlprofile|}}}|[http://www.teamliquid.net/forum/profile.php?user={{{tlprofile}}} <i class="lp-icon lp-tlprofile"></i>]}}<!-- | ||
--> {{#if:{{{reddit|}}}|[http://www.reddit.com/user/{{{reddit}}} <i class="lp-icon lp-reddit"></i>]}}<!-- | --> {{#if:{{{reddit|}}}|[http://www.reddit.com/user/{{{reddit}}} <i class="lp-icon lp-reddit"></i>]}}<!-- | ||
--> {{#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:{{{cybergamer|}}}|[http://au.cybergamer.com/profile/{{{cybergamer}}} <i class="lp-icon lp-cybergamer"></i>]}}<!-- | ||
+ | --> {{#if:{{{5ewin|}}}|[http://www.5ewin.com/data/player/{{{5ewin}}} <i class="lp-icon lp-5ewin"></i>]}}<!-- | ||
+ | --> {{#if:{{{b5csgo|}}}|[http://www.b5csgo.com/personalCenter/{{{b5csgo}}} <i class="lp-icon lp-b5csgo"></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:{{{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 275: | Line 338: | ||
--></div> | --></div> | ||
+ | <div class="fo-nttax-infobox-adbox wiki-bordercolor-light"><adbox /></div> | ||
</div><!-- | </div><!-- | ||
Categories | Categories | ||
+ | -->{{#ifeq:{{NAMESPACE}}|| | ||
{{#if:{{{id|}}}||[[Category:InfoboxIncomplete]]}} | {{#if:{{{id|}}}||[[Category:InfoboxIncomplete]]}} | ||
{{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|PlayerImagePlaceholder.png|[[Category:Players with no profile picture]]}}|[[Category:Players with no profile picture]]}}<!-- To add to a hidden category to find players without profile images. | {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|PlayerImagePlaceholder.png|[[Category:Players with no profile picture]]}}|[[Category:Players with no profile picture]]}}<!-- To add to a hidden category to find players without profile images. | ||
-->{{#if:{{{twitter|}}}{{{facebook|}}}{{{gplus|}}}||[[Category:Players with no social media links]]}}<!-- To add to a hidden category to find players without social media links. | -->{{#if:{{{twitter|}}}{{{facebook|}}}{{{gplus|}}}||[[Category:Players with no social media links]]}}<!-- To add to a hidden category to find players without social media links. | ||
− | |||
-->{{#if:{{{birth_date|}}}||[[Category:People with an unknown birth date]]}}<!-- To add to a hidden category to find players, shoutcasters and managers with an unknown birth date. | -->{{#if:{{{birth_date|}}}||[[Category:People with an unknown birth date]]}}<!-- To add to a hidden category to find players, shoutcasters and managers with an unknown birth date. | ||
-->{{#if:{{{steam|}}}{{{steam2|}}}||[[Category:Players without a steam profile]]}}<!-- To add to a hidden category to find players without a Steam Profile linked. | -->{{#if:{{{steam|}}}{{{steam2|}}}||[[Category:Players without a steam profile]]}}<!-- To add to a hidden category to find players without a Steam Profile linked. | ||
-->{{#if:{{{status|}}}||[[Category:Players without a status]]}}<!-- To add to a hidden category to find players without an activity status listed. | -->{{#if:{{{status|}}}||[[Category:Players without a status]]}}<!-- To add to a hidden category to find players without an activity status listed. | ||
+ | -->{{#ifeq:{{{status|}}}| |[[Category:Players without a status]]}}<!-- To add to a hidden category to find players without an activity status listed. | ||
+ | -->{{#ifeq:{{{status|}}}|Retired|[[Category:Retired Players]]|}}<!-- Add a retired category based on status | ||
+ | -->{{#ifeq:{{{status|}}}|Active|{{#if:{{{team|}}}||{{#switch:{{lc:{{#var:role}}}}|analyst|host|expert|journalist|observer|caster=|#default=[[Category:Teamless Players]]}}}}}}<!-- Add a player to the teamless category if active and without a team | ||
-->{{#switch:{{{role|}}} | -->{{#switch:{{{role|}}} | ||
|awp | |awp | ||
Line 298: | Line 365: | ||
|rifler=[[Category:Riflers]] | |rifler=[[Category:Riflers]] | ||
|coach=[[Category:Coaches]] | |coach=[[Category:Coaches]] | ||
+ | |assistant coach=[[Category:Coaches]] | ||
|caster=[[Category:Casters]] | |caster=[[Category:Casters]] | ||
|#default =}}<!-- | |#default =}}<!-- | ||
Line 312: | Line 380: | ||
|rifler=[[Category:Riflers]] | |rifler=[[Category:Riflers]] | ||
|coach=[[Category:Coaches]] | |coach=[[Category:Coaches]] | ||
+ | |assistant coach=[[Category:Coaches]] | ||
|caster=[[Category:Casters]] | |caster=[[Category:Casters]] | ||
|#default =}}<!-- | |#default =}}<!-- | ||
Line 323: | Line 392: | ||
}}[[Category:Players]] | }}[[Category:Players]] | ||
{{#if: {{{cs|}}} | [[Category:CS Players]] }} | {{#if: {{{cs|}}} | [[Category:CS Players]] }} | ||
+ | {{#if: {{{cscz|}}} | [[Category:CSCZ Players]] }} | ||
{{#if: {{{css|}}} | [[Category:CSS Players]] }} | {{#if: {{{css|}}} | [[Category:CSS Players]] }} | ||
+ | {{#if: {{{cso|}}} | [[Category:CSO Players]] }} | ||
{{#if: {{{csgo|}}} | [[Category:CSGO Players]] }} | {{#if: {{{csgo|}}} | [[Category:CSGO Players]] }} | ||
− | {{#if: {{{cs|}}} {{{css|}}} {{{csgo|}}} || [[Category:Gameless Players]]}}<!-- | + | {{#if: {{{cs|}}} {{{cscz|}}} {{{css|}}} {{{cso|}}} {{{csgo|}}} || [[Category:Gameless Players]]}}<!-- |
--><!-- | --><!-- | ||
SMW | SMW | ||
+ | |||
+ | -->{{#set: | ||
+ | |has id={{{id|{{PAGENAME}}}}} | ||
+ | |has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}} | ||
+ | |has image={{#if:{{{image|}}}|File:{{{image}}}}} | ||
+ | |has image caption={{{caption|}}} | ||
+ | |has nationality={{{country|}}} | ||
+ | |has region={{Player region|{{{country|}}}}} | ||
+ | |||
+ | |has clan={{{clan|}}} | ||
+ | |has team={{{teamlink|{{{team|}}}}}} | ||
+ | |has team page={{{teampage|{{{team|}}}}}} | ||
+ | |has sponsor={{{sponsor|}}} | ||
+ | |||
+ | |has role={{#var:role}} | ||
+ | |has role2={{#var:role2}} | ||
+ | |is player={{#switch:{{lc:{{#var:role}}}}|analyst|caster=False|#default=True}} | ||
+ | |||
+ | |has site={{{site|}}} | ||
+ | |has stream={{{stream|}}} | ||
+ | |has musical playlist={{{playlist|}}} | ||
+ | |has fanclub page={{{fanclub|}}} | ||
+ | |||
+ | |has azubu stream={{#if:{{{azubu|}}}|http://www.azubu.tv/{{{azubu}}}}} | ||
+ | |has tl stream={{#if:{{{tlstream|}}}|http://www.teamliquid.net/stream/{{{tlstream}}}}} | ||
+ | |has twitch stream={{#if:{{{twitch|}}}|https://www.twitch.tv/{{{twitch}}}}} | ||
+ | |has huomaotv stream={{#if:{{{huomaotv|}}}|http://www.huomao.com/{{{huomaotv}}}}} | ||
+ | |has douyutv stream={{#if:{{{douyutv|}}}|http://www.douyu.com/{{{douyutv}}}}} | ||
+ | |has pandatv stream={{#if:{{{pandatv|}}}|http://www.panda.tv/{{{pandatv}}}}} | ||
+ | |has huyatv stream={{#if:{{{huyatv|}}}|http://www.huya.com/{{{huyatv}}}}} | ||
+ | |has zhangyutv stream={{#if:{{{zhangyutv|}}}|http://www.zhangyu.tv/{{{zhangyutv}}}}} | ||
+ | |has own3d stream={{#if:{{{own3d|}}}|http://www.own3d.tv/{{{own3d}}}}} | ||
+ | |has youtube channel={{#if:{{{youtube|}}}|http://www.youtube.com/{{{youtube}}}}} | ||
+ | |has twitter={{#if:{{{twitter|}}}|https://twitter.com/{{{twitter}}}}} | ||
+ | |has facebook={{#if:{{{facebook|}}}|http://facebook.com/{{{facebook}}}}} | ||
+ | |has instagram={{#if:{{{instagram|}}}|http://www.instagram.com/{{{instagram}}}}} | ||
+ | |has google plus={{#if:{{{gplus|}}}|http://plus.google.com/{{{gplus}}}}} | ||
+ | |has vk={{#if:{{{vk|}}}|http://vk.com/{{{vk}}}}} | ||
+ | |has tl profile={{#if:{{{tlprofile|}}}|http://www.teamliquid.net/forum/profile.php?user={{{tlprofile}}}}} | ||
+ | |has reddit profile={{#if:{{{reddit|}}}|http://www.reddit.com/user/{{{reddit}}}}} | ||
+ | |has tencent profile={{#if:{{{tencent|}}}|http://t.qq.com/{{{tencent}}}}} | ||
+ | |has weibo profile={{#if:{{{weibo|}}}|http://weibo.com/u/{{{weibo}}}}} | ||
+ | |has esea profile={{#if:{{{esea|}}}|http://play.esea.net/users/{{{esea}}}}} | ||
+ | |has esl profile={{#if:{{{esl|}}}|http://play.eslgaming.com/counterstrike/csgo/player/{{{esl}}}}} | ||
+ | |has steam profile={{#if:{{{steam|}}}|http://steamcommunity.com/id/{{{steam}}}}} | ||
+ | |has steam profile={{#if:{{{steam2|}}}|http://steamcommunity.com/id/{{{steam2}}}}} | ||
+ | |has faceit profile={{#if:{{{faceit|}}}|http://www.faceit.com/players/{{{faceit}}}}} | ||
+ | |has cybergamer profile={{#if:{{{cybergamer|}}}|http://au.cybergamer.com/profile/{{{cybergamer}}}}} | ||
+ | |has 5ewin profile={{#if:{{{5ewin|}}}|http://www.5ewin.com/data/player/{{{5ewin}}}}} | ||
+ | |has b5csgo profile={{#if:{{{b5csgo|}}}|http://www.b5csgo.com/personalCenter/{{{b5csgo}}}}} | ||
+ | |has sk gaming profile={{#if:{{{sk|}}}|http://sk-gaming.com/member/{{{sk}}}}} | ||
+ | |||
+ | |has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}} | ||
+ | |has dual-citizenship={{#if:{{{country2|}}}|{{#if:{{{country|}}}|true|false}}|}} | ||
+ | |has second nationality={{{country2|}}} | ||
+ | |has retired={{#ifeq:{{{status|}}}|Retired|true|false}} | ||
+ | |has status={{#if:{{{status|}}}|{{{status|}}}|Unknown}} | ||
+ | |has ban={{#if:{{{banned|}}}|true}} | ||
+ | |has earnings={{#replace:{{Total earnings of|{{PAGENAME}}|player}}|$|}} | ||
+ | }}<!-- | ||
+ | |||
+ | Variable | ||
+ | |||
+ | --> | ||
+ | {{#vardefine:id|{{{id|{{PAGENAME}}}}}}} | ||
+ | <!-- | ||
+ | |||
+ | -->{{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day }}}}<!-- | ||
+ | -->{{#if:{{#var:birthday|}}| | ||
+ | {{#set_recurring_event: Birthday | ||
+ | |property=Has yearly birthday | ||
+ | |start={{#var:birthday}} | ||
+ | |end={{{death_date|}}} | ||
+ | |unit=month | ||
+ | |period=12 | ||
+ | |has original birthday={{#var:birthday|}} | ||
+ | |has player={{{id|{{PAGENAME}}}}} | ||
+ | |has flag={{lc:{{{country|}}}}} | ||
+ | |limit=500 | ||
+ | }} }} }} | ||
+ | }}<!--this one from before the categories | ||
--></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> | --></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> |
Revision as of 22:22, 27 September 2017
Documentation (view - edit)
GeT_RiGhT
Player Information
Name:
Christopher Alesund
Birth:
May 29, 1990
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:
- 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}} }}