Difference between revisions of "Template:MatchHistory"

From Rigged Wiki
Jump to navigation Jump to search
(regex)
Line 1: Line 1:
{{#ifeq:{{{3}}}|{{{4}}}
{{#ifeq:{{{3}}}|{{{4}}}
|<tr style='background:{{#ifexpr:{{{6}}}>{{{7}}}|#ccffcc|{{#ifexpr:{{{6}}}<{{{7}}}|#ffcccc|#ffffcc}}}}'><td>{{{2}}}</td><td>{{team away|{{{5}}}}}</td><td>[[{{{1}}}]]</td><td>{{{6}}}-{{{7}}}</td><td>{{{8}}}</td></tr>
|<tr style='background:{{#ifexpr:{{{6}}}>{{{7}}}|#ccffcc|{{#ifexpr:{{{6}}}<{{{7}}}|#ffcccc|#ffffcc}}}}'><td>{{{2}}}</td><td>{{team away|{{{5}}}}}</td><td>[[{{#regex:{{{1}}}|%(.+)Cup(.+)%}}]]</td><td>{{{6}}}-{{{7}}}</td><td>{{{8}}}</td></tr>
|<tr style='background:{{#ifexpr:{{{7}}}>{{{6}}}|#ccffcc|{{#ifexpr:{{{7}}}<{{{6}}}|#ffcccc|#ffffcc}}}}'><td>{{{2}}}</td><td>{{team away|{{{4}}}}}</td><td>[[{{{1}}}]]</td><td>{{{7}}}-{{{6}}}</td><td>{{{9}}}</td></tr>
|<tr style='background:{{#ifexpr:{{{7}}}>{{{6}}}|#ccffcc|{{#ifexpr:{{{7}}}<{{{6}}}|#ffcccc|#ffffcc}}}}'><td>{{{2}}}</td><td>{{team away|{{{4}}}}}</td><td>[[{{#regex:{{{1}}}|%(.+)Cup(.+)%}}]]</td><td>{{{7}}}-{{{6}}}</td><td>{{{9}}}</td></tr>
}}
}}



Revision as of 22:58, 23 May 2018

<tr style='background:Expression error: Unrecognized punctuation character "{".'>{{{2}}}[[File:{{{4}}} icon.png|25px|link=/{{{4}}}/]] [[/{{{4}}}/]][[{{#regex:{{{1}}}|%(.+)Cup(.+)%}}]]{{{7}}}-{{{6}}}{{{9}}}


{{MatchHistory
|1=Cup Page
|2=Date Time
|3=Team
|4=Home Team
|5=Away Team
|6=Home Score
|7=Away Score
|8=Home Goals
|9=Away Goals
}}




DateOpponentTournamentScoreGoals
Date TimeA icon.png /a/[[{{#regex:Cup Page|%(.+)Cup(.+)%}}]]4-1Home Goals
Date TimeA icon.png /a/[[{{#regex:Cup Page|%(.+)Cup(.+)%}}]]1-4Away Goals
Date TimeA icon.png /a/[[{{#regex:Cup Page|%(.+)Cup(.+)%}}]]4-4Home Goals