Template:OneLegResult-plain/doc
Appearance
This is a documentation subpage for Template:OneLegResult-plain. It may contain usage information, categories and other content that is not part of the original template page. |
This template is similar to Template:OneLegResult, but is shown in plain form and shows a date if desired.
Usage
[edit]Normal template
[edit]{{OneLegResult-plain|nodate= | {{{1}}}
| {{{2}}} | {{{3}}} | {{{4}}} | {{{5}}} | {{{6}}}
| {{{7}}} }}
- Parameters
- {{{1}}} - Date of match, e.g. "11 July 2010"
- {{{2}}} - Name of home team, e.g. "Netherlands"
- {{{3}}} - FIFA country code of country of origin of home team, e.g. "NED"
- {{{4}}} - Match score, e.g. "0–1"
- {{{5}}} - Name of away team, e.g. "Spain"
- {{{6}}} - FIFA country code of country of origin of away team, e.g. "ESP"
- {{{7}}} - Name (and location) of stadium, e.g. "Soccer City, Johannesburg"
Example
[edit]{{OneLegStart-plain}}
{{OneLegResult-plain|11 July 2010
|[[Netherlands national football team|Netherlands]]|NED|[[2010 FIFA World Cup Final|0–1]]|[[Spain men's national football team|Spain]]|ESP
|[[Soccer City]], [[Johannesburg]] }}
{{OneLegEnd}}
11 July 2010 | |||
Netherlands | 0–1 | Spain | Soccer City, Johannesburg
|
With "nodate" active
[edit]{{OneLegResult-plain|nodate=yes
| {{{1}}} | {{{2}}} | {{{3}}} | {{{4}}} | {{{5}}}
| {{{6}}} }}
- Parameters
- {{{1}}} - Name of home team, e.g. "Netherlands"
- {{{2}}} - FIFA country code of country of origin of home team, e.g. "NED"
- {{{3}}} - Match score, e.g. "0–1"
- {{{4}}} - Name of away team, e.g. "Spain"
- {{{5}}} - FIFA country code of country of origin of away team, e.g. "ESP"
- {{{6}}} - Name (and location) of stadium, e.g. "Soccer City, Johannesburg"
Example
[edit]{{OneLegStart-plain}}
{{OneLegResult-plain|nodate=yes
|[[Netherlands national football team|Netherlands]]|NED|[[2010 FIFA World Cup Final|0–1]]|[[Spain men's national football team|Spain]]|ESP
|[[Soccer City]], [[Johannesburg]] }}
{{OneLegEnd}}
Netherlands | 0–1 | Spain | Soccer City, Johannesburg
|
See also
[edit]