Template:RCPlayer

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

(view - edit)

Documentation

Cargo Declaration

This template adds rows to the table "RosterChanges", which is declared by the template RosterChanges/CargoDec. View table. See {{RosterChanges/CargoDec}} for table documentation. See {{CargoDeclare/RosterChanges}}m to update documentation or table values.

Required Args

  • |player=, this should be a fully-disambiguated player name
  • |role=

Approximate Or Fuzzy Dates

These belong as parameters directly to {{RosterChangeData/Line}}, not {{RCPlayer}} itself. You can use either ? or x, they will be stored the same way.

|display_date=|approx=Output
2019-??-??Yes2019 (approx.)
2019-??-??2019
2019-03-??YesMarch (approx.)
2019-03-??March
2019-03-14YesMarch 14 (approx.)
2019-03-14March 14

If using fuzzy dates, by convention please put the line on the earliest date in its allowed range while respecting its relative sorting to other events in the period.

e.g. an event in "January" that definitely happened after an event on January 3rd should be placed in the January 4th slot.

Sub, Trainee, and Rejoin

  • You can put |sub=Yes
  • You can put |trainee=Yes
  • You can put |rejoin=Yes

These will modify both the displayed roles (for sub & trainee) and also the sentence.

Removing lines from certain pages

  • You can put |no_frontpage=Yes
  • You can put |no_portal=Yes
  • You can put |no_teamnews=Yes
  • You can put |no_playernews=Yes

These will remove the data line from the corresponding page.

Status Flag

Param Name: |status=

Allowed values:

  • inactive
  • retired
  • opportunities

Optional Args For Special Circumstances

Args For Loans

  • |loaned_from= name of team
  • |loaned_to= name of team

Args For Temporary Subs

  • |event= event name, should be either the overview page or a redirect to it
  • |replacing= the player who should have that position (disambiguate if needed)
  • |reason= optional, the reason a temporary sub is needed
  • |phase= optional, for example "Week 4"

Args For Contract Extension

  • |contract_until=

Args For Remaining On A Team

  • |remain_for= as the display text (e.g. 2020)
  • |remain_for_link= as the target (e.g. LPL/2020 Season/Spring Season)

Args For Customized Ordering And Grouping Of Sentences

  • |order= can be used to order players within a sentence (for example if the sentence is automatically putting a secondary mid laner before the primary lade laner). Can additionally order individual sentences (for example if you want a coach joining to be printed after a player rejoining). If specifying order for one player please specify order for every player in the entire change. Can be added in either pre or post.
  • |sentence_group= groups/ungroups sentences together, for example "Player A, Player B, and Player C (Coach) join." can be turned into "Player A and Player B join. Player C (Coach) joins." if a group is assigned to either one of these groups. This parameter accepts any value and will group players who share a string together. It is not necessary to specify a group for every player if specifying for one. Can be added in either pre or post.

Team Priority

If a player is on multiple teams, maybe you want to be able to pick which team is shown first. This can be done via |team_priority=. This parameter must go in a |post=. Once it's assigned one time for a team, it will persist for all future times this player plays on or has a roster change associated to this team (so you don't have to re-assign if they extend contract for example). Allowed values for |team_priority= are any integer, by convention 1 should be the lowest value given. The lower the value, the earlier in the list of current teams this team will show. If no value is provided, this parameter will default to 1.

Note that because of this parameter's inclusion inside of {{RCPlayer}} instead of the outer context, the order of teams in players' profiles are completely independent of each other.

For {{Retirement}} and other templates that may have a player joining a team but do NOT use {{RCPlayer}}, you may specify |team_priority= directly as a parent arg. This will NOT be recognized by any template that does use {{RCPlayer}}, as the default value of 1 via {{RCPlayer}} will overwrite the outer parameter. This is by design to enforce independence of team order across members of a team.

Full Value List

You can edit {{RosterChangeData/Sentences}}m to update descriptions or instructions; feel free to modify these fields.

