Difference between revisions of "Template:MatchHistory"

From Rigged Wiki
Jump to navigation Jump to search
 
(61 intermediate revisions by the same user not shown)
Line 1: Line 1:
<tr style='background:#ccffcc'>
<table class='wikitable sortable'>  
<td>{{{2}}}</td>
<tr><th>Date</th><th>Opponent</th><th>Tournament</th><th>Score</th><th>Goals</th></tr>
<td>{{team away|{{{3|}}}}}</td>
{{#cargo_query:
<td>{{{1}}}</td>
tables=CupMatches
<td>{{{4}}}</td>
|fields=_pageName,MatchTime,'{{{team}}}'=Team,Home,Away,HomeS,AwayS,HomeG,AwayG
<td>{{{5}}}</td>
|where=_pageName LIKE '201% 4Chan%Cup%' AND (home = '{{{team}}}' OR away = '{{{team}}}')
</tr>
|order by=MatchTime
 
|limit=1000
|format=template
|template=MatchHistoryRow
}}
</table>
<noinclude>
<noinclude>
<table>
<pre>
{{MatchHistory|Cup|2|a|1-1|2}}
{{MatchHistory|team=mu}}
</table>
</pre>
</noinclude>
</noinclude>

Latest revision as of 10:46, 25 May 2018

{{#cargo_query: tables=CupMatches |fields=_pageName,MatchTime,'{{{team}}}'=Team,Home,Away,HomeS,AwayS,HomeG,AwayG |where=_pageName LIKE '201% 4Chan%Cup%' AND (home = '{{{team}}}' OR away = '{{{team}}}') |order by=MatchTime |limit=1000 |format=template |template=MatchHistoryRow }}

DateOpponentTournamentScoreGoals
{{MatchHistory|team=mu}}