Template:Listplayer/Start

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

(view - edit)

Documentation

{{Listplayer/Current/Start}} NO LONGER redirects here. PLEASE BE CAREFUL ABOUT CHOOSING WHICH ONE OF {{Listplayer/Current/Start}} and {{Listplayer/Start}} to use!!!

Active Roster Options

{{listplayer/Start|res=yes}}
R C ID Name Role
{{listplayer/Start|contract=yes}}
C ID Name Role Contract Ends
{{listplayer/Start|res=yes|contract=yes}}
R C ID Name Role Contract Ends

Former Roster

{{listplayer/Start|newteam=yes}}
C ID Name Role Next Team

Staff

{{listplayer/Start|staff=yes}}
C ID Name Position
{{listplayer/Start|staff=yes|newteam=yes}}
C ID Name Position Next Team

Additional Information on the Listplayer Templates

Overview

WHEN TO USE LISTPLAYER VS LISTPLAYER/CURRENT:

Why is this distinction important?

A lot of stuff on the wiki is automated using something called "Semantic MediaWiki" which encodes information into a database that is queryable in other places. So if we encode the current roster on one page, we can then query it elsewhere and display the information that was encoded in a new format. So {{Listplayer/Current}} encodes the information that's put into it as the team's current roster. {{Listplayer}} and {{Listplayersp}} don't. We ONLY want current players' information encoded, so it's important to use the two separate templates exactly as described above.

Usage with starting and ending templates

You MUST use {{Listplayer/Current}} with {{Listplayer/Current/Start}} and {{Listplayer/Current/End}}. IF YOU DO NOT USE THESE SISTER TEMPLATES, YOUR CODE WILL NOT WORK!!! See above for templates to use with former and organization. If you use current templates in the wrong place, everything will break!!!

Updating Pages

If a page is currently using {{Listplayer}} for everything, please do all of the following:

  • Switch all current players to {{Listplayer/Current}}
  • Replace manual table start/ends with {{Listplayer/Current/Start}} and {{Listplayer/Current/End}} only in the current roster section
  • Add official Riot residency as the |res= argument (if unknown write |res=Unknown
  • Change |contractdate= to |contract= (syntax updated for future simplicity)
  • Remove the |{{{1}}} argument (this is no longer needed)
  • Ensure that no player uses the syntax of link{{!}}name and instead use the syntax |name|link=link
Good Bad
|Amazing|link=Amazing (Maurice Stückenschneider) |Amazing (Maurice Stückenschneider){{!}}Amazing
  • Optional but encouraged: update former players and organization sections manual table starts and ends to {{Listplayer/Start}} and {{Listplayer/End}}. If you use "current" outside of "current roster" you will break stuff so be careful!

Example

{{listplayer/Current/Start|res=yes|contract=yes}}
{{listplayer/Current|Bjergsen|dk|Søren Bjerg|Mid|contract=20th Nov 2018|res=EU}}
{{listplayer/Current|WildTurtle|ca|Jason Tran|AD|contract=20th Nov 2018|res=NA }}
{{listplayer/Current|BillyBoss|us|Billy Yu|Top|sub=true|res=NA }}
{{listplayer/Current|Reginald|us|Andy Dinh|Mid|sub=true|res=NA }}
{{listplayer/Current|Patoy|us|Jordan Blackburn|Support|sub=true|res=NA }}
{{Listplayer/Current/End}}
Contract Expiration Notice: To prevent over-reporting of changes, we are keeping players with expired contracts listed here until either (a) an announcement is made from the player or the team about their departure; (b) the player joins another team; or (c) the 2021 season begins & the player is not re-added to the GCD, whichever happens first.
R C ID Name Role Contract Ends
EU
Bjergsen Søren Bjerg 2Mid 2018-11-20
NA
WildTurtle Jason Tran 3Bot 2018-11-20
NA
BillyBoss Billy Yu 4Sub/Top -
NA
Reginald Andy Dinh 5Sub/Mid -
NA
Patoy Jordan Blackburn 6Sub/Sup -

Additional Notes

The Semantic MediaWiki used in {{Listplayer/Current}} and its sister templates will only within the Main namespace (i.e. pages that don't start with Template: or User: or Category: etc.) That means you don't have to worry about causing problems from using this template within your user namespace.

See {{Listplayer/Current/Start}} for more information about usage.