Difference between revisions of "Template:MatchHistory"

From Rigged Wiki
Jump to navigation Jump to search
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<tr style='background:{{#ifexpr:{{{4}}}>{{{5}}}|#ccffcc|{{#ifexpr:{{{4}}}<{{{5}}}|#ffcccc|#ffffcc}}}}'>
<table class='wikitable sortable'>  
<td>{{{2}}}</td>
<td>{{team away|{{{3|}}}}}</td>
<td>[[{{#rreplace:{{1}}|\/(.+Cup)(.+)\/|$1}}]]</td>
<td>{{{4}}}-{{{5}}}</td>
<td>{{{6}}}</td>
</tr>
 
<noinclude>
<table>
<tr><th>Date</th><th>Opponent</th><th>Tournament</th><th>Score</th><th>Goals</th></tr>
<tr><th>Date</th><th>Opponent</th><th>Tournament</th><th>Score</th><th>Goals</th></tr>
{{MatchHistory|2017 4chan Autumn Babby Cup Group B|1900-01-01|mu|1|1|Michael Gira {{goal|7}}}}
{{#cargo_query:
{{MatchHistory|2017 4chan Autumn Babby Cup Group B|1900-01-01|mu|1|2|Michael Gira {{goal|7}}}}
tables=CupMatches
{{MatchHistory|2017 4chan Autumn Babby Cup Group B|1900-01-01|mu|2|1|Michael Gira {{goal|7|8}}}}
|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
}}
</table>
</table>
<noinclude>
<pre>
{{MatchHistory|team=mu}}
</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}}