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..."
 
Replaced content with "<includeonly>{{#invoke:Player|formerPlayers|team={{{team|{{PAGENAME}}}}}}}</includeonly>"
Tag: Replaced
 
(4 intermediate revisions 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}}
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" 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