Difference between revisions of "Template:Documentation"

From QWiki
(Created page with "{{Infobox player |id=GeT_RiGhT |image= |name=Christopher Alesund |romanized_name= |team= Ninjas in Pyjamas |team_history={{TH|2007 - 2007 |Begrip}} {{TH|2007 - 2007 |Ninjas in...")
(Replaced content with "<div style="clear: both;border: 1px solid #aaa;background-color: #ecfcf4;padding: 5px;"> <h2><span class="mw-headline">Documentation</span> <span class="mw-editsection">([...")
 
Line 1: Line 1:
{{Infobox player
+
<div style="clear: both;border: 1px solid #aaa;background-color: #ecfcf4;padding: 5px;">
|id=GeT_RiGhT
+
<h2><span class="mw-headline">Documentation</span> <span class="mw-editsection">([[{{{1|{{FULLPAGENAME}}/doc}}}|view]] - [{{fullurl:{{{1|{{FULLPAGENAME}}/doc}}}|action=edit}} edit])</span></h2>__NOTOC__ __NOEDITSECTION__
|image=
+
{{ {{{1|{{FULLPAGENAME}}/doc}}} }}
|name=Christopher Alesund
+
</div>
|romanized_name=
+
<noinclude>[[Category:Template namespace templates]]</noinclude>
|team= Ninjas in Pyjamas
 
|team_history={{TH|2007 - 2007 |Begrip}}
 
{{TH|2007 - 2007 |Ninjas in Pyjamas}}
 
{{TH|2001 - 2001 |Lemondogs}}
 
{{TH|2007-09-28 - 2007-10-28 |SK Gaming}}
 
{{TH|2007-10-28 - 2008-02-23 |Meet Your Makers}}
 
{{TH|2008-02-23 - 2008-03-23 |SK Gaming}}
 
{{TH|2008-03-27 - 2008-06-19 |Blank}}
 
{{TH|2009-01-19 - 2010-12-07 |Fnatic}}
 
{{TH|2010-12-07 - 2010-XX-XX |SK Gaming}}
 
{{TH|2012 - ''Present'' |Ninjas in Pyjamas}}
 
|ids=
 
|country=Sweden
 
|status=Active
 
|role=rifler
 
|years_active= 2003-''Present''
 
|years_active_manager=
 
|birth_date={{Birth date and age|1990|5|29}}
 
|fanclub=
 
|twitch=OfficialGeTRiGhT
 
|twitter=GeT_RiGhTcs
 
|facebook=OfficialGetright
 
|achievements=
 
|prize_money= {{PM|2008|$10,000}} {{PM|2009|$168,400}} {{PM|2010|$89,200}} {{PM|2011|$77,200}} {{PM|2012|$94,500}} {{PM|2012|$115,900}} {{PM|Total|$555,200}}
 
}}
 
 
 
This template produces an Infobox on a player page.
 
 
 
== Example ==
 
 
 
The code:
 
<pre>
 
{{Infobox player
 
|id=GeT_RiGhT
 
|image=
 
|name=Christopher Alesund
 
|romanized_name=
 
|team= Ninjas in Pyjamas
 
|team_history={{TH|2007 - 2007 |Begrip}}
 
{{TH|2007 - 2007 |Ninjas in Pyjamas}}
 
{{TH|2001 - 2001 |Lemondogs}}
 
{{TH|2007-09-28 - 2007-10-28 |SK Gaming}}
 
{{TH|2007-10-28 - 2008-02-23 |Meet Your Makers}}
 
{{TH|2008-02-23 - 2008-03-23 |SK Gaming}}
 
{{TH|2008-03-27 - 2008-06-19 |Blank}}
 
{{TH|2009-01-19 - 2010-12-07 |Fnatic}}
 
{{TH|2010-12-07 - 2010-XX-XX |SK Gaming}}
 
{{TH|2012 - ''Present'' |Ninjas in Pyjamas}}
 
|ids=
 
|country=Sweden
 
|status=Active
 
|role=rifler
 
|years_active= 2003-''Present''
 
|years_active_manager=
 
|birth_date={{Birth date and age|1990|5|29}}
 
|fanclub=
 
|twitch=OfficialGeTRiGhT
 
|twitter=GeT_RiGhTcs
 
|facebook=OfficialGetright
 
|achievements=
 
|prize_money= {{PM|2008|$10,000}} {{PM|2009|$168,400}} {{PM|2010|$89,200}} {{PM|2011|$77,200}} {{PM|2012|$94,500}} {{PM|2012|$115,900}} {{PM|Total|$555,200}}
 
}}
 
</pre>
 
 
 
==Parameters==
 
These are the variables in the Player template:
 
* '''id''' = Main ID
 
* '''image''' = Picture
 
* '''caption''' = caption
 
* '''name''' = Real Name (If needed, use romanized_name for romanization)
 
* '''romanized_name''' = Romanized Real Name
 
* '''birth_date''' = <nowiki>{{Birth date and age|YYYY|MM|DD}}</nowiki>
 
* '''country''' = Country
 
* '''country2''' = Secound country (If needed)
 
* '''team''' = Current Team
 
* '''teamlink''' = Link to current team's page if different from name (eg MVP_(team))
 
* '''clan''' = Current Clan
 
* '''role''' = The player's role in the team (rifler, entryfragger, support, lurker, awp)
 
* '''role2''' = Additional role (if needed)
 
* '''sponsor''' = Player's personal sponsor
 
* '''ids''' = Alternative IDs
 
* '''site''' = Player's Homepage
 
* '''tlstream''' = Stream Name on TeamLiquid.net
 
* '''twitch''' = Username on Twitch
 
* '''azubu''' = Username on Azubu.tv
 
* '''stream''' = Link to stream (if not on Twitch or Own3D.tv)
 
* '''youtube''' = YouTube Channel Name
 
* '''twitter''' = Username on Twitter
 
* '''facebook''' = Username on Facebook
 
* '''weibo''' = User ID on Sina Weibo. 3144657364 links to [http://weibo.com/u/3144657364 Jim]
 
* '''tencent''' = Username on Tencent Weibo. igaming links to [http://t.qq.com/igaming igaming]
 
* '''gplus''' = Username on Google Plus
 
* '''tlprofile''' = Username on TeamLiquid.net
 
* '''reddit''' = Username on Reddit.com
 
* '''fanclub''' = TeamLiquid.net Fanclub
 
* '''playlist''' = A playlist of the music the person plays on stream
 
* '''achievements''' = List of [[Premier Tournaments|premier tournament]] wins or other achievements (MVP, All-Kill, Awards). Use [[Template:LeagueIconSmall]] and link to the specific event. For example: "<nowiki>{{LeagueIconSmall/gsl|link=2012 Global StarCraft II League Season 5}}</nowiki>" to produce: {{LeagueIconSmall/gsl|link=2012 Global StarCraft II League Season 5}}
 
* '''prize_money''' = Prize money using the template [[Template:PM]]. For example: <nowiki>{{PM|YYYY|amount}}</nowiki>
 
* '''team_history''' = Team History. Use [[Template:TH]]. For example: "<nowiki>{{TH|2010-09-07 - '''Present'''|Evil Geniuses}}</nowiki>
 
* '''retired''' = The date the player has retired. Leave blank if still active
 
 
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
 
 
==Copy / Paste==
 
<pre style="display: inline-block;">
 
{{Infobox player
 
|id=
 
|image=
 
|caption=
 
|name=
 
|romanized_name=
 
|birth_date= {{Birth date and age|YYYY|MM|DD}}
 
|country=
 
|team=
 
|clan=
 
|role=
 
|sponsor=
 
|ids=
 
|site=
 
|tlstream=
 
|twitch=
 
|azubu=
 
|stream=
 
|youtube=
 
|twitter=
 
|facebook=
 
|weibo=
 
|tencent=
 
|gplus=
 
|tlprofile=
 
|reddit=
 
|fanclub=
 
|playlist=
 
|achievements=
 
|team_history=
 
|retired=
 
|prize_money= {{PM|YYYY|amount}}
 
}}
 
</pre>
 

Latest revision as of 09:41, 7 November 2016

Documentation (view - edit)

This template displays documentation on templates.

Usage

Normal template contents<noinclude>{{documentation}}</noinclude>

Documentation goes on "Template:(template name)/doc"


Adapted from Liquipedia