Difference between revisions of "Template:Infobox Player/RoleImages"

From League of Legends Wiki
Jump to: navigation, search
 
(22 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|top lane
 
|top lane
 
|toplaner
 
|toplaner
|top laner
+
|top laner={{#vardefine:Role|Top}}{{#vardefine:Sub|false}}
|Top Laner={{#vardefine:Role|Top}}{{#vardefine:Sub|false}}
 
 
|st
 
|st
 
|sub top
 
|sub top
Line 13: Line 12:
 
|sub/top laner
 
|sub/top laner
 
|top substitute  
 
|top substitute  
|substitute top laner={{#vardefine:Role|Top}}{{#vardefine:Sub|true}}<!--
+
|substitute top laner
 +
|top (sub)
 +
|top laner (sub)={{#vardefine:Role|Top}}{{#vardefine:Sub|true}}<!--
  
 
-->|t,m
 
-->|t,m
Line 56: Line 57:
 
|sub/jungler
 
|sub/jungler
 
|jungle substitute  
 
|jungle substitute  
|substitute jungler={{#vardefine:Role|Jungle}}{{#vardefine:Sub|true}}
+
|substitute jungler
 +
|jungler sub
 +
|jungler (sub)={{#vardefine:Role|Jungle}}{{#vardefine:Sub|true}}
 
|m
 
|m
 
|mid
 
|mid
Line 81: Line 84:
 
|sub/mid laner
 
|sub/mid laner
 
|mid substitute  
 
|mid substitute  
|substitute mid laner={{#vardefine:Role|Mid}}{{#vardefine:Sub|true}}
+
|substitute mid laner
 +
|mid (sub)
 +
|mid laner (sub)
 +
|mid sub
 +
|mid laner sub={{#vardefine:Role|Mid}}{{#vardefine:Sub|true}}
 
|a
 
|a
 
|ad
 
|ad
Line 116: Line 123:
 
|adc substitute  
 
|adc substitute  
 
|substitute ad
 
|substitute ad
|substitute adc={{#vardefine:Role|ADC}}{{#vardefine:Sub|true}}
+
|substitute adc
 +
|adc (sub)
 +
|adc sub={{#vardefine:Role|ADC}}{{#vardefine:Sub|true}}
 
|s
 
|s
 
|sup
 
|sup
Line 138: Line 147:
 
|sub/support
 
|sub/support
 
|support substitute  
 
|support substitute  
|substitute support={{#vardefine:Role|Support}}{{#vardefine:Sub|true}}
+
|substitute support
 +
|support sub
 +
|support (sub)={{#vardefine:Role|Support}}{{#vardefine:Sub|true}}
 
|trainee={{#vardefine:Role|Trainee}}{{#vardefine:Sub|false}}
 
|trainee={{#vardefine:Role|Trainee}}{{#vardefine:Sub|false}}
 
|inactive={{#vardefine:Role|Inactive}}{{#vardefine:Sub|false}}
 
|inactive={{#vardefine:Role|Inactive}}{{#vardefine:Sub|false}}
Line 150: Line 161:
 
|ac
 
|ac
 
|assistant coach={{#vardefine:Role|Assistant Coach}}{{#vardefine:Sub|false}}
 
|assistant coach={{#vardefine:Role|Assistant Coach}}{{#vardefine:Sub|false}}
 +
|bmc
 +
|behavioral & mental coach
 +
|behavioral and mental coach={{#vardefine:Role|Behavioral and Mental Coach}}{{#vardefine:Sub|false}}
 +
|mental coach={{#vardefine:Role|Mental Coach}}{{#vardefine:Sub|false}}
 
|sc
 
|sc
|strategic coach
+
|coach (strategic)
|coach (strategic)={{#vardefine:Role|Strategic Coach}}{{#vardefine:Sub|false}}
+
|strategic coach={{#vardefine:Role|Strategic Coach}}{{#vardefine:Sub|false}}
 +
|strategic coach & analyst
 +
|strategic coach and analyst={{#vardefine:Role|Strategic Coach & Analyst}}{{#vardefine:Sub|false}}
 
|pc
 
|pc
 
|performance coach
 
|performance coach
 
|coach (performance)={{#vardefine:Role|Performance Coach}}{{#vardefine:Sub|false}}
 
|coach (performance)={{#vardefine:Role|Performance Coach}}{{#vardefine:Sub|false}}
 +
|coach and manager={{#vardefine:Role|Coach and Manager}}{{#vardefine:Sub|false}}
 +
|coach & scout
 +
|coach and scout={{#vardefine:Role|Coach and Scout}}{{#vardefine:Sub|false}}
 +
|analyst and coach
 +
|coach and analyst={{#vardefine:Role|Coach and Analyst}}{{#vardefine:Sub|false}}
 +
|player development coach={{#vardefine:Role|Player Development Coach}}{{#vardefine:Sub|false}}
 +
|positional coach={{#vardefine:Role|Positional Coach}}{{#vardefine:Sub|false}}
 
|hanalyst
 
|hanalyst
 
|head analyst={{#vardefine:Role|Head Analyst}}{{#vardefine:Sub|false}}
 
|head analyst={{#vardefine:Role|Head Analyst}}{{#vardefine:Sub|false}}
 
|remote analyst
 
|remote analyst
 
|analyst (remote)={{#vardefine:Role|Analyst (Remote)}}{{#vardefine:Sub|false}}
 
|analyst (remote)={{#vardefine:Role|Analyst (Remote)}}{{#vardefine:Sub|false}}
 +
|assistant analyst={{#vardefine:Role|Assistant Analyst}}{{#vardefine:Sub|false}}
 +
|data analyst={{#vardefine:Role|Data Analyst}}{{#vardefine:Sub|false}}
 +
|lead analyst={{#vardefine:Role|Lead Analyst}}{{#vardefine:Sub|false}}
 
|analyst={{#vardefine:Role|Analyst}}{{#vardefine:Sub|false}}
 
|analyst={{#vardefine:Role|Analyst}}{{#vardefine:Sub|false}}
 +
|leader={{#vardefine:Role|Leader}}{{#vardefine:Sub|false}}
 +
|tactical leader={{#vardefine:Role|Tactical Leader}}{{#vardefine:Sub|false}}
 +
|team leader={{#vardefine:Role|Team Leader}}{{#vardefine:Sub|false}}
 
|management
 
|management
 
|manager={{#vardefine:Role|Manager}}{{#vardefine:Sub|false}}
 
|manager={{#vardefine:Role|Manager}}{{#vardefine:Sub|false}}
Line 180: Line 210:
 
|=
 
|=
 
|#default={{#vardefine:Role|Unknown Role}}{{#vardefine:Sub|false}}}}
 
|#default={{#vardefine:Role|Unknown Role}}{{#vardefine:Sub|false}}}}
<div title="{{#ifeq:{{#var:Sub}}|true|&nbsp;Substitute}} {{#var:Role}}" style="display: inline-block;vertical-align: middle;">{{#ifeq:{{#var:Sub}}|true|<div style="opacity:0.4;display:inline-block;">}}{{#switch:{{#var:Role}}
+
<div title="{{#var:Role}}{{#ifeq:{{#var:Sub}}|true|&nbsp;(Sub)}}" style="display: inline-block;vertical-align: middle;">{{#ifeq:{{#var:Sub}}|true|<div style="opacity:0.4;display:inline-block;">}}{{#switch:{{#var:Role}}
 
|Top=[[File:TopLanePick.png|link=|16px]]<!--
 
|Top=[[File:TopLanePick.png|link=|16px]]<!--
  
Line 230: Line 260:
 
|Stest=[[File:SonabotRoleIcon.png|link=|16px]]
 
|Stest=[[File:SonabotRoleIcon.png|link=|16px]]
 
|Coach=[[File:Coach Icon.png|link=|12px]]
 
|Coach=[[File:Coach Icon.png|link=|12px]]
 +
|Coach and Analyst=[[File:Coach Icon.png|link=|12px]]
 +
|Coach and Manager=[[File:Coach Icon.png|link=|12px]]
 
|Head Coach=[[File:Coach Icon.png|link=|12px]]
 
|Head Coach=[[File:Coach Icon.png|link=|12px]]
 
|Assistant Coach=[[File:Coach Icon.png|link=|12px]]
 
|Assistant Coach=[[File:Coach Icon.png|link=|12px]]
 +
|Behavioral and Mental Coach=[[File:Coach Icon.png|link=|12px]]
 
|Coach (Strategic)=[[File:Coach Icon.png|link=|12px]]
 
|Coach (Strategic)=[[File:Coach Icon.png|link=|12px]]
 +
|Mental Coach=[[File:Coach Icon.png|link=|12px]]
 
|Strategic Coach=[[File:Coach Icon.png|link=|12px]]
 
|Strategic Coach=[[File:Coach Icon.png|link=|12px]]
 +
|Strategic Coach & Analyst=[[File:Coach Icon.png|link=|12px]]
 
|Performance Coach=[[File:Coach Icon.png|link=|12px]]
 
|Performance Coach=[[File:Coach Icon.png|link=|12px]]
 +
|Player Development Coach=[[File:Coach Icon.png|link=|12px]]
 +
|Positional Coach=[[File:Coach Icon.png|link=|12px]]
 
|Coach (Performance)=[[File:Coach Icon.png|link=|12px]]
 
|Coach (Performance)=[[File:Coach Icon.png|link=|12px]]
 +
|Coach and Scout=[[File:Coach Icon.png|link=|12px]]
 
|Head Analyst=[[File:Analyst Icon.png|link=|12px]]
 
|Head Analyst=[[File:Analyst Icon.png|link=|12px]]
 
|Analyst (Remote)=[[File:Analyst Icon.png|link=|12px]]
 
|Analyst (Remote)=[[File:Analyst Icon.png|link=|12px]]
 
|Analyst=[[File:Analyst Icon.png|link=|12px]]
 
|Analyst=[[File:Analyst Icon.png|link=|12px]]
 +
|Assistant Analyst=[[File:Analyst Icon.png|link=|12px]]
 +
|Data Analyst=[[File:Analyst Icon.png|link=|12px]]
 +
|Lead Analyst=[[File:Analyst Icon.png|link=|12px]]
 +
|Leader=[[File:Leader Icon.png|link=|12px]]
 +
|Tactical Leader=[[File:Leader Icon.png|link=|12px]]
 +
|Team Leader=[[File:Leader Icon.png|link=|12px]]
 
|Manager=[[File:Manager Icon.png|link=|14px]]
 
|Manager=[[File:Manager Icon.png|link=|14px]]
 
|Team Manager=[[File:Manager Icon.png|link=|14px]]
 
|Team Manager=[[File:Manager Icon.png|link=|14px]]

Latest revision as of 12:46, January 26, 2020

(view - edit)

Documentation

Usage

  • The Infobox Player/RoleImages is called to display an icon for a player role instead of plain text, and is used as part of the following templates:
    • Used for parameter |role= in Template:Member to display the player's role on the Team History section of a player's infobox.
    • Used for parameter |role= in Template:RCurrent to display the player's role on the Player Roster section of a team's page.

Possible Input Options

Top Laner t, top, toplane, top lane, toplaner, top laner
Sub Top Laner st, sub top, top sub, sub/top, sub/top laner, top substitute, substitute top laner
Jungler j, jg, jun, jungle, jungler
Substitute Jungler sj, sub jungle, sub jun, jun sub, jungle sub, sub/jun, sub/jungle, sub/jungler, jungle substitute, substitute jungler
Mid Laner m, mid, midlane, mid lane, midlaner, mid laner
Substitute Mid Laner sm, sub mid, mid sub, sub/mid, sub/mid laner, mid substitute, substitute mid laner
ADC / AD Carry a, ad, adc, adcarry, ad carry, marksman
Substitute ADC sa, sub ad, sub adc, adc sub, ad sub, sub/adc, sub/ad, ad substitute, adc substitute, substitute ad, substitute adc
Support s, sup, supp, support, supporter
Substitute Support ss, sub sup, sub support, sup sub, support sub, sub/sup, sub/support, support substitute, substitute support
Inactive inactive
Head Coach hcoach, head coach
Coach c, coach
Assistant Coach ac, acoach, assistant coach
Strategic Coach sc, strategic coach
Analyst analyst
Manager management, manager
Team Director team director
Head of Esports head of esports
Owner owner
Caster caster
Streamer streamer
  • Notes:
    • On loan and reserved players use |role=inactive
    • All team staff roles display a similar icon.