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...")
 
m (Removed beige header with [e][h] above player photo)
 
(23 intermediate revisions by the same user not shown)
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-rocket" style="margin: 0px 0 10px 10px;">
<div class="fo-nttax-infobox wiki-bordercolor-light">
+
<div class="fo-nttax-infobox wiki-bordercolor-light" style="padding-top: 0px;border-top: 0;border-color: #e0e1d3;">
 
<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><!--
 
</div><!--
  
 
Image
 
Image
  
-->{{#if:{{{image|}}}|
+
-->
 
<div>
 
<div>
<div class="infobox-image">[[File:{{{image}}}|center|600px]]</div>
+
<div class="infobox-image">{{#if:{{{image|}}}|[[File:{{{image|}}}|center|600px]]|[[File:Infobox player.png|center|link=Special:Upload|Click here to upload a photo]]}}</div>
</div>
+
</div><!--
}}<!--
 
  
 
Caption
 
Caption
Line 26: Line 24:
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Player Information</div>
 
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Player Information</div>
 
</div><!--
 
</div><!--
 +
 +
Alternate IDs
 +
 +
-->{{#if:{{{ids|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Nicknames:</div>
 +
<div class="infobox-cell-2">{{{ids}}}</div>
 +
</div>
 +
}}<!--
 +
 +
Nicknames
 +
 +
-->{{#if:{{{nicknames|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Nicknames:</div>
 +
<div class="infobox-cell-2">{{{nicknames}}}</div>
 +
</div>
 +
}}<!--
  
 
Name
 
Name
Line 49: Line 65:
 
-->{{#if:{{{birth_date|}}}|
 
-->{{#if:{{{birth_date|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Birth:</div>
+
<div class="infobox-cell-2 infobox-description">Born:</div>
 
<div class="infobox-cell-2">{{{birth_date}}}</div>
 
<div class="infobox-cell-2">{{{birth_date}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Death date
+
Death Date
  
 
-->{{#if:{{{death_date|}}}|
 
-->{{#if:{{{death_date|}}}|
Line 63: Line 79:
 
}}<!--
 
}}<!--
  
Countries
+
Team Roles
 +
 
 +
-->{{#if:{{{role|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Role:</div>
 +
<div class="infobox-cell-2">{{{role}}}</div>
 +
</div>
 +
}}<!--
 +
 
 +
Covid
 +
 
 +
-->{{#if:{{{hadcovid|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Had Covid:</div>
 +
<div class="infobox-cell-2">{{{hadcovid}}}</div>
 +
</div>
 +
}}<!--
 +
 
 +
Sponsor
 +
 
 +
-->{{#if:{{{sponsor|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Sponsor:</div>
 +
<div class="infobox-cell-2">{{{sponsor}}}</div>
 +
</div>
 +
}}<!--
 +
 
 +
Color
 +
 
 +
-->{{#if:{{{color|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Color:</div>
 +
<div class="infobox-cell-2">{{Qwcolor{{#explode:{{{color}}}| |0}}}} {{Qwcolor{{#explode:{{{color}}}| |1}}}}</div>
 +
</div>
 +
}}<!--
 +
 
 +
Favourite map 1on1
  
-->{{#if:{{{country|}}}|
+
-->{{#if:{{{favmap1on1|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Country:</div>
+
<div class="infobox-cell-2 infobox-description">Map 1on1:</div>
<div class="infobox-cell-2">{{flag/{{lc:{{{country}}}}}}} [[:Category:{{{country}}}{{!}}{{{country}}}]]{{#if:{{{country2|}}}|<br>{{flag/{{lc:{{{country2}}}}}}} [[:Category:{{{country2}}}{{!}}{{{country2}}}]]}}</div>
+
<div class="infobox-cell-2">[[{{{favmap1on1}}}]]</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Status
+
Favourite map 2on2
  
-->{{#if:{{{status|}}}|
+
-->{{#if:{{{favmap2on2|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Status:</div>
+
<div class="infobox-cell-2 infobox-description">Map 2on2:</div>
<div class="infobox-cell-2">{{#ifexist:{{{status}}}|[[{{{status}}}]]|{{{status}}}}}</div>
+
<div class="infobox-cell-2">[[{{{favmap2on2}}}]]</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Years Active (Player)
+
Favourite map 4on4
  
-->{{#if:{{{years_active|}}}|
+
-->{{#if:{{{favmap4on4|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Years Active (Player):</div>
+
<div class="infobox-cell-2 infobox-description">Map 4on4:</div>
<div class="infobox-cell-2">{{#ifexist:{{{years_active}}}|[[{{{years_active}}}]]|{{{years_active}}}}}</div>
+
<div class="infobox-cell-2">[[{{{favmap4on4}}}]]</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Years Active (Org)
+
Countries
  
-->{{#if:{{{years_active_manage|}}}|
+
-->{{#if:{{{country|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Years Active (Org):</div>
+
<div class="infobox-cell-2 infobox-description">Country:</div>
<div class="infobox-cell-2">{{#ifexist:{{{years_active_manage}}}|[[{{{years_active_manage}}}]]|{{{years_active_manage}}}}}</div>
+
<div class="infobox-cell-2">{{flag/{{lc:{{{country}}}}}}} [[:Category:{{{country}}}{{!}}{{{country}}}]]{{#if:{{{country2|}}}|<br>{{flag/{{lc:{{{country2}}}}}}} [[:Category:{{{country2}}}{{!}}{{{country2}}}]]}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Team
+
First spawn
  
-->{{#if:{{{team|}}}|
+
-->{{#if:{{{spawned|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Team:</div>
+
<div class="infobox-cell-2 infobox-description">First spawned:</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">{{{spawned}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Role(s)
+
Status
  
-->{{#if:{{{role|}}}|
+
-->{{#if:{{{status|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Role(s):</div>
+
<div class="infobox-cell-2 infobox-description">Status:</div>
<div class="infobox-cell-2">{{#switch:{{{role|}}}
+
<div class="infobox-cell-2">{{#ifexist:{{{status}}}|{{{status}}}|{{{status}}}}}</div>
  | 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>
 
}}<!--
 
}}<!--
  
Current Clan
+
Years Active (Player)
  
-->{{#if:{{{clan|}}}|
+
-->{{#if:{{{years_active|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Clan:</div>
+
<div class="infobox-cell-2 infobox-description">Years Active (Player):</div>
<div class="infobox-cell-2">{{#ifexist:{{{clan}}}|[[{{{clan}}}]]|{{{clan}}}}}</div>
+
<div class="infobox-cell-2">{{#ifexist:{{{years_active}}}|{{{years_active}}}|{{{years_active}}}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Sponsor
+
Years Active (Admin)
  
-->{{#if:{{{sponsor|}}}|
+
-->{{#if:{{{years_active_admin|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Sponsor:</div>
+
<div class="infobox-cell-2 infobox-description">Years Active (admin):</div>
<div class="infobox-cell-2">{{{sponsor}}}</div>
+
<div class="infobox-cell-2">{{#ifexist:{{{years_active_admin}}}|{{{years_active_admin}}}|{{{years_active_admin}}}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Alternate IDs
+
Current Team
  
-->{{#if:{{{ids|}}}|
+
-->{{#if:{{{team|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Alternate IDs:</div>
+
<div class="infobox-cell-2 infobox-description">Team:</div>
<div class="infobox-cell-2">{{{ids}}}</div>
+
<div class="infobox-cell-2">{{{team}}} {{#if:{{{team2|}}}|<br>{{{team2}}}|}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Nicknames
+
Current Clan
  
-->{{#if:{{{nicknames|}}}|
+
-->{{#if:{{{clan|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Nicknames:</div>
+
<div class="infobox-cell-2 infobox-description">Clan:</div>
<div class="infobox-cell-2">{{{nicknames}}}</div>
+
<div class="infobox-cell-2">{{#ifexist:{{{clan}}}|[[{{{clan}}}]]|{{{clan}}}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Games
+
Earnings
  
-->{{#if:{{{cs|}}} {{{css|}}} {{{csgo|}}}|
+
-->{{#vardefine:earnings|{{Total earnings of|{{#if:{{{earnings|}}}|{{{earnings}}}|{{PAGENAME}}}}|player}}}}{{#ifeq:{{#var:earnings}}|$0||
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Games:</div>
+
<div class="infobox-cell-2 infobox-description">Approx. Total Earnings:</div>
<div class="infobox-cell-2">{{#if: {{{cs|}}} | ''[[Counter-Strike]]''{{#if: {{{css|}}} {{{csgo|}}} | <br> }}}}<!--
+
<div class="infobox-cell-2 ">{{#var:earnings}}</div>
-->{{#if: {{{css|}}} | ''[[Counter-Strike: Source|Source]]''{{#if: {{{csgo|}}} | <br> }}}}<!--
 
-->{{#if: {{{csgo|}}} | ''[[Counter-Strike: Global Offensive|Global Offensive]]''}}</div>
 
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 201: Line 216:
 
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 223:
 
<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 253:
 
<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 258:
 
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:InfoboxComplete]]|[[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:{{{fanclub|}}}||[[Category:Players without a fanpage]]}}<!-- To add to a hidden category to find players without a fanclub.
 
-->{{#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 287:
 
-->{{#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 clan={{{clan|}}}
+
|has role={{{role|}}}
|has team={{{teamlink|{{{team|}}}}}}
+
<!--|has team page={{{teampage|{{{team|}}}}}}-->
|has team page={{{teampage|{{{team|}}}}}}
+
<!--|has clan={{{clan|}}}-->
 
|has sponsor={{{sponsor|}}}
 
|has sponsor={{{sponsor|}}}
 
+
|has achievements={{{achievements|}}}
|has role={{#var:role}}
+
<!-- |has history={{{history|}}} -->
|has role2={{#var:role2}}
 
|is player={{#switch:{{lc:{{#var:role}}}}|analyst|caster=False|#default=True}}
 
  
 
|has site={{{site|}}}
 
|has site={{{site|}}}
 
|has stream={{{stream|}}}
 
|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|}}}|http://www.twitch.tv/{{{twitch}}}}}
 
|has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}}}}
|has own3d stream={{#if:{{{own3d|}}}|http://www.own3d.tv/{{{own3d}}}}}
 
 
|has youtube channel={{#if:{{{youtube|}}}|http://www.youtube.com/{{{youtube}}}}}
 
|has youtube channel={{#if:{{{youtube|}}}|http://www.youtube.com/{{{youtube}}}}}
 
|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 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 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 329:
 
|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>

Latest revision as of 13:32, 23 March 2023

Documentation (view - edit)

Click here to upload a photo
Player Information
Nicknames:
RoboCop, The_Terminat0r
Name:
Jan Long
Born:
May 27, 1981 (1981-05-27) (age 43)
Died:
May 31, 2020
Role:
Commander
Had Covid:
Yes
Sponsor:
Danske Bank
Color:
  4     3  
Map 1on1:
Map 2on2:
Map 4on4:
Country:
First spawned:
2001
Status:
Active
Years Active (Player):
2001-Present
Years Active (admin):
2011-2012
Team:
Denmark Team Denmark
Denmark Danske Bank
Clan:
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}}
}}