Difference between revisions of "DisplayCharacterMatches"
From Tenipuri Info
(Created page with "<table class="wikitable fullwmobile" style="width:60%"> <tr><th>Tournament</th><th>Players</th><th>Score</th>{{#cargo_query: tables=MatchResults |fields=Tournament,Position,Pl...") |
m (im just trying) Tag: Manual revert |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<table | <noinclude>'''Template Notes:''' This is for displaying matches on character pages, using the following text: | ||
<tr><th>Tournament</th><th>Players</th><th>Score</th>{{#cargo_query: | |||
tables=MatchResults | <nowiki>{{DisplayCharacterMatches | ||
|fields=Tournament,Position,Players1,Players2,Score | |LastName=}} | ||
</nowiki> | |||
Put the character's last name after the =. | |||
</noinclude> | |||
<table style="width:60%;" class="wikitable fullwmobile" > | |||
<tr><th>Tournament</th><th>Players</th><th>Score</th></tr><includeonly>{{#cargo_query: | |||
tables=MatchResults, Tournaments | |||
|join on=MatchResults.Tournament=Tournaments.TournamentName | |||
|fields=Tournament,Position,Players1,Players2,Score,Winner,TournamentName,torder | |||
|where=Players1 REGEXP "{{{LastName|}}}" OR Players2 REGEXP "{{{LastName|}}}" | |where=Players1 REGEXP "{{{LastName|}}}" OR Players2 REGEXP "{{{LastName|}}}" | ||
|named args=yes | |named args=yes | ||
|format=template | |format=template | ||
|template=Match Summary Row 2 | |template=Match Summary Row 2 | ||
}} | |order by=torder,MatchResults._ID | ||
}}</includeonly> | |||
</table> | </table> |
Latest revision as of 18:04, 24 September 2021
Template Notes: This is for displaying matches on character pages, using the following text:
{{DisplayCharacterMatches |LastName=}}
Put the character's last name after the =.
Tournament | Players | Score |
---|