Difference between revisions of "Template:Player info"

From League of Legends Wiki
Jump to: navigation, search
Line 25: Line 25:
 
-->|ptag=Text<!--
 
-->|ptag=Text<!--
 
-->|region=Text<!--
 
-->|region=Text<!--
-->}}{{#cargo_attach:_table=StreamerID}}<!--
+
-->}}<!--
 
--></noinclude><includeonly><!--
 
--></noinclude><includeonly><!--
 
--><!--
 
--><!--
Line 54: Line 54:
 
-->|vk={{#if:{{{vk|}}}|{{{vk|}}}|}}<!--
 
-->|vk={{#if:{{{vk|}}}|{{{vk|}}}|}}<!--
 
-->|ptag={{{cleague}}}_{{{team}}}<!--
 
-->|ptag={{{cleague}}}_{{{team}}}<!--
-->}}<!--
 
-->{{#cargo_store:_table=StreamerID<!--
 
-->|CoB={{{country|}}}<!--
 
-->|IGN={{{id|}}}<!--
 
-->|PlayerPage={{PAGENAME}}<!--
 
-->|Server={{{#ifeq:{{{na|}}}|{{{na|}}}|NA}}}{{{#ifeq:{{{euw|}}}|{{{euw|}}}|EUW}}}{{{#if:{{{eune|}}}|EUNE}}}{{{#if:{{{kr|}}}|KR}}}{{{#if:{{{cn|}}}|CN}}}{{{#if:{{{tw|}}}|TW}}}{{{#if:{{{br|}}}|BR}}}{{{#if:{{{oce|}}}|OCE}}}{{{#if:{{{las|}}}|LAS}}}{{{#if:{{{lan|}}}|LAN}}}{{{#if:{{{cis|}}}|RU}}}{{{#if:{{{tr|}}}|TR}}}{{{#if:{{{ph|}}}|PH}}}{{{#if:{{{sg|}}}|SG}}}{{{#if:{{{indo|}}}|ID}}}{{{#if:{{{vn|}}}|VN}}}{{{#if:{{{th|}}}|TH}}}<!--
 
-->|ID={{{#ifeq:{{{na|}}}|{{{na|}}}|{{{na|}}}}}}{{{#ifeq:{{{euw|}}}|{{{euw|}}}|{{{euw|}}}}}}{{{#if:{{{eune|}}}|{{{eune|}}}}}}{{{#if:{{{kr|}}}|{{{kr|}}}}}}{{{#if:{{{cn|}}}|{{{cn|}}}}}}{{{#if:{{{tw|}}}|{{{tw|}}}}}}{{{#if:{{{br|}}}|{{{br|}}}}}}{{{#if:{{{oce|}}}|{{{oce|}}}}}}{{{#if:{{{las|}}}|{{{las|}}}}}}{{{#if:{{{lan|}}}|{{{lan|}}}}}}{{{#if:{{{cis|}}}|{{{cis|}}}}}}{{{#if:{{{tr|}}}|{{{tr|}}}}}}{{{#if:{{{ph|}}}|{{{ph|}}}}}}{{{#if:{{{sg|}}}|{{{sg|}}}}}}{{{#if:{{{indo|}}}|{{{indo|}}}}}}{{{#if:{{{vn|}}}|{{{vn|}}}}}}{{{#if:{{{th|}}}|{{{th|}}}}}}<!--
 
-->|Source={{{source|}}}<!--
 
-->|LastUpdate={{{lastupdate|}}}<!--
 
 
-->}}<!--
 
-->}}<!--
 
--><div class="infobox"><div class="infobox_heading">{{#if:{{{id|}}}|{{{id|}}}|{{PAGENAME}}}} {{Edit Button}}</div><!--
 
--><div class="infobox"><div class="infobox_heading">{{#if:{{{id|}}}|{{{id|}}}|{{PAGENAME}}}} {{Edit Button}}</div><!--
Line 84: Line 75:
 
-->{{#if:{{{prev1|}}}|<tr><th>Previous Role</th><td>{{{prev1}}}</td></tr>}}<!--
 
-->{{#if:{{{prev1|}}}|<tr><th>Previous Role</th><td>{{{prev1}}}</td></tr>}}<!--
 
-->{{#if:{{{cleague|}}}|<tr><th>Current League</th><td>{{LeaguesList|{{{cleague|}}}}}  {{#if:{{{cleague2|}}}|{{LeaguesList|{{{cleague2|}}}}}}}</td></tr>}}<!--
 
-->{{#if:{{{cleague|}}}|<tr><th>Current League</th><td>{{LeaguesList|{{{cleague|}}}}}  {{#if:{{{cleague2|}}}|{{LeaguesList|{{{cleague2|}}}}}}}</td></tr>}}<!--
-->{{#if:{{{euw|}}}{{{na|}}}{{{kr|}}}{{{cn|}}}{{{jp|}}}{{{eune|}}}{{{oce|}}}{{{br|}}}{{{las|}}}{{{lan|}}}{{{cis|}}}{{{tr|}}}|<tr><th>Streamer ID</th><td>{{#if:{{{na|}}}|NA: {{{na|}}}}}{{#if:{{{euw|}}}|<br>EUW: {{{euw|}}}}}{{#if:{{{eune|}}}|<br>EUNE: {{{eune|}}}}}{{#if:{{{kr|}}}|<br>KR: {{{kr|}}}}}{{#if:{{{cn|}}}|<br>CN: {{{cn|}}}}}{{#if:{{{jp|}}}|<br>JP: {{{jp|}}}}}{{#if:{{{oce|}}}|<br>OCE: {{{oce|}}}}}{{#if:{{{br|}}}|<br>BR: {{{br|}}}}}{{#if:{{{las|}}}|<br>LAS: {{{las|}}}}}{{#if:{{{lan|}}}|<br>LAN: {{{lan|}}}}}{{#if:{{{cis|}}}|<br>RU: {{{cis|}}}}}{{#if:{{{tr|}}}|<br>TR: {{{tr|}}}}}</td></tr>}}</table><!--
+
-->{{#if:{{{euw|}}}{{{na|}}}{{{kr|}}}{{{cn|}}}{{{jp|}}}{{{eune|}}}{{{oce|}}}{{{br|}}}{{{las|}}}{{{lan|}}}{{{cis|}}}{{{tr|}}}|<tr><th>Streamer ID</th><td>{{#ifeq:{{{na|}}}|Yes|NA: {{{naid|}}}}}{{#ifeq:{{{euw|}}}|Yes|<br>EUW: {{{euwid|}}}}}{{#if:{{{eune|}}}|<br>EUNE: {{{eune|}}}}}{{#if:{{{kr|}}}|<br>KR: {{{kr|}}}}}{{#if:{{{cn|}}}|<br>CN: {{{cn|}}}}}{{#if:{{{jp|}}}|<br>JP: {{{jp|}}}}}{{#if:{{{oce|}}}|<br>OCE: {{{oce|}}}}}{{#if:{{{br|}}}|<br>BR: {{{br|}}}}}{{#if:{{{las|}}}|<br>LAS: {{{las|}}}}}{{#if:{{{lan|}}}|<br>LAN: {{{lan|}}}}}{{#if:{{{cis|}}}|<br>RU: {{{cis|}}}}}{{#if:{{{tr|}}}|<br>TR: {{{tr|}}}}}{{#if:{{{tw|}}}|<br>TW: {{{tw|}}}}}{{#if:{{{ph|}}}|<br>PH: {{{ph|}}}}}{{#if:{{{sg|}}}|<br>SG: {{{sg|}}}}}{{#if:{{{indo|}}}|<br>ID: {{{indo|}}}}}{{#if:{{{vn|}}}|<br>VN: {{{vn|}}}}}{{#if:{{{th|}}}|<br>TH: {{{th|}}}}}</td></tr>}}</table><!--
  
 
-->{{#if:{{{teamawards|}}}{{{indiawards|}}}|<div class="infobox_section">Awards/Recognitions</div>}}<!--
 
-->{{#if:{{{teamawards|}}}{{{indiawards|}}}|<div class="infobox_section">Awards/Recognitions</div>}}<!--

Revision as of 21:03, December 4, 2019

This template defines the table "listofplayers". View table.

(view - edit)

Documentation

Copyable Code

Player Infobox
{{player_info
|isretired=No
|isfreeagent=No
|stdblurb=Yes
|id=
|name=
|image=Player.png
|birthday=<!--{{Birth date and age|yyyy|mm|dd|mf=yes}}-->
|country=
|region=
|team=
|role=
|prev1=
|cleague=
|teamawards=<!--{{award|league|no. of times won|splits/seasons won (winning team's tag)}}-->
|indiawards=<!--{{indiawards|league|award won|no. of times player has won this award|split/seasons won (winning team's tag)}}-->
|website=
|facebook=
|weibo=
|vk=
|youtube=
|twitch=
|twitter=
|reddit=
|qq=
|instagram=
|history={{member|team=|start_date=|stop_date=|role=}}
}}
==Biography==
==Career History==
{{Player History}}
==Trivia==
==Results==
==Media==
==References==
<references/>
<br/>
[[Category:Player]]

Template Usage

Parameter Description/Explanation Example
isretired= • Set to Yes/No depending on the player's status
isfreeagent= • Set to Yes/No depending on the player's status
stdblurb= • Set to Yes if you want to use a generic introduction for the player's page. Remove this if you prefer to add a blurb manually. However, this should not be used on staff pages (Coach, Analyst, Manager, etc.) Sample output (generic):
"Faker" (Real Name: Lee Sang-hyeok (이상혁)) is a Korean League of Legends player, currently a Mid Laner for SK Telecom T1.
id= • Official ID and format used on tournaments
image= • When adding an image, please make sure to upload/save with standard format. SKT Faker 2018 Summer.png/jpg
birthday= • Use this template: {{Birth date and age|yyyy|mm|dd|mf=yes}} {{Birth date and age|1994|09|15|mf=yes}}
country= • Should be country of birth
region= • Should reflect the player's country of birth.
team= • Player's current team.
• Should be full team's name and must match the team's name on its page.
fteam= • Used to indicate player's former team if currently a free agent.
role= • Player's current role in the team. Input can be any of the ff:
Top, Top Laner
Jungler
Mid, Mid Laner
AD, AD Carry
Support
Sub
Sub/Top, Sub/Top Laner
Sub/Jungler
Sub/Mid, Sub/Mid Laner
Sub/AD, Sub/AD Carry
Sub/Support
prev1= • Use if player has a former role.
cleague= • Use if a player is playing in any league.
• For the list of available leagues, click here.
teamawards= {{award|league|no. of times won|splits/seasons won (winning team's tag)}} LoL Champions Korea LCK x1
indiawards= {{indiawards|league|award won|no. of times player has won this award|split/seasons won (winning team's tag)}} Ogn logo.png Playoffs MVP x1
website=
facebook=
weibo=
vk=
youtube=
twitch=
twitter=
reddit=
qq=
instagram=
• For website, do not include http://
• For youtube, include c/ or channel/ or user/ before the actual channel/user name. • For the rest, simply add the player's handle/username.
history= • Add this parameter ONCE.
• Use template (can be used as many times as needed): {{member|team=Name of the Team|start_date=MM YYYY|stop_date=MM YYYY|role=player's current role or last role played for the team}}
• If start or stop date is unknown, put -
• Leave |stop_date= blank if it's the player's current team.
{{member|team=SK Telecom T1 2|start_date=Feb 2013|stop_date=Nov 2013|role=Mid}}
Section Description/Explanation Example
==Biography== * Should be limited to player's personal background or any information prior to competitive LoL.
==Career History== * Must be written in timeline format.
* Should highlight team transfers, tournament results, recognitions and bans/suspensions.


Format should be:

  • June 18th, joins SK Telecom T1
    • June 19th, leaves the team.
      • Use "June~," if date is unknown.
      • Use "Joins the team, exact date unknown" if the month is unknown too.
  • with SK Telecom T1
      • Used if participation for the team continues up to the following year.
• Click here for example.
==Trivia== • Should only include factual information about the player.
• Use a scroll box if the player has more than 5 trivia lines. Simply add {{Trivia}} at the beginning of the list and close it with {{TriviaEnd}}.
• Click here for example.
==Results== • Uses the template: {{PlayerResults|YYYY|Player Name}}
• Can be used multiple times as needed.
• {{PlayerResults|2019|Faker}}
• Click here for example.
==Media== • Includes 3 sub-sections. Interviews, Articles & Videos and Gallery.
• Tabs are used to represent years.
• Click here for example.