Difference between revisions of "Template:Fb rs"
imported>Ramit.mukherjee.1994 |
imported>Crh23 (Add template data) |
||
| Line 35: | Line 35: | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "Football result summary", | ||
| + | "params": { | ||
| + | "hw": { | ||
| + | "label": "Home wins", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Number of wins at home" | ||
| + | }, | ||
| + | "hd": { | ||
| + | "label": "Home draws", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Number of draws at home" | ||
| + | }, | ||
| + | "hl": { | ||
| + | "label": "Home losses", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Number of losses at home" | ||
| + | }, | ||
| + | "hgf": { | ||
| + | "label": "Home goals for", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Goals scored for at home" | ||
| + | }, | ||
| + | "hga": { | ||
| + | "label": "Home goals against", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Goals scored against at home" | ||
| + | }, | ||
| + | "aw": { | ||
| + | "label": "Away wins", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Number of wins playing away" | ||
| + | }, | ||
| + | "ad": { | ||
| + | "label": "Away draws", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Number of draws playing away" | ||
| + | }, | ||
| + | "al": { | ||
| + | "label": "Away losses", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Number of losses playing away" | ||
| + | }, | ||
| + | "agf": { | ||
| + | "label": "Away goals for", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Goals scored for playing away" | ||
| + | }, | ||
| + | "aga": { | ||
| + | "label": "Away goals against", | ||
| + | "type": "number", | ||
| + | "required": true, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Goals scored against playing away" | ||
| + | }, | ||
| + | "dp": { | ||
| + | "label": "Deducted points", | ||
| + | "type": "number", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Points deducted, leave blank if no deductions" | ||
| + | }, | ||
| + | "pn": { | ||
| + | "label": "Point note", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "A note to put by points", | ||
| + | "example": "See below" | ||
| + | } | ||
| + | }, | ||
| + | "format": "inline" | ||
| + | } | ||
| + | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 15:51, 3 May 2016
| Overall | Home | Away | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pld | W | D | L | GF | GA | GD | Pts | W | D | L | GF | GA | GD | W | D | L | GF | GA | GD |
| {{{hw}}}+{{{aw}}}+{{{hd}}}+{{{ad}}}+{{{hl}}}+{{{al}}} | {{{hw}}}+{{{aw}}} | {{{hd}}}+{{{ad}}} | {{{hl}}}+{{{al}}} | {{{hgf}}}+{{{agf}}} | {{{hga}}}+{{{aga}}} | {{{hw}}} | {{{hd}}} | {{{hl}}} | {{{hgf}}} | {{{hga}}} | {{{aw}}} | {{{ad}}} | {{{al}}} | {{{agf}}} | {{{aga}}} | ||||
Template:Fb rs (Football - result summary)
Parameters:
hw : home win
hd : home draw
hl : home loss
hgf : home goals for
hga : home goals against
aw : away win
ad : away draw
al : away loss
agf : away goals for
aga : away goals against
dp : deducted points
pn : point note
fr:Modèle:Fb rs
ka:თარგი:ფეხბურთის მოკლე შედეგი
| The above documentation is transcluded from Template:Fb rs/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Football result summary
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Home wins | hw | Number of wins at home | Number | required |
| Home draws | hd | Number of draws at home | Number | required |
| Home losses | hl | Number of losses at home | Number | required |
| Home goals for | hgf | Goals scored for at home | Number | required |
| Home goals against | hga | Goals scored against at home | Number | required |
| Away wins | aw | Number of wins playing away | Number | required |
| Away draws | ad | Number of draws playing away | Number | required |
| Away losses | al | Number of losses playing away | Number | required |
| Away goals for | agf | Goals scored for playing away | Number | required |
| Away goals against | aga | Goals scored against playing away | Number | required |
| Deducted points | dp | Points deducted, leave blank if no deductions | Number | suggested |
| Point note | pn | A note to put by points
| String | optional |