Template:Fb r/doc
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
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
|
File:Red x.svg | use it when home and away are the same team |
"null"Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory"ot"Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory"pk" | ||
gf
|
File:Red x.svg | goals for (home team) | integer >=0 | ||
ga
|
File:Red x.svg | goals against (home team) | integer >=0 | ||
pf
|
File:Red x.svg | penalties for (home team) in post-game shootout | integer >=0 | ||
pa
|
File:Red x.svg | penalties against (home team) in post-game shootout | integer >=0 | ||
ma
|
File:Red x.svg | match article | a Wikipedia article title | ||
nt
|
File:Red x.svg | 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 | Template:Fb team Arsenal | Template:Fb team Aston Villa | BIR | BLB | BOL | CHE | DER | EVE | FUL | LIV | MCI | MUN |
Template:Fb team Arsenal | 2–1 | 4–1 OT |
1–1 4 PK 2 |
4–4 | 2–2 3 PK 5 |
1–3 OT |
0–2 | a |
Updated to games played on 14 August.
Source: Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
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.