Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TeamFormerPlayers: Difference between revisions

Template page
Created page with "<noinclude> Displays a list of former players for a specific team. Usage: {{TeamFormerPlayers |team=Team Name}} If "team" is not defined, it defaults to the current page name. </noinclude><includeonly> {{#cargo_query: |tables=Player_Former_Teams |fields=player_id=id, join_date=JoinDate, leave_date=LeaveDate |where=team="{{{team|{{PAGENAME}}}}}" |order by=leave_date DESC |format=template |template=FormerPlayerRow |named args=yes |intro=<table class="wikitable sortable" st..."
 
No edit summary
Line 2: Line 2:
Displays a list of former players for a specific team.
Displays a list of former players for a specific team.
Usage: {{TeamFormerPlayers |team=Team Name}}
Usage: {{TeamFormerPlayers |team=Team Name}}
If "team" is not defined, it defaults to the current page name.
</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_query:
{{#cargo_query:
|tables=Player_Former_Teams
|tables=Player_Former_Teams, Players
|fields=player_id=id, join_date=JoinDate, leave_date=LeaveDate
|join on=Player_Former_Teams.player_id=Players._pageName
|where=team="{{{team|{{PAGENAME}}}}}"
|fields=Player_Former_Teams.player_id=id, Players.id=Name, Players.role=Role, Player_Former_Teams.join_date=JoinDate, Player_Former_Teams.leave_date=LeaveDate
|order by=leave_date DESC
|where=Player_Former_Teams.team="{{{team|{{PAGENAME}}}}}"
|order by=Player_Former_Teams.leave_date DESC
|format=template
|format=template
|template=FormerPlayerRow
|template=FormerPlayerRow

Revision as of 12:39, 14 January 2026

Displays a list of former players for a specific team. Usage:

Template:FormerPlayerRow
ID Name Role Duration