Difference between revisions of "DisplayCharacterMatches"
From Tenipuri Info
m |
m (im just trying) Tag: Manual revert |
||
(15 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: | ||
<nowiki>{{DisplayCharacterMatches | |||
|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: | <tr><th>Tournament</th><th>Players</th><th>Score</th></tr><includeonly>{{#cargo_query: | ||
tables=MatchResults, Tournaments | tables=MatchResults, Tournaments | ||
|join on=MatchResults.Tournament=Tournaments.TournamentName | |join on=MatchResults.Tournament=Tournaments.TournamentName | ||
|fields=Tournament,Position,Players1,Players2,Score,TournamentName,torder | |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= | |order by=torder,MatchResults._ID | ||
}}</includeonly> | }}</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 |
---|