Difference between revisions of "Template:NewInfobox Player"

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{id|{{PAGENAME}}}}}}}}}<!-- --><div class="fo-nttax-infobox-wrapper"> <div class="fo-nttax-infobox"> <div> <div cl...")
 
m
Line 68: Line 68:
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">Country:</div>
 
<div class="infobox-cell-2 infobox-description">Country:</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">{{flag|{{lc:{{{country}}}}}}} [[:Category:{{{country}}}{{!}}{{{country}}}]]{{#if:{{{country2|}}}|<br>{{flag|{{lc:{{{country2}}}}}}} [[:Category:{{{country2}}}{{!}}{{{country2}}}]]}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 144: Line 144:
 
   | sniper = [[:Category:Snipers|Snipers]]
 
   | sniper = [[:Category:Snipers|Snipers]]
 
   | spy = [[:Category:Spies|Spies]]
 
   | spy = [[:Category:Spies|Spies]]
   | caster = [[:Category:Casters|Caster]]}}</div>
+
   | caster = [[:Category:Casters|Caster]]}}|}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 177: Line 177:
 
Icons
 
Icons
  
-->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{azubu|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{weibo|}}} {{{gplus|}}} {{{tlprofile|}}} {{{reddit|}}} {{{fanclub|}}}|
+
-->{{#if:{{{site|}}} {{{twitch|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{gplus|}}} {{{fanclub|}}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">Links</div>
 
<div class="infobox-header infobox-header-2">Links</div>
Line 184: Line 184:
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
 
--> {{#if:{{{site|}}}|[[Image:InfoboxIcon Homepage.png|32px|Website|link={{{site}}}]]}}<!--
 
--> {{#if:{{{site|}}}|[[Image:InfoboxIcon Homepage.png|32px|Website|link={{{site}}}]]}}<!--
--> {{#if:{{{tlstream|}}}|[[Image:InfoboxIcon TLStream.png|32px|TeamLiquid.net Stream|link=http://www.teamliquid.net/video/streams/{{{tlstream}}}]]}}<!--
 
 
--> {{#if:{{{twitch|}}}|[[Image:InfoboxIcon Twitch.png|32px|Twitch Stream|link=http://www.twitch.tv/{{{twitch}}}]]}}<!--
 
--> {{#if:{{{twitch|}}}|[[Image:InfoboxIcon Twitch.png|32px|Twitch Stream|link=http://www.twitch.tv/{{{twitch}}}]]}}<!--
--> {{#if:{{{own3d|}}}|[[Image:InfoboxIcon own3dtv.png|32px|own3D.tv Stream|link=http://www.own3d.tv/{{{own3d}}}]]}}<!--
 
 
--> {{#if:{{{stream|}}}|[[Image:InfoboxIcon Stream.png|32px|Stream|link={{{stream}}}]]}}<!--
 
--> {{#if:{{{stream|}}}|[[Image:InfoboxIcon Stream.png|32px|Stream|link={{{stream}}}]]}}<!--
 
--> {{#if:{{{youtube|}}}|[[Image:InfoboxIcon YouTube.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
 
--> {{#if:{{{youtube|}}}|[[Image:InfoboxIcon YouTube.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
Line 193: Line 191:
 
--> {{#if:{{{gplus|}}}|[[Image:InfoboxIcon GooglePlus.png|32px|Google+|link=http://plus.google.com/{{{gplus}}}]]}}<!--
 
--> {{#if:{{{gplus|}}}|[[Image:InfoboxIcon GooglePlus.png|32px|Google+|link=http://plus.google.com/{{{gplus}}}]]}}<!--
 
--> {{#if:{{{vk|}}}|[[Image:InfoboxIcon VK.png|32px|VKontakte|link=http://www.vk.com/{{{vk}}}]]}}<!--
 
--> {{#if:{{{vk|}}}|[[Image:InfoboxIcon VK.png|32px|VKontakte|link=http://www.vk.com/{{{vk}}}]]}}<!--
--> {{#if:{{{tlprofile|}}}|[[Image:InfoboxIcon TLProfile.png|32px|TeamLiquid.net Profile|link=http://www.teamliquid.net/forum/profile.php?user={{{tlprofile}}}]]}}<!--
 
--> {{#if:{{{reddit|}}}|[[Image:InfoboxIcon Reddit.png|32px|Reddit Profile|link=http://www.reddit.com/user/{{{reddit}}}]]}}<!--
 
 
--> {{#if:{{{fanclub|}}}|[[Image:InfoboxIcon TLFanClub.png|Fanclub|32px|link={{{fanclub}}}]]}}<!--
 
--> {{#if:{{{fanclub|}}}|[[Image:InfoboxIcon TLFanClub.png|Fanclub|32px|link={{{fanclub}}}]]}}<!--
 
--> {{#if:{{{playlist|}}}|[[Image:InfoboxIcon Music.png|Playlist|32px|link={{{playlist}}}]]}}<!--
 
--> {{#if:{{{playlist|}}}|[[Image:InfoboxIcon Music.png|Playlist|32px|link={{{playlist}}}]]}}<!--
Line 316: Line 312:
 
|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.com/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}}}}}
Line 325: Line 318:
 
|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 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 non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}}
 
|has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}}

Revision as of 13:12, 23 August 2015

(view - edit) Documentation

[e][h] Mike
Mike at DreamHack Summer 2016.jpg
Player Information
Name:
Michael Adams
Birth:
July 29, 1995 (1995-07-29) (age 29)
Country:
Status:
Inactive
Years Active (Player):
2009 - 2016
Role(s):
/
Nicknames:
MGEMike
MikeyA
Links
Prize Money
2013
€4405.71

2014
€2406.73

2015
€4470.34

History
2011 - 2012
2012 - 2013
2014 - 2014
2014 - 2014
2014 - 2014
2015 - 2015
2015 - 2015
Sleep Club
2015 - 2015
2015 - 2015
2016 - 2016
2016 - 2016
<adbox />
  1. default =
  |#default =}}


}}

This template produces an Infobox on a player page. Credit to Liquipedia for the template.

Example

The code:

{{NewInfobox Player
|id=Mike
|image=Mike at DreamHack Summer 2016.jpg 
|caption=Mike at [[DreamHack Summer 2016]]
|name=Michael Adams
|romanized_name=
|birth_date= {{birth_date_and_age|1995|07|29}}
|death_date=
|country=Wales
|country2=
|status=Inactive
|years_active=2009 - 2016
|team=
|role=Soldier
|role2=Scout
|format=6s
|sponsor=
|ids=
|nicknames=MGEMike<br />
MikeyA
|site=
|etf2l=11433
|tftv=MGEMike
|steam=76561197964056193
|twitch=mgemike
|youtube=fasterthanamaster
|twitter=MGEMike
|facebook=
|gplus=
|fanclub=
|playlist=
|achievements=
|1stplace={{LeagueIconSmall|etf2l|ETF2L 6v6 Season 11}} {{LeagueIconSmall|etf2l|ETF2L 6v6 Season 13}} {{LeagueIconSmall|etf2l|ETF2L 6v6 Season 14}} {{LeagueIconSmall|etf2l|ETF2L 6v6 Season 15}} {{LeagueIconSmall|infoshow|InfoShow LAN Party 2014}}
|2ndplace=
|3rdplace={{LeagueIconSmall|etf2l|ETF2L 6v6 Season 9}} {{LeagueIconSmall|infoshow|InfoShow LAN Party 2015}}
|4thplace=

|etf2lawards={{icon|soldier|Soldier of the Season|ETF2L 6v6 Season 10}} {{icon|soldier|Soldier of the Season|ETF2L 6v6 Season 11}} {{Medal|best|Most Overrated Player of the Season|ETF2L 6v6 Season 12}} {{icon|soldier|Soldier of the Season|ETF2L 6v6 Season 13}} {{icon|roamer|Roamer of the Season|ETF2L 6v6 Season 14}} {{icon|pocket|Pocket of the Season|ETF2L 6v6 Season 15}} {{Medal|best|Best Player of the Season|ETF2L 6v6 Season 15}} {{icon|pocket|Pocket of the Season|ETF2L 6v6 Season 16}} {{Medal|best|Best Player of the Season|ETF2L 6v6 Season 16}} {{icon|pocket|Pocket of the Season|ETF2L 6v6 Season 17}} {{icon|pocket|Pocket of the Season|ETF2L 6v6 Season 18}} {{Medal|best|Best Player of the Season|ETF2L 6v6 Season 18}} {{icon|roamer|Roamer of the Season|ETF2L 6v6 Season 20}} {{Medal|best|Best Player of the Season|ETF2L 6v6 Season 20}} {{Medal|best|Best Player of the Season|ETF2L 6v6 Season 21}} {{icon|roamer|Roamer of the Season|ETF2L 6v6 Season 22}} {{icon|roamer|Roamer of the Season|ETF2L 6v6 Season 24}}
|team_history={{TH|2011 - 2012 |Team Infused}} 
{{TH|2012 - 2013 |Epsilon eSports}} 
{{TH|2014 - 2014 |AYOGURL}} 
{{TH|2014 - 2014 |Made In Germany}}
{{TH|2014 - 2014 |The Enigma Zone Crew}}
{{TH|2014 - 2014 |Epsilon eSports}} 
{{TH|2015 - 2015 |SUAVE}}
{{TH|2015 - 2015 |Sleep Club|no-link=true}}  
{{TH|2015 - 2015 |Reason Gaming}}
{{TH|2015 - 2015 |tf2center}}
{{TH|2016 - 2016 |Perilous Gaming}}
{{TH|2016 - 2016 |Full Tilt}}
{{TH|2016 - 2016 |The Enigma Zone Crew}}
|retired=2016-10-27
|prize_money= {{PM|2013|€4405.71}} {{PM|2014|€2406.73}} {{PM|2015|€4470.34}}
}}

Parameters

These are the variables in the Player template:

  • id = Main ID
  • image = Picture
  • caption = Caption (description of the image above)
  • name = Real Name (If needed, use romanized_name for romanization)
  • romanized_name = Romanized Real Name
  • birth_date = {{Birth date and age|YYYY|MM|DD}} or {{Birth year and age|YYYY}} (for year only)
  • country = Country
  • country2 = Second country (If needed)
  • status = If Active or Retired.
  • years_active = The range of years the player has been active for
  • team =
  • team2 = Current Teams for 6s/HL/Other well known game modes. Please try to avoid putting in national teams or smaller league teams.
  • format = Game format that player is most known for (out of BBall, 4s, 6s, Highlander). Note this is not intended to show in the infobox.
  • role =
  • role2 = Player role. Role may include, Scout, Soldier, Pyro, Demo, Heavy, Engineer, Medic, Sniper, Spy, Caster, Cameraman, Producer.
  • sponsor = Player's personal sponsor
  • ids = Alternative IDs
  • nicknames = Player's nicknames
  • etf2lawards = Number of ETF2L awards. Automatically links here
  • tftv = Teamfortress.tv profile
  • esea = ESEA profile
  • etf2l = ETF2L profile
  • ozfortress = ozfortress forum profile
  • ozfcitadel = ozfortress Citadel profile
  • site = Player's Homepage
  • steam = SteamID64
  • twitch = Username on Twitch
  • stream = Link to stream (if not on Twitch)
  • youtube = YouTube Channel Name
  • twitter = Username on Twitter
  • snapchat = Username on Snapchat
  • facebook = Username on Facebook
  • gplus = Username on Google Plus
  • vk = Profile link on VKontakte
  • playlist = A playlist of the music the person plays on stream
  • achievements = Don't use this parameter anymore. We will remove it once every (or most) of the player pages are updated
  • 1stplace = Use this parameter for when a certain achievement is not automatically displayed. Use Template:LeagueIconSmall and link to the specific event. For example: "{{LeagueIconSmall/etf2l|link=ETF2L 6v6 Season 19}}" to produce: ETF2L 6v6 Season 19.
    • 2ndplace
    • 3rdplace
    • 4thplace
  • prize_money = Prize money using the template Template:PM. For example: {{PM|YYYY|amount}}
  • team_history = Team History. Use Template:TH. For example: "{{TH|2012 - 2013 |Epsilon eSports}}
  • retired = The date the player has retired. Leave blank if still active


Copy / Paste

{{NewInfobox Player
|id=
|image=
|caption=
|name=
|romanized_name=
|birth_date=  {{Birth date and age|YYYY|MM|DD}} or {{Birth year and age|YYYY}}
|death_date=
|country=
|country2=
|status=
|years_active=
|team=
|team2=
|role=
|role2=
|format=
|format2=
|sponsor=
|ids=
|nicknames=
|tftv=
|esea=
|etf2l=
|ozfortress=
|ozfcitadel=
|site=
|steam=
|twitch=
|stream=
|youtube=
|twitter=
|snapchat=
|facebook=
|gplus=
|vk=
|fanclub=
|playlist=
|1stplace=
|2ndplace=
|3rdplace=
|4thplace=
|etf2lawards=
|ozfawards=
|team_history=
|retired=
|prize_money= {{PM|YYYY|amount}}
}}