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
No edit summary
Replaced content with "<includeonly>{{#invoke:Player|formerPlayers|team={{{team|{{PAGENAME}}}}}}}</includeonly>"
Tag: Replaced
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{#invoke:Player|formerPlayers|team={{{team|{{PAGENAME}}}}}}}</includeonly>
Displays a list of former players for a specific team.
Usage: {{TeamFormerPlayers |team=Team Name}}
</noinclude><includeonly>
{{#cargo_query:
|tables=Player_Former_Teams, Players
|join on=Player_Former_Teams.player_id=Players._pageName
|fields=Player_Former_Teams.player_id=id, Players.real_name=Name, Players.role=Role, Player_Former_Teams.join_date=JoinDate, Player_Former_Teams.leave_date=LeaveDate
|where=Player_Former_Teams.team="{{{team|{{SUBPAGENAME}}}}}"
|order by=Player_Former_Teams.leave_date DESC
|format=template
|template=FormerPlayerRow
|named args=yes
|intro=<table class="wikitable sortable" style="width:100%;">
<tr>
  <th>ID</th>
  <th>Name</th>
  <th>Role</th>
  <th>Duration</th>
</tr>
|outro=</table>
|default=<p>No former players found for this team.</p>
}}
</includeonly>

Latest revision as of 00:34, 25 January 2026