Difference between revisions of "Template:Infobox player"

From QWiki
(Created page with "<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{id|{{PAGENAME}}}}}}}}}<!-- --><div class="fo-nttax-infobox-wrapper infobox-{{{game|csgo}}}"> <div class="fo-nttax...")
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{id|{{PAGENAME}}}}}}}}}<!--
+
<includeonly><!--
  
--><div class="fo-nttax-infobox-wrapper infobox-{{{game|csgo}}}">
+
--><div class="fo-nttax-infobox-wrapper infobox-{{{game|rocket}}}">
 
<div class="fo-nttax-infobox wiki-bordercolor-light">
 
<div class="fo-nttax-infobox wiki-bordercolor-light">
 
<div>
 
<div>
<div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:Infobox_player|h]]<nowiki>]</nowiki></span>{{#ifexist:Template:TeamIcon/{{lc:{{{team}}}}}|{{TeamIcon/{{lc:{{{team}}}}}}}}} {{{id|{{PAGENAME}}}}} {{#ifexist:Template:TeamIcon/{{lc:{{{team2}}}}}|{{TeamIcon/{{lc:{{{team2}}}}}}}}}</div>
+
<div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:Infobox_player|h]]<nowiki>]</nowiki></span>{{#ifexist:Template:TeamIcon/{{lc:{{{team}}}}}|{{TeamIcon/{{lc:{{{team}}}}}}}}} {{{id|{{PAGENAME}}}}} {{#ifexist:Template:TeamIcon/{{lc:{{{team2}}}}}|{{TeamIcon/{{lc:{{{team2}}}}}}}}}</div>
 
</div><!--
 
</div><!--
  
Line 54: Line 54:
 
}}<!--
 
}}<!--
  
Death date
+
Death Date
  
 
-->{{#if:{{{death_date|}}}|
 
-->{{#if:{{{death_date|}}}|
Line 99: Line 99:
 
}}<!--
 
}}<!--
  
