Difference between revisions of "Template:NewInfobox Player"

From comp.tf
Jump to navigation Jump to search
m (Added icons for role, added "engie" as keyword for Engineer)
m
 
(112 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
<div class="fo-nttax-infobox">
 
<div class="fo-nttax-infobox">
 
<div>
 
<div>
<div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox_Player|h]]<nowiki>]</nowiki></span>{{#ifexist:Template:TeamIcon/{{{team}}}|{{TeamIcon/{{{team}}}}}}}&nbsp;{{{id|{{PAGENAME}}}}}</div>
+
<div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox_Player|h]]<nowiki>]</nowiki></span>{{#switch:{{lc:{{{role|}}} }}
 +
  | scout = [[File:Scouticon.png|25px|link=Scout]]
 +
  | pocket = [[File:Pocketicon.png|25px|link=Pocket Soldier]]
 +
  | roamer = [[File:Roamericon.png|25px|link=Roaming Soldier]]
 +
  | solly
 +
  | soldier = [[File:Soldiericon.png|25px|link=Soldier]]
 +
  | pyro
 +
  | pyromaniac = [[File:Pyroicon.png|25px|link=Pyro]]
 +
  | demo
 +
  | demoman
 +
  | demonstrations man = [[File:Demomanicon.png|25px|link=Demoman]]
 +
  | heavy
 +
  | heavyweapons = [[File:Heavyicon.png|25px|link=Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = [[File:Engineericon.png|25px|link=Engineer]]
 +
  | medic = [[File:Medicicon.png|25px|link=Medic]]
 +
  | sniper = [[File:Snipericon.png|25px|link=Sniper]]
 +
  | spy = [[File:Spyicon.png|25px|link=Spy]]
 +
  | caster = [[File:Int Icon.png|25px|link=Category:Casters]]
 +
}}&nbsp;{{{id|{{PAGENAME}}}}}</div>
 
</div><!--
 
</div><!--
  
Line 94: Line 114:
 
-->{{#if:{{{team|}}}|
 
-->{{#if:{{{team|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Team:</div>
+
<div class="infobox-cell-2 infobox-description">{{#if: {{{team2|}}}|Teams:|Team:}}</div>
 
<div class="infobox-cell-2">{{#ifexist:{{{team}}}|[[{{{team}}}]]|{{{team}}}}}{{#if: {{{team2|}}}|<br />{{#ifexist:{{{team2}}}|[[{{{team2}}}]]|{{{team2}}}}}}}</div>
 
<div class="infobox-cell-2">{{#ifexist:{{{team}}}|[[{{{team}}}]]|{{{team}}}}}{{#if: {{{team2|}}}|<br />{{#ifexist:{{{team2}}}|[[{{{team2}}}]]|{{{team2}}}}}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Role(s)
+
Role, Roles
  
 
-->{{#if:{{{role|}}}|
 
-->{{#if:{{{role|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Role(s):</div>
+
<div class="infobox-cell-2 infobox-description">Role{{#if:{{{role2|}}}|s|}}:</div>
 
<div class="infobox-cell-2">{{#switch:{{lc:{{{role|}}} }}
 
<div class="infobox-cell-2">{{#switch:{{lc:{{{role|}}} }}
   | scout = [[:Category:Scouts|[[File:Scouticon.png|20px|link=]] Scout]]
+
   | scout = [[:Category:Scouts|Scout]]
   | pocket = [[:Category:Soldiers|[[File:Soldiericon.png|20px|link=]] Pocket]]
+
   | pocket = [[:Category:Soldiers|Pocket]]
   | roamer = [[:Category:Soldiers|[[File:Soldiericon.png|20px|link=]] Roamer]]
+
   | roamer = [[:Category:Soldiers|Roamer]]
   | soldier = [[:Category:Soldiers|[[File:Soldiericon.png|20px|link=]] Soldier]]
+
  | solly
 +
   | soldier = [[:Category:Soldiers|Soldier]]
 
   | pyro
 
   | pyro
   | pyromaniac = [[:Category:Pyros|[[File:Pyroicon.png|20px|link=]] Pyro]]
+
   | pyromaniac = [[:Category:Pyros|Pyro]]
 
   | demo
 
   | demo
 
   | demoman
 
   | demoman
   | demonstrations man = [[:Category:Demomen|[[File:Demomanicon.png|20px|link=]] Demoman]]
+
   | demonstrations man = [[:Category:Demomen|Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = [[:Category:Heavies|[[File:Heavyicon.png|20px|link=]] Heavy]]
+
   | heavyweapons = [[:Category:Heavies|Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = [[:Category:Engineers|[[File:Engineericon.png|20px|link=]] Engineer]]
+
   | engineer = [[:Category:Engineers|Engineer]]
   | medic = [[:Category:Medics|[[File:Medicicon.png|20px|link=]] Medic]]
+
   | medic = [[:Category:Medics|Medic]]
   | sniper = [[:Category:Snipers|[[File:Snipericon.png|20px|link=]] Sniper]]
+
   | sniper = [[:Category:Snipers|Sniper]]
   | spy = [[:Category:Spies|[[File:Spyicon.png|20px|link=]] Spy]]
+
   | spy = [[:Category:Spies|Spy]]
 +
  | flex = [[:Category:Flexes|Flex]]
 
   | caster = [[:Category:Casters|Caster]]
 
   | caster = [[:Category:Casters|Caster]]
 
   | cameraman = [[:Category:Cameramen|Cameraman]]
 
   | cameraman = [[:Category:Cameramen|Cameraman]]
 +
  | coach = [[:Category:Coaches|Coach]]
 
   | producer = [[:Category:Production Crew|Producer]]}}<!--
 
   | producer = [[:Category:Production Crew|Producer]]}}<!--
 
-->{{#if:{{{role2|}}}|/{{#switch:{{lc:{{{role2|}}} }}
 
-->{{#if:{{{role2|}}}|/{{#switch:{{lc:{{{role2|}}} }}
   | scout = [[:Category:Scouts|[[File:Scouticon.png|20px|link=]] Scout]]
+
   | scout = [[:Category:Scouts|Scout]]
   | pocket = [[:Category:Soldiers|[[File:Soldiericon.png|20px|link=]] Pocket]]
+
   | pocket = [[:Category:Soldiers|Pocket]]
   | roamer = [[:Category:Soldiers|[[File:Soldiericon.png|20px|link=]] Roamer]]
+
   | roamer = [[:Category:Soldiers|Roamer]]
   | soldier = [[:Category:Soldiers|[[File:Soldiericon.png|20px|link=]] Soldier]]
+
  | solly
 +
   | soldier = [[:Category:Soldiers|Soldier]]
 
   | pyro
 
   | pyro
   | pyromaniac = [[:Category:Pyros|[[File:Pyroicon.png|20px|link=]] Pyro]]
+
   | pyromaniac = [[:Category:Pyros|Pyro]]
 
   | demo
 
   | demo
 
   | demoman
 
   | demoman
   | demonstrations man = [[:Category:Demomen|[[File:Demomanicon.png|20px|link=]] Demoman]]
+
   | demonstrations man = [[:Category:Demomen|Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = [[:Category:Heavies|[[File:Heavyicon.png|20px|link=]] Heavy]]
+
   | heavyweapons = [[:Category:Heavies|Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = [[:Category:Engineers|[[File:Engineericon.png|20px|link=]] Engineer]]
+
   | engineer = [[:Category:Engineers|Engineer]]
   | medic = [[:Category:Medics|[[File:Medicicon.png|20px|link=]] Medic]]
+
   | medic = [[:Category:Medics|Medic]]
   | sniper = [[:Category:Snipers|[[File:Snipericon.png|20px|link=]] Sniper]]
+
   | sniper = [[:Category:Snipers|Sniper]]
   | spy = [[:Category:Spies|[[File:Spyicon.png|20px|link=]] Spy]]
+
   | spy = [[:Category:Spies|Spy]]
 +
  | flex = [[:Category:Flexes|Flex]]
 
   | caster = [[:Category:Casters|Caster]]
 
   | caster = [[:Category:Casters|Caster]]
 
   | cameraman = [[:Category:Cameramen|Cameraman]]
 
   | cameraman = [[:Category:Cameramen|Cameraman]]
 +
  | coach = [[:Category:Coaches|Coach]]
 
   | producer = [[:Category:Production Crew|Producer]]}}|}}</div>
 
   | producer = [[:Category:Production Crew|Producer]]}}|}}</div>
 
</div>
 
</div>
Line 178: Line 204:
 
Icons
 
Icons
  
-->{{#if:{{{tftv|}}} {{{etf2l|}}} {{{esea|}}} {{{ozfortress|}}} {{{site|}}} {{{snapchat|}}} {{{steam|}}} {{{twitch|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{gplus|}}}|
+
-->{{#if:{{{tftv|}}} {{{etf2l|}}} {{{esea|}}} {{{ozfortress|}}} {{{ozfcitadel|}}} {{{site|}}} {{{snapchat|}}} {{{steam|}}} {{{twitch|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{gplus|}}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">Links</div>
 
<div class="infobox-header infobox-header-2">Links</div>
 
</div>
 
</div>
{{#if:{{{tftv|}}} {{{etf2l|}}} {{{esea|}}} {{{ozfortress|}}}|
+
{{#if:{{{tftv|}}} {{{etf2l|}}} {{{esea|}}} {{{ozfortress|}}} {{{ozfcitadel|}}}|
 
<div>
 
<div>
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
--> {{#if:{{{tftv|}}}|[[Image:TeamfortressTV icon2.png|32px|Teamfortress.tv Page|link=http://www.teamfortress.tv/user/{{{tftv}}}]]}}<!--
+
--> {{#if:{{{tftv|}}}|[[Image:TeamfortressTV icon2.png|32px|teamfortress.tv User Page|link=http://www.teamfortress.tv/user/{{{tftv}}}]]}}<!--
--> {{#if:{{{esea|}}}|[[Image:EseaLogo.png|32px|ESEA Team Page|link=https://play.esea.net/users/{{{esea}}}]]}}<!--
+
--> {{#if:{{{esea|}}}|[[Image:EseaLogo.png|32px|ESEA Player Page|link=https://play.esea.net/users/{{{esea}}}]]}}<!--
--> {{#if:{{{etf2l|}}}|[[Image:ETF2L-Icon.png|x32px|ETF2L Team Page|link=http://etf2l.org/forum/user/{{{etf2l}}}]]}}<!--
+
--> {{#if:{{{etf2l|}}}|[[Image:ETF2L-Icon.png|x32px|ETF2L Player Page|link=http://etf2l.org/forum/user/{{{etf2l}}}]]}}<!--
--> {{#if:{{{ozfortress|}}}|[[Image:Ozfortress_icon.png|32px|OzFortress Team Page|link=http://ozfortress.com/member.php?u={{{ozfortress}}}]]}}</div>
+
--> {{#if:{{{ozfcitadel|}}}|[[Image:Ozfortress_Icon.png|32px|ozfortress Citadel Player Page|link=https://warzone.ozfortress.com/users/{{{ozfcitadel}}}]]}}<!--
 +
--> {{#if:{{{ozfortress|}}}|[[Image:Ozfortress_icon.png|32px|ozfortress Forum Player Page|link=http://ozfortress.com/member.php?u={{{ozfortress}}}]]}}</div>
 
</div>
 
</div>
 
}}
 
}}
Line 199: Line 226:
 
--> {{#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}}}]]}}<!--
 
--> {{#if:{{{twitter|}}}|[[Image:InfoboxIcon Twitter.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!--
 
--> {{#if:{{{twitter|}}}|[[Image:InfoboxIcon Twitter.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!--
--> {{#if:{{{snapchat|}}}|[[Image:InfoboxIcon Snapchat.png|32px|Snapchat:{{{snapchat}}}}}]]}}<!--
+
--> {{#if:{{{snapchat|}}}|[[Image:InfoboxIcon Snapchat.png|32px|Snapchat: {{{snapchat}}}|link=https://www.snapchat.com/add/{{{snapchat}}}]]}}<!--
 
--> {{#if:{{{facebook|}}}|[[Image:InfoboxIcon Facebook.png|32px|Facebook|link=http://facebook.com/{{{facebook}}}]]}}<!--
 
--> {{#if:{{{facebook|}}}|[[Image:InfoboxIcon Facebook.png|32px|Facebook|link=http://facebook.com/{{{facebook}}}]]}}<!--
 
--> {{#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}}}]]}}<!--
Line 210: Line 237:
 
Achievements
 
Achievements
  
-->{{#if:{{{achievements|}}}|
+
-->{{#if:{{{achievements|}}}{{{1stplace|}}}{{{2ndplace|}}}{{{3rdplace|}}}{{{4thplace|}}}{{Player Achievements|{{PAGENAME}}|1|1-2|1-3|1-4|1-5|1-6}}{{Player Achievements|{{PAGENAME}}|2}}{{Player Achievements|{{PAGENAME}}|3|3-4}}{{Player Achievements|{{PAGENAME}}|4}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">Achievements</div>
 
<div class="infobox-header infobox-header-2">Achievements</div>
 
</div>
 
</div>
 
<div>
 
<div>
<div class="infobox-center">{{{achievements}}}</div>
+
<div class="infobox-center">{{#if:{{{achievements|}}}|{{{achievements}}}}}{{#if:{{{1stplace|}}}|{{Medal|1st}} {{{1stplace}}}{{Player Achievements|{{PAGENAME}}|1|1-2|1-3|1-4|1-5|1-6}}<br />|{{#if:{{Player Achievements|{{PAGENAME}}|1|1-2|1-3|1-4|1-5|1-6}}|{{Medal|1st}}{{Player Achievements|{{PAGENAME}}|1|1-2|1-3|1-4|1-5|1-6}}<br />|}} }}<!--
 +
-->{{#if:{{{2ndplace|}}}|{{Medal|2nd}} {{{2ndplace}}}{{Player Achievements|{{PAGENAME}}|2}}<br />|{{#if:{{Player Achievements|{{PAGENAME}}|2}}|{{Medal|2nd}}{{Player Achievements|{{PAGENAME}}|2}}<br />|}} }}<!--
 +
-->{{#if:{{{3rdplace|}}}|{{Medal|3rd}}/{{Medal|sf}} {{{3rdplace}}}{{Player Achievements|{{PAGENAME}}|3|3-4}}<br />|{{#if:{{Player Achievements|{{PAGENAME}}|3|3-4}}|{{Medal|3rd}}/{{Medal|sf}}{{Player Achievements|{{PAGENAME}}|3|3-4}}<br />|}} }}<!--
 +
-->{{#if:{{{4thplace|}}}|{{Medal|4th}} {{{4thplace}}}{{Player Achievements|{{PAGENAME}}|4}}<br />|{{#if:{{Player Achievements|{{PAGENAME}}|4}}|{{Medal|4th}}{{Player Achievements|{{PAGENAME}}|4}}<br />|}} }}</div>
 +
</div>|}}<!--
 +
 
 +
ETF2L Awards
 +
 
 +
-->{{#if:{{{etf2lawards|}}}|
 +
<div>
 +
<div class="infobox-header infobox-header-2">ETF2L Awards</div>
 +
</div>
 +
<div>
 +
<div class="infobox-center">{{{etf2lawards}}}</div>
 +
</div>
 +
}}<!--
 +
 
 +
ozfortress Awards
 +
 
 +
-->{{#if:{{{ozfawards|}}}|
 +
<div>
 +
<div class="infobox-header infobox-header-2">ozfortress Awards</div>
 +
</div>
 +
<div>
 +
<div class="infobox-center">{{{ozfawards}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 246: Line 297:
 
</div>
 
</div>
 
}}<!--
 
}}<!--
-->}}<!--
+
-->}}
 
 
Adbox
 
-->
 
 
</div>
 
</div>
<htmlet>infobox</htmlet>
+
</div><!--
</div>
 
<!--
 
  
 
Categories
 
Categories
Line 262: Line 308:
 
  {{#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.
 +
-->{{#switch:{{lc:{{{status|}}} }}|active=[[Category:Active Players]]|inactive=[[Category:Inactive Players]]}}<!--
 +
-->{{#if:{{{format|}}}|{{#switch:{{lc:{{{format|}}}}}
 +
  | 6
 +
  | 6s
 +
  | 6v6
 +
  | sixes = [[Category:6v6 Players]]
 +
  | hl
 +
  | highlander
 +
  | 9v9 = [[Category:Highlander Players]]
 +
  | #default = [[Category:{{{format|}}} Players]]
 +
}}|[[Category:6v6 Players]]}}<!--
 
-->{{#if:{{{role|}}}|{{#switch:{{lc: {{{role|}}} }}
 
-->{{#if:{{{role|}}}|{{#switch:{{lc: {{{role|}}} }}
 
   | scout = [[Category:Scouts]]
 
   | scout = [[Category:Scouts]]
Line 279: Line 336:
 
   | sniper = [[Category:Snipers]]
 
   | sniper = [[Category:Snipers]]
 
   | spy = [[Category:Spies]]
 
   | spy = [[Category:Spies]]
 +
  | flex = [[:Category:Flexes]]
 
   | caster = [[Category:Casters]]
 
   | caster = [[Category:Casters]]
   | cameraman = [[:Category:Cameramen|Cameraman]]
+
   | cameraman = [[Category:Cameramen|Cameraman]]
   | producer = [[:Category:Production Crew|Producer]]}}
+
  | coach = [[Category:Coaches|Coach]]
 +
   | producer = [[Category:Production Crew|Producer]]}}
 
}}
 
}}
 
<!--
 
<!--
Line 301: Line 360:
 
   |sniper = [[Category:Snipers]]
 
   |sniper = [[Category:Snipers]]
 
   |spy = [[Category:Spies]]
 
   |spy = [[Category:Spies]]
 +
  | flex = [[:CategorFalityy:Flexes]]
 
   |caster = [[Category:Casters]]
 
   |caster = [[Category:Casters]]
   | cameraman = [[:Category:Cameramen|Cameraman]]
+
   |cameraman = [[Category:Cameramen|Cameraman]]
   | producer = [[:Category:Production Crew|Producer]]}}
+
  |coach = [[Category:Coaches|Coach]]
 +
   |producer = [[Category:Production Crew|Producer]]}}
 
}}<!--
 
}}<!--
 
-->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error
 
-->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error
Line 316: Line 377:
 
SMW
 
SMW
  
{{#set:
+
-->{{#set:
 
|has id={{{id|{{PAGENAME}}}}}
 
|has id={{{id|{{PAGENAME}}}}}
 +
|has aid=a{{{id|{{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 image caption={{{caption|}}}-->
 
|has nationality={{{country|}}}
 
|has nationality={{{country|}}}
|has death day={{{death_date|}}}
 
  
 
|has clan={{{clan|}}}
 
|has clan={{{clan|}}}
Line 333: Line 394:
 
|has fanclub page={{{fanclub|}}}
 
|has fanclub page={{{fanclub|}}}
  
|has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}}}}
+
|has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}} }}
 
|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 344: Line 405:
 
|has second nationality={{{country2|}}}
 
|has second nationality={{{country2|}}}
 
|has retired={{{retired|}}}
 
|has retired={{{retired|}}}
}}--><!--
+
 
 +
|has role={{{role|}}}
 +
|has status={{{status|}}}
 +
|has format={{{format|}}}
 +
|has format2={{{format2|}}}
 +
|has continent={{#switch:{{lc:{{{country|}}}}}|abkhazia|aland|albania|alderney|andorra|austria|denmark|georgia|germany|gibraltar|greece|greenland|guernsey|jersey|macedonia|malta|moldova|monaco|montenegro|poland|portugal|sark|scotland|serbia|slovakia|slovenia|south ossetia|spain|sweden|switzerland|vatican city|belarus|belgium|bosnia and herzegovina|bulgaria|england|estonia|europe|herm|hungary|kosovo|netherlands|northern cyprus|northern ireland|norway|turkey|wales|croatia|cyrenaica|czech republic|faroe islands|finland|france|iceland|ireland|isle of man|italy|latvia|liechtenstein|lithuania|luxembourg|romania|ukraine|united kingdom|san marino|russia|israel=Europe
 +
|antigua and barbuda|dominica|dominican republic|grenada|guam|guatemala|jamaica|mexico|montserrat|panama|puerto rico|saint kitts and nevis|saint lucia|saint martin|saint vincent and the grenadines|sao tome and principe|sint maarten|british virgin islands|united states virgin islands|cape verde|canada|cayman islands|costa rica|cuba|united states|north america=North America
 +
|argentina||bolivia|brazil|chile|colombia|ecuador|guyana|paraguay|peru|suriname|urguguay|venezuela=South America
 +
|australia|new zealand=Oceania
 +
|singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=Asia}}
 +
}}<!--
  
 
Variable
 
Variable
Line 352: Line 423:
 
--><!--
 
--><!--
  
{{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day  }}}}
+
-->{{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day  }}}}<!--
{{#if:{{#var:birthday|}}|
+
-->{{#if:{{#var:birthday|}}|
 
{{#set_recurring_event: Birthday
 
{{#set_recurring_event: Birthday
 
|property=Has yearly birthday
 
|property=Has yearly birthday
Line 362: Line 433:
 
|has original birthday={{#var:birthday|}}
 
|has original birthday={{#var:birthday|}}
 
|has player={{{id|{{PAGENAME}}}}}
 
|has player={{{id|{{PAGENAME}}}}}
}} }} }}-->
+
|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 15:08, 7 May 2020

(view - edit) Documentation

[e][h]Soldiericon.png 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:
2009 - 2016
Roles:
Nicknames:
MGEMike
MikeyA
Links
teamfortress.tv User Page ETF2L Player Page
Steam Profile Twitch Stream YouTube Channel Twitter
Achievements
First Place ETF2L 6v6 Season 11 ETF2L 6v6 Season 13 ETF2L 6v6 Season 14 ETF2L 6v6 Season 15 InfoShow LAN Party 2014
Third Place/Semifinalist(s) ETF2L 6v6 Season 9 InfoShow LAN Party 2015
ETF2L Awards
Soldier of the Season Soldier of the Season Most Overrated Player of the Season Soldier of the Season Roamer of the Season Pocket of the Season Best Player of the Season Pocket of the Season Best Player of the Season Pocket of the Season Pocket of the Season Best Player of the Season Roamer of the Season Best Player of the Season Best Player of the Season Roamer of the Season Roamer of the Season
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

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}}
}}