Difference between revisions of "Template:NationalMatchResultTableRow"

From Hattrick
(external links to Hattrick don't work)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style=border-collapse:collapse border=0 cellspacing=0 cellpadding=1
 
!width="100" |
 
!width="150" |
 
!width="100" |
 
!width="150" |
 
!width="120" |
 
 
|- align=center bgcolor=#efefef
 
|- align=center bgcolor=#efefef
| ({{{matchid}}}) ||align=right| {{Flag/{{{hometeam}}}n}} || {{{result}}} ||align=left| {{Flag/{{{awayteam}}}n}} || {{{datetime}}}
+
| {{matchid|{{{1}}}}} ||align=right| {{#if:{{{2|}}}|{{Flag|{{{2|}}}}}|{{{2}}}}} || {{{3}}} ||align=left| {{#if:{{{4|}}}|{{Flag|{{{4|}}}}}|{{{4}}}}} || {{{5}}}<noinclude>
|}
+
 
 +
Usage:
 +
<nowiki>{|
 +
{{</nowiki>NationalMatchResultTableRow|''MatchID''|''Home Team''|''Result''|''Away Team''|''Match Date''<nowiki>}}
 +
|}</nowiki>
 +
[[Category:Match templates]]
 +
</noinclude>

Latest revision as of 08:19, 25 May 2010

|- align=center bgcolor=#efefef | ({{{1}}}) ||align=right| {{{2}}} || {{{3}}} ||align=left| {{{4}}} || {{{5}}}

Usage:
{|
{{NationalMatchResultTableRow|MatchID|Home Team|Result|Away Team|Match Date}}
|}