Template:Fb r
|
Name
Fb r = Football - result
Goal
Facilitate to edit scores in a Results table like Premier_League_2007-08#Results.
Use together
Use this template with the following templates:
Template:Fb r header
Template:Fb r team
Template:Fb r footer
Parameters
Parameter | Required | UT | DUT | Description | Acceptable values |
---|---|---|---|---|---|
r
|
13px | use it when home and away are the same team |
"null" "ot" "pk" | ||
gf
|
13px | goals for (home team) | integer >=0 | ||
ga
|
13px | goals against (home team) | integer >=0 | ||
pf
|
13px | penalties for (home team) in post-game shootout | integer >=0 | ||
pa
|
13px | penalties against (home team) in post-game shootout | integer >=0 | ||
ma
|
13px | match article | a Wikipedia article title | ||
nt
|
13px | use it when there is a note for a match to be displayed in the footer | integer >=2 |
UT = use together those parameters with same color
DUT = DON'T use together those parameters with different color
Articles using it
To see examples of articles using this template, click here.
Examples
Code:
{{fb r header |nt=12 |Arsenal |Aston Villa |Birmingham |Blackburn |Bolton |Chelsea |Derby County |Everton |Fulham |Liverpool |Manchester City |Manchester United }}
{{fb r team |t=Arsenal }}
<!-- Arsenal -->{{Fb r |r=null }}
<!-- Aston Villa -->{{Fb r }}
<!-- Birmingham -->{{Fb r |gf=2 |ga=1 }}
<!-- Blackburn -->{{Fb r |gf=4 |ga=1 |r=ot }}
<!-- Bolton -->{{Fb r |gf=1 |ga=1 |r=pk |pf=4 |pa=2 |ma=West London derby }}
<!-- Chelsea -->{{Fb r |gf=4 |ga=4 }}
<!-- Derby County -->{{Fb r |gf=2 |ga=2 |r=pk |pf=3 |pa=5 }}
<!-- Everton -->{{Fb r |gf=1 |ga=3 |r=ot }}
<!-- Fulham -->{{Fb r |gf=0 |ga=2 }}
<!-- Liverpool -->{{Fb r |ma=West London derby }}
{{fb r footer |u=14 Aug 2007 |s= |a=yes}}
Result:
Home \ Away[1] | ARS | AST | BIR | BLB | BOL | CHE | DER | EVE | FUL | LIV | MNC | MNU |
Arsenal | 2–1 | 4–1 OT |
1–1 4 PK 2 |
4–4 | 2–2 3 PK 5 |
1–3 OT |
0–2 | a |
Source:[citation needed]
1 ^ The home team is listed in the left-hand column.
Colours: Blue = home team win; Yellow = draw; Red = away team win.
For coming matches, an a indicates there is an article about the match.
ca:Plantilla:Fb r
gl:Modelo:Fb r id:Templat:Fb r uk:Шаблон:Fb r
The above documentation is transcluded from Template:Fb r/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |