Template:RosterChangeLine

From Leaguepedia | League of Legends Esports Wiki
Jump to: navigation, search

(view - edit)

Documentation

Code Explanation

Variable Values Explanation
|change=
re-signed, renewed, contract renewed, free, free agent, retired What kind of change it was; this will affect the type of arrows and the hover text
|name=
the player's name as it is on the wiki The name of the player in question. Each line of the chart involves one player.
|date1=
yyyy-mm-dd The date of the first move; if the move happened entirely on one date, then put that date here. Write "Unknown" if you're not sure at all, otherwise 2014-??-?? is acceptable.
|date2=
yyyy-mm-dd The date of the second move (see above for qualifications)
|team1=
a team's name to fill the {{team}} template The team that the player was on prior to the move (or moves) in question
|team2=
a team's name to fill the {{team}} template The team that the player is on currently (or after the move in question)
|pos1=
Top, Jungle, Mid, AD, Support, Coach, Sub The player's role on the first team (or first role on the team if it's a role swap)
|pos2=
Top, Jungle, Mid, AD, Support, Coach, Sub The player's role on the second team (or second role on the team if it's a role swap)
|url1=
a URL starting with http:// A link to an official announcement of the player leaving the first team
|url2=
a URL starting with http:// A link to an official announcement of the player joining the second team

Example

Player Date Left From Date Joined To
Impaler 2014-10-02 SHC XDlogo std.png
Junglerole icon.png
2014-10-27 Team Coastlogo std.png
Junglerole icon.png
Shiphtur 2014-10-27 Dignitaslogo std.png
Midrole icon.png
(Direct) Contract
Renewed
NoName 2014-10-22 LMQ TClogo std.png
Junglerole icon.png
Retiredlogo std.pngRetired
ackerman 2014-10-22 LMQ TClogo std.png
Toprole icon.png
Free Agentlogo std.pngFree Agent

Code to generate that:

{|class="wikitable"
! align="center" style="min-width:150px;"|'''Player'''
! Date Left
! style="min-width:60px;"|From
!
! Date Joined
!
! style="min-width:60px;"|To
{{RosterChangeLine|change=transfer|date1=2014-10-02|player=Impaler|team1=Supa Hot Crew|pos1=Jungle|url1=https://www.facebook.com/SUPAHOTCREW/posts/993939753965623
|date2=2014-10-27|team2=Coast|pos2=Jungle|url2=http://teamcoast.net/coast-roster-changes/}}
{{RosterChangeLine|change=renewed|date1=2014-10-27|player=Shiphtur|team1=Dignitas|pos1=Mid|date2=direct
|url1=http://team-dignitas.net/articles/news/League-of-Legends/6129/Shiphtur-signs-with-Team-Dignitas-as-Mid-Laner}}
{{RosterChangeLine|change=retired|date1=2014-10-22|player=NoName|team1=LMQ|pos1=Jungle
|url1=http://www.facebook.com/LMQiBUYPOWER/posts/709781802447182}}
{{RosterChangeLine|change=free|date1=2014-10-22|player=ackerman|team1=lmq|pos1=Top
|url1=http://www.facebook.com/LMQiBUYPOWER/posts/709781802447182}}
|}