Template:National team competitive record: Difference between revisions
Appearance
Content deleted Content added
Davykamanzi (talk | contribs) mNo edit summary |
Davykamanzi (talk | contribs) mNo edit summary |
||
Line 10: | Line 10: | ||
|{{#if:{{{gf|}}}|{{{gf}}}|}} |
|{{#if:{{{gf|}}}|{{{gf}}}|}} |
||
|{{#if:{{{ga|}}}|{{{ga}}}|}} |
|{{#if:{{{ga|}}}|{{{ga}}}|}} |
||
|{{#if:{{{gf|}}}{{{ga|}}}|{{#ifexpr:{{{gf}}}-{{{ga}}}>0|+{{#expr:{{{gf}}}-{{{ga}}}}}|-{{#expr:{{{gf}}}-{{{ga}}}}}}} |
|{{#if:{{{gf|}}}{{{ga|}}}|{{#ifexpr:{{#expr:{{{gf}}}-{{{ga}}}}}>0|+{{#expr:{{{gf}}}-{{{ga}}}}}|-{{#expr:{{{gf}}}-{{{ga}}}}}}}}} |
||
<noinclude>|}{{documentation}}</noinclude> |
<noinclude>|}{{documentation}}</noinclude> |
Revision as of 05:43, 22 August 2013
This is an entry for a competitive record table for use on association football national team articles.
Syntax
{{National team competitive record|bg= |host= |year|round|position|w= |d= |l= |gf= |ga= }}
Parameters
All parameters are optional.
Parameter | Possible values | Description |
---|---|---|
bg | colour | Changes the background color to the given value. |
host | yes | Gives the cell a red border. Use only if the tournament was hosted in the team's home nation. |
year | year | The year of the tournament. |
round | round | The round at which the team exited or finished the tournament. |
position | position | The rank at which the team was placed overall in the tournament. |
w | number | The number of matches the team won during the tournament. |
d | number | The number of matches the team drew during the tournament. |
l | number | The number of matches the team lost during the tournament. |
gf | number | The number of goals the team scored during the tournament. |
ga | number | The number of goals the team conceded during the tournament. |