Template:PortalCurrentRosters/doc

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

Usage

Use {{PortalCurrentRostersEvents}} at the top of the page to define the events.

Add for example |{{{1}}}= to add a class to a cell. In particular you may want to specify |{{{1}}}=. The list is an ordered list of rows within that role, so if the first player role swapped and the second player stayed on the team you would do |{{{1}}}=. The code will take care of staying, leaving, and joining for you automatically with both colors and colspans, as long as there was no role swap; in the case of a role swap you need to tell it what happened like this.

Set |isover=Yes to fill out the remainder of the table with players who were initially on the game. This will exactly clone the _old and _old_links paramaters; however, it won't clone _old_links if it's not also cloning _old too.

Copyable Code

{{PortalCurrentRosters
|team1=
|t_old=
|t_new=
|j_old=
|j_new=
|m_old=
|m_new=
|a_old=
|a_new=
|s_old=
|s_new=
}}

Example

{{PortalCurrentRostersEvents|Spring|Summer}}
{{PortalCurrentRosters
|team1=TL
|t_old=Lourlo
|t_new=
|j_old=Reignover
|j_new=
|m_old=Piglet
|m_new=Goldenglue
|m_old_classes=roleswap
|a_old=Doublelift,
|a_new=Piglet,Apollo
|a_new_links=,Apollo (Apollo Price)
|a_new_classes=roleswap
|s_old=Matt,Adrian
|s_new=Matt,
}}
   
Team Liquidlogo std.pngTeam Liquid
SpringSummer
TopLourlo
JungleReignover
MidPigletGoldenglue
BotDoubleliftPiglet
Apollo
SupportMatt
Adrian

isover param

If we add |isover=Yes to the above then:

   
Team Liquidlogo std.pngTeam Liquid
SpringSummer
TopLourlo
JungleReignover
MidPigletGoldenglue
BotDoubleliftPiglet
Apollo
SupportMatt
Adrian

coach param

If we add |coach=Yes to the above then:

   
Team Liquidlogo std.pngTeam Liquid
SpringSummer
TopLourlo
JungleReignover
MidPigletGoldenglue
BotDoubleliftPiglet
Apollo
SupportMatt
CoachCain

Values for classes

  • join set player as join
  • leave set player as leave
  • roleswap set player as roleswap/promoted
  • contract set player as contract expired
   
Team Liquidlogo std.pngTeam Liquid
SpringSummer
Topjoin
Jungleleave
Midroleswap
Botcontract
Support