Template:Fb r

From CFBHC Wiki
Jump to: navigation, search

|

Template documentation[view] [edit] [history] [purge]

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 13pxN use it when home and away are the same team
OR
use when match ended in overtime
OR
use when match was resolved by penalty kicks
"null"

"ot"

"pk"
gf 13pxN goals for (home team) integer >=0
ga 13pxN goals against (home team) integer >=0
pf 13pxN penalties for (home team) in post-game shootout integer >=0
pa 13pxN penalties against (home team) in post-game shootout integer >=0
ma 13pxN match article a Wikipedia article title
nt 13pxN 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
Updated to games played on 14 August.
Source:[citation needed]
^ 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