From Apex Legends Esports Wiki
Jump to: navigation, search

Cargo Declaration

This template defines the table "ListplayerCurrent". View table.
(view - edit)




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!
  • Concurrently, or immediately after, update the appropriate Teams Portal page - updating the team page will break the current format for the team portal page. See {{PortalTeamDisplay}} for more information on its usage.


{{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 }}
R C ID Name Role Contract Ends
Denmark Bjergsen Søren Bjerg 80Player 2018-11-20
Canada WildTurtle Jason Tran 80Player 2018-11-20
United States BillyBoss Billy Yu 80Sub/??? -
United States Reginald Andy Dinh 80Sub/??? -
United States Patoy Jordan Blackburn 80Sub/??? -

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.