Difference between revisions of "Template:Infobox 2on2team"

From QWiki
m
m
Line 191: Line 191:
 
|has nationality={{{country|}}}
 
|has nationality={{{country|}}}
 
|has region={{Player region|{{{country|}}}}}
 
|has region={{Player region|{{{country|}}}}}
|has team={{{team|}}}
 
|has role={{{role|}}}
 
 
|has team page={{{teampage|{{{team|}}}}}}
 
|has team page={{{teampage|{{{team|}}}}}}
 
|has clan={{{clan|}}}
 
|has clan={{{clan|}}}
 
|has sponsor={{{sponsor|}}}
 
|has sponsor={{{sponsor|}}}
 
|has achievements={{{achievements|}}}
 
|has achievements={{{achievements|}}}
|has mmr={{{mmr|}}}
 
|has mmr date={{{mmrdate|}}}
 
 
<!-- |has history={{{history|}}} -->
 
<!-- |has history={{{history|}}} -->
  
 
|has site={{{site|}}}
 
|has site={{{site|}}}
|has stream={{{stream|}}}
 
|has musical playlist={{{playlist|}}}
 
|has fanclub page={{{fanclub|}}}
 
 
|has tl stream={{#if:{{{tlstream|}}}|http://www.teamliquid.net/stream/{{{tlstream}}}}}
 
|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 twitter={{#if:{{{twitter|}}}|http://twitter.com/{{{twitter}}}}}
 
|has facebook={{#if:{{{facebook|}}}|http://facebook.com/{{{facebook}}}}}
 
|has google plus={{#if:{{{gplus|}}}|http://plus.google.com/{{{gplus}}}}}
 
|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 non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}}
 
|has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}}
Line 220: Line 203:
 
|has second nationality={{{country2|}}}
 
|has second nationality={{{country2|}}}
 
|has status={{#if:{{{status|}}}|{{{status|}}}|Unknown}}
 
|has status={{#if:{{{status|}}}|{{{status|}}}|Unknown}}
|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}}
 
 
}}<!--
 
}}<!--
  

Revision as of 06:57, 27 March 2017

Documentation (view - edit)

My team
Infobox placeholder.png
2on2 team Information
Team:
ABCD
Color:
  4    13 
Name:
My team
Created:
2016
Status:
Active
Sponsor:
Dreamhack

This template produces an Infobox on a team page.

Parameters

These are the variables in the Player template:

  • name = Team Name
  • team = (optional) Team tag / shortname
  • image = (optional) Picture
  • color1 = (optional) Top color, 1-13
  • color2 = (optional) Bottom color, 1-13
  • flag = (optional) 2 letter country code
  • created = (optional) Year, month (2010, April)
  • status = (optional) Active / Inactive
  • sponsor = (optional) Team's personal sponsor
  • earnings = (optional) Team's earnings, approximately

Example

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

{{Infobox 2on2team
|name=My team
|team=ABCD
|image=Infobox placeholder.png
|color1=4
|color2=13
|flag=tbd
|created=2016
|status=Active
|sponsor=Dreamhack
|earnings=2000 SEK
}}