KeyDescriptionHow To SetSentence
confirm_from_academyPlayers joining from the org's academy rostermove_type$PLAYERS_POSS$ joining from academy roster is confirmed.
confirm_from_mainmove_type$PLAYERS_POSS$ joining from main roster is confirmed.
confirm_joinWas already added to GCD and now team announcesSet |move_type=confirm, and it will auto detect$PLAYERS_POSS$ $JOINING$ is confirmed.
confirm_leaveWas already removed from GCD and now team announcesSet |move_type=confirm in pre, and it will auto detect$PLAYERS_POSS$ $DEPARTURE$ $ARE$ confirmed.
confirm_role_swapSet |move_type=confirm in pre$PLAYERS_POSS_WITH_SWAP$ $POSITION$ changing is confirmed.
draft_pick_expireIf the draft window naturally expires without a signingSet |move_type=expire and |status=draft_pick in pre$PLAYERS_POSS$ draft $WINDOW$ $EXPIRE$.
draft_pick_leaveIf the draft window is terminated early|status=draft_pick in pre, and no |post or move_type$PLAYERS_POSS$ draft $WINDOW$ $ARE$ ended early without any signing.
draft_pick_startTeam chooses to draft a player or players|status=draft_pick in post, set |event= to specify event$PLAYERS$ $ARE$ drafted$AT_EVENT$$DRAFT_WINDOW_UNTIL$.
draft_pick_to_academyplayer "leaves" the main roster and joins Academy (use normal join for the academy join line)Set move_type=to_academy$PLAYERS$ $ARE$ signed during draft window and will play for the Academy team.
draft_pick_to_subAutomatic$PLAYERS$ $ARE$ signed during draft window as $SUB$.
draft_pick_to_traineeAutomatic$PLAYERS$ $ARE$ signed during draft window as $TRAINEE$.
end_official_subFor support staff members who are officially on the roster but obviously won't play and are now removedIn pre, set |status=official_sub$PLAYERS$ $ARE$ no longer listed on the official roster as $SUB$.
expirePlayer's contract expiresSet |move_type=expire and no |post=$PLAYERS_POSS$ $CONTRACTS$ $EXPIRE$.
expire_notleavePlayer's contract expires, but there is no announcement about departureSet |move_type=expire and keep the player in post. Using this preload implies the player did not leave the team following the expiration, and instead renewed/became coach/etc. It can retroactively be changed to expire_notleave_yet$PLAYERS_POSS$ $CONTRACTS$ $EXPIRE$ but departure is not confirmed.
extendedPlayer's contract is extended until a date or yearSet |contract_until= in |post= as a date or year (no text processing will happen on its value). If no date is provided, can set |move_type=$PLAYERS_POSS$ $CONTRACTS$ $ARE$ extended$CONTRACT_EXTEND_UNTIL$.
from_academyPlayers joining from the org's academy rostermove_type$PLAYERS$ $JOIN$ from academy roster.
from_mainmove_type$PLAYERS$ $JOIN$ from main roster.
from_sisterPlayers joining from another roster (but not main->acad or acad->main)Set |move_type=from_sister$PLAYERS$ $JOIN$ from sister team $SISTER_TEAM$.
gcd_draft_pick_expireIf the draft window naturally expires without a signingSet |move_type=expire and |status=draft_pick in pre$PLAYERS_POSS$ draft $WINDOW$ $EXPIRE$.
gcd_draft_pick_leaveIf the draft window is terminated early|status=draft_pick in pre, and no |post or move_type$PLAYERS_POSS$ draft $WINDOW$ $ARE$ ended early without any signing.
gcd_draft_pick_startTeam chooses to draft a player or players|status=draft_pick in post, set |event= to specify event$PLAYERS$ $ARE$ drafted$AT_EVENT$$DRAFT_WINDOW_UNTIL$.
gcd_draft_pick_to_academyplayer "leaves" the main roster and joins Academy (use normal join for the academy join line)Set move_type=to_academy$PLAYERS$ $ARE$ signed during draft window and will play for the Academy team.
gcd_draft_pick_to_subAutomatic$PLAYERS$ $ARE$ signed during draft window as $SUB$.
gcd_end_official_subFor support staff members who are officially on the roster but obviously won't play and are now removedIn pre, set |status=official_sub$PLAYERS$ $ARE$ no longer listed on the official roster as $SUB$ in the GCD.
gcd_expirePlayer's contract expiresSet |move_type=expire and no |post=$PLAYERS_POSS$ $CONTRACTS$ $EXPIRE$.
gcd_expire_notleavePlayer's contract expires, but there is no announcement about departureSet |move_type=expire and keep the player in post. Using this preload implies the player did not leave the team following the expiration, and instead renewed/became coach/etc. It can retroactively be changed to expire_notleave_yet$PLAYERS_POSS$ $CONTRACTS$ $EXPIRE$ but departure is not confirmed.
gcd_expire_notleave_yetPlayer's contract expires, but there is no announcement about departureSet |move_type=expire_will_leave and keep the player in post. Use this to make this be used as an actual leave date$PLAYERS_POSS$ $CONTRACTS$ $EXPIRE$ but departure is not confirmed.
gcd_extendedPlayer's contract is extended until a date or yearSet |contract_until= in |post= as a date or year (no text processing will happen on its value). If no date is provided, can set |move_type=$PLAYERS_POSS$ $CONTRACTS$ $ARE$ extended$CONTRACT_EXTEND_UNTIL$.
gcd_from_academyPlayers joining from the org's academy rostermove_type$PLAYERS$ $ARE$ $ADDED$ to the main roster in the GCD.
gcd_from_mainPlayers joining from the org's main rostermove_type$PLAYERS$ $ARE$ $ADDED$ to the academy roster in the GCD.
gcd_joinAdded to GCD but no team announceSet |source=GCD and provide |gcd_before and |gcd_after links$PLAYERS$ $ARE$ $ADDED$ to the GCD$AS$.
gcd_join_as_temp_subA player joins as a temp sub|status=temp_sub$PLAYERS$ $ARE$ $ADDED$ to the GCD as temporary $SUB$ for $PHASE$$EVENT$$REPLACING$$BECAUSE_COMMA$$REASON$.
gcd_join_main_or_acadAdded to the GCD but there's no team announcement and we don't even know if they're joining main or academyset |status=main_or_acad in post and use a GCD source. Make team be the main team; this can be changed later if needed. NEVER USE THIS PERMANENTLY!!! ONCE WE KNOW THE DESTINATION, GO BACK AND EDIT THE LINE!!!!!!!$PLAYERS$ $ARE$ $ADDED$ to the GCD$AS$ to join either main or academy roster.
gcd_leaveRemoved from GCD but no team announceSet |source=GCD and provide |gcd_before and |gcd_after links$PLAYERS$ $ARE$ removed from the GCD.
gcd_leave_as_temp_subStandard players leaving when before is temp subAutomatic$PLAYERS$ (temporary $SUB$) $ARE$ removed from the GCD.
gcd_loaned_fromSet |loaned_from= as the team they're officially on and |status=on_loan$PLAYERS$ $ARE$ loaned from $LOANED_FROM$.
gcd_loaned_toPlayers loaned outSet |loaned_to= as the team they're temporarily going to and |status=loaned_out$PLAYERS$ $ARE$ loaned to $LOANED_TO$.
gcd_loan_endPlayers no longer loaned to this teamSet |loaned_from= as the team they're coming back to |status=on_loan$PLAYERS_POSS$ loan from $LOANED_FROM$ $END$.
gcd_loan_returnPlayers no longer loaned outSet |loaned_to= as the team they were loaned to and |status=loaned_out$PLAYERS$ $RETURN$ from loan to $LOANED_TO$.
gcd_remove_notleaveRemoved from GCD but no team announceSet |source=GCD and provide |gcd_before and |gcd_after links, and also set |move_type=remove_notleave$PLAYERS$ $ARE$ removed from the GCD but $ARE$ still part of the organization.
gcd_role_swapAutomatic when GCD is the source$PLAYERS_POSS_WITH_SWAP$ $POSITION$ $ARE$ changed in the GCD.
gcd_role_swap_from_ingameAutomatic when GCD is the source$PLAYERS_POSS_WITH_SWAP$ $POSITION$ $ARE$ changed in the GCD.
gcd_role_swap_to_ingameAutomatic when GCD is the source$PLAYERS_POSS_WITH_SWAP$ $POSITION$ $ARE$ changed in the GCD.
gcd_to_academyPlayers leaving to join the org's academy rostermove_type$PLAYERS$ $LEAVE$ for academy roster.
gcd_to_academy_also_stayPlayers joining the org's academy roster but NOT leaving mainSet move_type=to_academy and keep player in post$PLAYERS$ $MOVE$ to academy roster.
gcd_to_activeSet |status=inactive in |pre=$PLAYERS$ $BECOME$ active.
gcd_to_inactiveSet |status=inactive$PLAYERS$ $BECOME$ inactive.
gcd_to_mainmove_type$PLAYERS$ $LEAVE$ for main roster.
gcd_to_main_also_stayPlayer joins the org's main roster but don't leave academySet move_type=to_main and keep player in post$PLAYERS$ $MOVE$ to main roster.
gcd_to_official_subFor support staff members who are officially on the roster but obviously won't playSet |status=official_sub$PLAYERS$ $ARE$ $ADDED$ to the official roster as $SUB$ in the GCD.
gcd_to_startingSet |sub=yes in |pre=$PLAYERS$ $MOVE$ to starting roster.
gcd_to_subMoved to sub in the GCD but no team announceSet |source=GCD and provide |gcd_before and |gcd_after links$PLAYERS$ $ARE$ moved to $SUB$ in the GCD.
joinStandard players joiningAutomatic$PLAYERS$ $JOIN$.
join_after_trialA player completes their trial and their spot is made permanentSet |status=trial in pre$PLAYERS$ $JOIN$ after successful trial.
join_as_temp_subA player joins as a temp sub|status=temp_sub$PLAYERS$ $JOIN$ as temporary $SUB$ for $PHASE$$EVENT$$REPLACING$$BECAUSE_COMMA$$REASON$.
leaveStandard players leavingAutomatic$PLAYERS$ $LEAVE$.
leave_after_trialPlayer leaves after being on trialSet |status=Trial in pre$PLAYERS$ $LEAVE$ after unsuccessful trial.
leave_as_temp_subStandard players leaving when before is temp subAutomatic$PLAYERS$ (temporary $SUB$) $LEAVE$.
loaned_fromSet |loaned_from= as the team they're officially on and |status=on_loan$PLAYERS$ $ARE$ loaned from $LOANED_FROM$.
loaned_toPlayers loaned outSet |loaned_to= as the team they're temporarily going to and |status=loaned_out$PLAYERS$ $ARE$ loaned to $LOANED_TO$.
loan_endPlayers no longer loaned to this teamSet |loaned_from= as the team they're coming back to |status=on_loan$PLAYERS_POSS$ loan from $LOANED_FROM$ $END$.
loan_end_and_joinPlayer was loaned here; this loan now ends and they leaveSet |loaned_from as the team they were loaned from, |status=on_loan in pre, and no status in post$PLAYERS$ $JOIN$ permanently after $LOAN_NOUN$ from $LOANED_FROM$ $END$.
loan_returnPlayers no longer loaned outSet |loaned_to= as the team they were loaned to and |status=loaned_out$PLAYERS$ $RETURN$ from loan to $LOANED_TO$.
loan_return_and_leavePlayer was loaned out; this loan now ends and they leaveSet |loaned_to= and |status=loaned_out in pre, with no post$PLAYERS$ $LEAVE$ after $LOAN_NOUN$ to $LOANED_TO$ $END$.
opportunities|status=opportunities$PLAYERS$ $ARE$ allowed to look for opportunities with other teams.
remainAutomatic when |pre= and |post= are identical, can also set |remain_for= and |remain_for_link=$PLAYERS$ will remain with the team$REMAIN_FOR$.
re_signPlayers re-sign with team (as opposed to contract extended)move_type$PLAYERS$ $RE_SIGN$.
role_swapAutomatic$PLAYERS_WITH_SWAP$ $CHANGE$ $POSITION$.
role_swap_from_ingameAutomatic$PLAYERS_WITH_SWAP$ $CHANGE$ $POSITION$.
role_swap_to_ingameAutomatic$PLAYERS_WITH_SWAP$ $CHANGE$ $POSITION$.
set_to_leavepost |status=set_to_leave, can add |assistance=yes optionally$PLAYERS$ $ARE$ set to leave$LEAVE_DATE$$ASSISTANCE$.
set_to_leave_already_joinedpost |status=set_to_leave with |already_joined set as the name of the new team$PLAYERS$ $ARE$ set to leave$LEAVE_DATE$, having already joined $ALREADY_JOINED$.
sub_to_traineeAutomatic$PLAYERS$ $MOVE$ from $SUB$ to $TRAINEE$.
to_academyPlayers leaving to join the org's academy rostermove_type$PLAYERS$ $LEAVE$ for academy roster.
to_academy_also_stayPlayers joining the org's academy roster but NOT leaving mainSet move_type=to_academy and keep player in post$PLAYERS$ $MOVE$ to academy roster.
to_activeSet |status=inactive in |pre=$PLAYERS$ $BECOME$ active.
to_inactiveSet |status=inactive$PLAYERS$ $BECOME$ inactive.
to_mainmove_type$PLAYERS$ $LEAVE$ for main roster.
to_main_also_stayPlayer joins the org's main roster but don't leave academySet move_type=to_main and keep player in post$PLAYERS$ $MOVE$ to main roster.
to_official_subFor support staff members who are officially on the roster but obviously won't playSet |status=official_sub$PLAYERS$ $ARE$ $ADDED$ to the official roster as $SUB$.
to_sisterPlayers leaving to join another roster (but not main->acad or acad->main)Set |move_type=to_sister$PLAYERS$ $LEAVE$ for sister team $SISTER_TEAM$.
to_startingSet |sub=yes in |pre=$PLAYERS$ $MOVE$ to starting roster.
to_subSet |sub=yes$PLAYERS$ $MOVE$ to $SUB$.
to_traineeSet |trainee=yes$PLAYERS$ $MOVE$ to $TRAINEE$.
unknownError fallback, don't use$PLAYERS$ UNKNOWN ACTION

Free Text

Instead of using a preload for the move type, you can specify custom text using.

  • |custom= will replace the standard sentence.
  • |custom_prepend= will add something before the standard sentence.
  • |custom_append= will add something behind the standard sentence.

Figo's Notes

  • How to add source?
  • How to add GCD source?
    • Click "Insert Source as GCD", use "Archive:Global_Contract_Database/xx/yyyy-mm-dd" as before and after, xx = Region (NA/EU/KR/...)
  • What to do if there are people joining with different job titles like "Commercial Director" or "Partnership Executive"?
    • Just add this job title to "role=", the code will do the rest
  • What to do if there's a change with multiple sources?
    • There are two scenarios: If both sources give the SAME information, you do one line and simply add both sources. If one source tells player x joins and the second source tells player y leaves, you do two lines with each source assigned to whatever it's telling you
  • What to do if a player renames?
    • Add the "Insert player name change" prefill above the roster change (if there is one) and then use the NEW name in the roster change