Team
+
Current Team
  
 
-->{{#if:{{{team|}}}|
 
-->{{#if:{{{team|}}}|
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">Team:</div>
 
<div class="infobox-cell-2 infobox-description">Team:</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">[[{{{teamlink|{{{team}}} }}}|{{{team}}}]] {{#if:{{{team2|}}}|<br>[[{{{team2link|{{{team2}}}}}}|{{{team2}}}]]}}</div>
</div>
 
}}<!--
 
 
 
Role(s)
 
 
 
-->{{#if:{{{role|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Role(s):</div>
 
<div class="infobox-cell-2">{{#switch:{{{role|}}}
 
  | awp
 
  | awper = [[:Category:AWPers|{{#vardefineecho:role|AWPer}}]]
 
  | analyst = [[:Category:Analysts]] ([[:Category:Analysts|{{#vardefineecho:role|Analyst}}]])
 
  | observer = [[:Category:Observer|{{#vardefineecho:role|Observer}}]]
 
  | host = [[:Category:Host|{{#vardefineecho:role|Host}}]]
 
  | igl  = [[:Category:In-game leaders|{{#vardefineecho:role|In-game leader}}]]
 
  | journalist = [[:Category:Journalist|{{#vardefineecho:role|Journalist}}]]
 
  | lurk
 
  | lurker = [[:Category:Riflers|Rifler]] ([[:Category:Lurkers|{{#vardefineecho:role|lurker}}]])
 
  | support = [[:Category:Riflers|Rifler]] ([[:Category:Support players|{{#vardefineecho:role|support}}]])
 
  | entry
 
  | entryfragger = [[:Category:Riflers|Rifler]] ([[:Category:Entry fraggers|{{#vardefineecho:role|entry fragger}}]])
 
  | expert = [[:Category:Expert|{{#vardefineecho:role|Expert}}]]
 
  | rifle
 
  | rifler = [[:Category:Riflers|{{#vardefineecho:role|Rifler}}]]
 
  | coach = [[:Category:Coaches|{{#vardefineecho:role|Coach}}]]
 
  | caster = [[:Category:Casters|{{#vardefineecho:role|Caster}}]]}}<!--
 
-->{{#if:{{{role2|}}}|<br>{{#switch:{{{role2|}}}
 
  | awp
 
  | awper = [[:Category:AWPers|{{#vardefineecho:role2|AWPer}}]]
 
  | analyst = [[:Category:Analyst|{{#vardefineecho:role2|Analyst}}]]
 
  | host = [[:Category:Host|{{#vardefineecho:role2|Host}}]]
 
  | observer = [[:Category:Observer|{{#vardefineecho:role2|Observer}}]]
 
  | igl  = [[:Category:In-game leaders|{{#vardefineecho:role2|In-game leader}}]]
 
  | journalist = [[:Category:Journalist|{{#vardefineecho:role2|Journalist}}]]
 
  | lurk
 
  | lurker = [[:Category:Riflers|Rifler]] ([[:Category:Lurkers|{{#vardefineecho:role2|lurker}}]])
 
  | support = [[:Category:Riflers|Rifler]] ([[:Category:Support players|{{#vardefineecho:role2|support}}]])
 
  | entry
 
  | entryfragger = [[:Category:Riflers|Rifler]] ([[:Category:Entry fraggers|{{#vardefineecho:role2|entry fragger}}]])
 
  | expert = [[:Category:Expert|{{#vardefineecho:role2|Expert}}]]
 
  | rifle
 
  | rifler = [[:Category:Riflers|{{#vardefineecho:role2|Rifler}}]]
 
  | coach = [[:Category:Coaches|{{#vardefineecho:role2|Coach}}]]
 
  | caster = [[:Category:Casters|{{#vardefineecho:role2|Caster}}]]}}|}}</div>
 
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 167: Line 123:
 
<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 Earnings:</div>
 +
<div class="infobox-cell-2 ">{{#var:earnings}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 188: Line 153:
 
}}<!--
 
}}<!--
  
Games
+
Team Roles
  
-->{{#if:{{{cs|}}} {{{css|}}} {{{csgo|}}}|
+
-->{{#if:{{{role|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Current Role(s):</div>
 +
<div class="infobox-cell-2">{{{role}}}</div>
 +
</div>
 +
}}<!--
 +
 
 +
Heroes
 +
 
 +
-->{{#if:{{{hero|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Games:</div>
+
<div class="infobox-cell-2 infobox-description">Signature Hero:</div>
<div class="infobox-cell-2">{{#if: {{{cs|}}} | ''[[Counter-Strike]]''{{#if: {{{css|}}} {{{csgo|}}} | <br> }}}}<!--
+
<div class="infobox-cell-2">{{HeroStat/{{lc:{{{hero}}}}}}}{{#if:{{{hero2|}}}|&nbsp;{{HeroStat/{{lc:{{{hero2}}}}}}}}}{{#if:{{{hero3|}}}|&nbsp;{{HeroStat/{{lc:{{{hero3}}}}}}}}}</div>
-->{{#if: {{{css|}}} | ''[[Counter-Strike: Source|Source]]''{{#if: {{{csgo|}}} | <br> }}}}<!--
+
</div>
-->{{#if: {{{csgo|}}} | ''[[Counter-Strike: Global Offensive|Global Offensive]]''}}</div>
+
}}<!--
 +
 
 +
MMR
 +
 
 +
-->{{#if:{{{mmr|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Solo MMR:</div>
 +
<div class="infobox-cell-2">[[Leaderboards|{{{mmr}}}]]{{#if:{{{mmrdate|}}}|&nbsp;<small>''(last update: {{{mmrdate}}})''</small>}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 201: Line 182:
 
Icons
 
Icons
  
-->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{azubu|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{instagram|}}} {{{weibo|}}} {{{gplus|}}} {{{tlprofile|}}} {{{reddit|}}} {{{fanclub|}}} {{{vk|}}} {{{esea|}}} {{{esl|}}} {{{faceit|}}} {{{steam|}}} {{{steam2|}}} {{{sk|}}} {{{playlist|}}}|
+
-->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{gplus|}}} {{{tlprofile|}}} {{{reddit|}}} {{{fanclub|}}} {{{azubu|}}} {{{weibo|}}} {{{tencent|}}} {{{vk|}}} {{{askfm|}}} {{{steam|}}} {{{psn|}}} |
 
<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 208: Line 189:
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
 
--> {{#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:{{{askfm|}}}|[http://ask.fm/{{{askfm|}}} <i class="lp-icon lp-ask-fm"></i>]}}<!--
 
--> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} <i class="lp-icon lp-twitch"></i>]}}<!--
 
--> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} <i class="lp-icon lp-twitch"></i>]}}<!--
 +
--> {{#if:{{{azubu|}}}|[http://www.azubu.tv/{{{azubu}}} <i class="lp-icon lp-azubu"></i>]}}<!--
 
--> {{#if:{{{stream|}}}|[{{{stream}}} <i class="lp-icon lp-stream"></i>]}}<!--
 
--> {{#if:{{{stream|}}}|[{{{stream}}} <i class="lp-icon lp-stream"></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|}}}|[http://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!--
 
--> {{#if:{{{twitter|}}}|[http://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:{{{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:{{{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:{{{tencent|}}}|[http://t.qq.com/{{{tencent}}} <i class="lp-icon lp-tencent"></i>]}}<!--
 +
--> {{#if:{{{vk|}}}|[https://vk.com/{{{vk}}} <i class="lp-icon lp-vkontakte"></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:{{{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:{{{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:{{{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>]}}<!--
 +
--> {{#if:{{{psn|}}}|[https://my.playstation.com/{{{psn}}} <i class="lp-icon lp-steam"></i>]}}<!--
 +
--> {{#if:{{{psn|}}}|[https://rocketleaguestats.com/profile/PS4/{{{psn}}} <i class="lp-icon lp-steam"></i>]}}<!--
 +
--> {{#if:{{{steam|}}}|[http://steamcommunity.com/profiles/{{{steam}}} <i class="lp-icon lp-steam"></i>]}}<!--
 +
--> {{#if:{{{steam|}}}|[https://rocketleaguestats.com/profile/steam/{{{steam}}} <i class="lp-icon lp-steam"></i>]}}<!--
 
--></div>
 
--></div>
 
</div>
 
</div>
Line 239: Line 219:
 
<div>
 
<div>
 
<div class="infobox-center">{{{achievements}}}</div>
 
<div class="infobox-center">{{{achievements}}}</div>
</div>
 
}}<!--
 
 
Prize Money
 
 
-->{{#if:{{{prize_money|}}}|
 
<div>
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Prize Money</div>
 
</div>
 
<div>
 
<div class="infobox-center">{{{prize_money}}}</div>
 
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 255: Line 224:
 
History (Teams)
 
History (Teams)
  
-->{{#if:{{{team_history|}}}{{{clan_history|}}}|
+
-->{{#if:{{{history|}}}|
 
<div>
 
<div>
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">History</div>
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">History</div>
</div><!--
 
-->{{#if:{{{team_history|}}}|
 
<div>
 
<div class="infobox-center">{{{team_history}}}</div>
 
 
</div>
 
</div>
}}<!--
 
-->{{#if:{{{clan_history|}}}|
 
 
<div>
 
<div>
<div class="infobox-center">{{{clan_history}}}</div>
+
<div class="infobox-center">{{{history}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
-->}}<!--
 
 
Adbox
 
  
 
--></div>
 
--></div>
<div class="fo-nttax-infobox-adbox wiki-bordercolor-light"><adbox /></div>
 
 
</div><!--
 
</div><!--
  
 
Categories
 
Categories
  
-->{{#ifeq:{{NAMESPACE}}||
+
-->{{#ifeq:{{NAMESPACE}}||[[Category:Players]]
 
{{#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|}}}{{{vk|}}}{{{weibo|}}}{{{tencent|}}}||[[Category:Players with no social media links]]}}<!-- To add to a hidden category to find players without social media links.
 
-->{{#if:{{{fanclub|}}}||[[Category:Players without a fanpage]]}}<!-- To add to a hidden category to find players without a fanclub.
 
-->{{#if:{{{fanclub|}}}||[[Category:Players without a fanpage]]}}<!-- To add to a hidden category to find players without a fanclub.
 +
-->{{#if:{{{status|}}}||[[Category:Players without a status]]}}<!-- To add to a hidden category to find players without an activity status listed.
 
-->{{#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:{{{status|}}}||[[Category:Players without a status]]}}<!-- To add to a hidden category to find players without an activity status listed.
 
-->{{#switch:{{{role|}}}
 
  |awp
 
  |awper=[[Category:AWPers]]
 
  |igl=[[Category:In-game leaders]]
 
  |lurk
 
  |lurker=[[Category:Riflers]] [[Category:Lurkers]]
 
  |support=[[Category:Riflers]] [[Category:Support players]]
 
  |entry
 
  |entryfragger=[[Category:Riflers]] [[Category:Entry fraggers]]
 
  |rifle
 
  |rifler=[[Category:Riflers]]
 
  |coach=[[Category:Coaches]]
 
  |caster=[[Category:Casters]]
 
  |#default =}}<!--
 
-->{{#switch:{{{role2|}}}
 
  |awp
 
  |awper=[[Category:AWPers]]
 
  |igl=[[Category:In-game leaders]]
 
  |lurk
 
  |lurker=[[Category:Riflers]] [[Category:Lurkers]]
 
  |support=[[Category:Riflers]] [[Category:Support players]]
 
  |entry
 
  |entryfragger=[[Category:Riflers]] [[Category:Entry fraggers]]
 
  |rifle
 
  |rifler=[[Category:Riflers]]
 
  |coach=[[Category:Coaches]]
 
  |caster=[[Category:Casters]]
 
  |#default =}}<!--
 
 
-->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error
 
-->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error
 
|[[Category:Unrecognised Country{{!}}{{{country}}}]]
 
|[[Category:Unrecognised Country{{!}}{{{country}}}]]
|{{#switch:{{{role|}}}|caster=|#default=[[Category:{{localisation|{{{country}}}}} Players]]}}}}| }}<!-- Adds category for the country using localisation template unless the country error is returned then adds to unrecognised country category.
+
|[[Category:{{localisation|{{{country}}}}} Players]]}}| }}<!-- Adds category for the country using localisation template unless the country error is returned then adds to unrecognised country category.
 
-->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error
 
-->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error
 
|[[Category:Unrecognised Country{{!}}{{{country2}}}]]
 
|[[Category:Unrecognised Country{{!}}{{{country2}}}]]
|{{#switch:{{{role|}}}|caster=|#default=[[Category:{{localisation|{{{country2}}}}} Players]]}}}}<!-- Same for country2.
+
|[[Category:{{localisation|{{{country2}}}}} Players]]}}}}<!-- Same for country2.
-->
+
-->{{#ifeq:{{{role|}}}|Caster|[[Category:Casters]]}}<!--
}}[[Category:Players]]
 
{{#if: {{{cs|}}} | [[Category:CS Players]] }}
 
{{#if: {{{css|}}} | [[Category:CSS Players]] }}
 
{{#if: {{{csgo|}}} | [[Category:CSGO Players]] }}
 
{{#if: {{{cs|}}} {{{css|}}} {{{csgo|}}} || [[Category:Gameless Players]]}}<!--
 
--><!--
 
  
 
SMW
 
SMW
Line 333: Line 257:
 
-->{{#set:
 
-->{{#set:
 
|has id={{{id|{{PAGENAME}}}}}
 
|has id={{{id|{{PAGENAME}}}}}
 +
|has pagename={{PAGENAME}}
 
|has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}}
 
|has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}}
 
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
 
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
|has image caption={{{caption|}}}
 
 
|has nationality={{{country|}}}
 
|has nationality={{{country|}}}
|has death day={{{death_date|}}}
+
|has region={{Player region|{{{country|}}}}}
 
+
|has team={{{team|}}}
 +
|has role={{{role|}}}
 +
|has team page={{{teampage|{{{team|}}}}}}
 
|has clan={{{clan|}}}
 
|has clan={{{clan|}}}
|has team={{{teamlink|{{{team|}}}}}}
 
|has team page={{{teampage|{{{team|}}}}}}
 
 
|has sponsor={{{sponsor|}}}
 
|has sponsor={{{sponsor|}}}
 
+
|has achievements={{{achievements|}}}
|has role={{#var:role}}
+
|has mmr={{{mmr|}}}
|has role2={{#var:role2}}
+
|has mmr date={{{mmrdate|}}}
|is player={{#switch:{{lc:{{#var:role}}}}|analyst|caster=False|#default=True}}
+
<!-- |has history={{{history|}}} -->
  
 
|has site={{{site|}}}
 
|has site={{{site|}}}
Line 353: Line 277:
 
|has fanclub page={{{fanclub|}}}
 
|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 tl stream={{#if:{{{tlstream|}}}|http://www.teamliquid.net/stream/{{{tlstream}}}}}
 
|has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}}}}
 
|has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}}}}
Line 360: Line 283:
 
|has twitter={{#if:{{{twitter|}}}|http://twitter.com/{{{twitter}}}}}
 
|has twitter={{#if:{{{twitter|}}}|http://twitter.com/{{{twitter}}}}}
 
|has facebook={{#if:{{{facebook|}}}|http://facebook.com/{{{facebook}}}}}
 
|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 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 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 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 faceit profile={{#if:{{{faceit|}}}|http://www.faceit.com/players/{{{faceit}}}}}
 
|has sk gaming profile={{#if:{{{sk|}}}|http://sk-gaming.com/member/{{{sk}}}}}
 
  
 
|has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}}
 
|has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}}
|has dual-citizenship={{#if:{{{country2|}}}|{{#if:{{{country|}}}|true|false}}|}}
+
|has dual-citizenship={{#if:{{{country2|}}}|{{#if:{{{country|}}}|true|false}}|false}}
 
|has second nationality={{{country2|}}}
 
|has second nationality={{{country2|}}}
|has retired={{{retired|}}}
 
 
|has status={{#if:{{{status|}}}|{{{status|}}}|Unknown}}
 
|has status={{#if:{{{status|}}}|{{{status|}}}|Unknown}}
 
|has earnings={{Total earnings of|{{{id|{{PAGENAME}}}}}|player}}
 
|has earnings={{Total earnings of|{{{id|{{PAGENAME}}}}}|player}}
 +
|has earnings in 2016={{Total earnings of|{{{id|{{PAGENAME}}}}}|player|year=2016}}
 +
|has earnings in 2015={{Total earnings of|{{{id|{{PAGENAME}}}}}|player|year=2015}}
 
}}<!--
 
}}<!--
 
Variable
 
 
-->
 
{{#vardefine:id|{{{id|{{PAGENAME}}}}}}}
 
<!--
 
  
 
-->{{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day  }}}}<!--
 
-->{{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day  }}}}<!--
Line 399: Line 308:
 
|has flag={{lc:{{{country|}}}}}
 
|has flag={{lc:{{{country|}}}}}
 
}} }} }}
 
}} }} }}
}}<!--this one from before the categories
+
}}<!-- this one from before the categories
  
 
--></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>
 
--></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>

Revision as of 09:36, 7 November 2016

Documentation (view - edit)

[e][h] Terminator
Player Information
Name:
Jan Long
Birth:
May 27, 1981 (1981-05-27) (age 42)
Died:
May 31, 2020
Country:
Status:
Active
Years Active (Player):
2001-Present
Team:
[[Denmark Team Denmark |Denmark Team Denmark]]
[[Denmark Danske Bank|Denmark Danske Bank]]
Clan:
Sponsor:
Danske Bank
Alternate IDs:
RoboCop, The_Terminat0r
Current Role(s):
Commander
Links
History
2009 – Present
2003 – 2008
1999 – 2001

This template produces an Infobox on a player page.

Parameters

These are the variables in the Player template:

  • image = Picture
  • ids = Alternative nicknames
  • name = Real Name
  • birth_date = {{Birth date and age|YYYY|MM|DD}}
  • death_date = Date of death
  • role = Player, Caster, or whatever you want
  • hadcovid = Yes/No, if the player had Covid-19
  • sponsor = Player's personal sponsor
  • color = QW colors. Insert two values (0-13) separated by space.
  • favmap1on1 = Favourite 1on1 map
  • favmap2on2 = Favourite 2on2 map
  • favmap4on4 = Favourite 4on4 map
  • country = Country
  • country2 = Secound country (if needed)
  • spawned = Started playing YYYY
  • status = Active or Inactive
  • years_active = YYYY - YYYY
  • years_active_admin = YYYY - YYYY
  • team = Current Team
  • clan = Current Clan
  • twitch = Username on Twitch
  • youtube = YouTube channel name
  • history = Team History. Use {{TH}}.
  • team_history_list = full team history in linked form for Semantic Mediawiki property, please keep as text. Note "team_history_list" does to output back into the Player page, but solely to gather this parameter.

Example

The following code was used to create the infobox on this page.

{{Infobox player
|id=Terminator
|image=Infobox placeholder.png
|ids=RoboCop, The_Terminat0r
|name=Jan Long
|birth_date={{Birth date and age|1981|5|27}}
|death_date=May 31, 2020
|role=Commander
|hadcovid=Yes
|sponsor=Danske Bank
|color=4 3
|favmap1on1=aerowalk
|favmap2on2=dm6
|favmap4on4=e1m2
|country=Denmark
|country2=Italy
|spawned=2001
|status=Active
|years_active=2001-'''Present'''
|years_active_admin=2011-2012
|team={{Team|Team Denmark|flag=dk}}
|team2={{Team|Danske Bank|link=abbr|abbr=Royal Bank of Denmark|flag=dk}}
|clan=Zetor
|twitch=suddendeathTV
|youtube=tvsuddendeath
|history=
{{TH|2009 – '''Present'''|Star Alliance}}
{{TH|2003 – 2008|Earthquake}}
{{TH|2001|Paranoia}}
{{TH|1999 – 2001|Zetor}}
}}

Copy / Paste

{{Infobox player
|id=
|image=
|ids=
|name=
|birth_date=
|death_date=
|role=
|hadcovid=
|sponsor=
|color=
|favmap1on1=
|favmap2on2=
|favmap4on4=
|country=
|country2=
|spawned=
|status=
|years_active=
|years_active_admin=
|team=
|team2=
|clan=
|twitch=
|youtube=
|history=
{{TH|YYY-MM-DD – YYYY-MM-DD|First team}}
{{TH|YYY-MM-DD – YYYY-MM-DD|Second team}}
{{TH|YYY-MM-DD – YYYY-MM-DD|Third team}}
}}