Plantilla:Fb r

De Viquipèdia
Salta a la navegació Salta a la cerca

|

Icona de documentació de mòdul Documentació de la plantilla [ mostra ] [ modifica el codi ] [ mostra l'historial ] [ refresca ]

Name[modifica]

Fb r = Football - result

Goal[modifica]

Facilitate to edit scores in a Results table like Primera_divisió_espanyola_de_futbol_2011-12#Quadre de resultats.

Use together[modifica]

Use this template with the following templates:
Template:Fb r header
Template:Fb r team
Template:Fb r footer

Parameters[modifica]

Parameter Required UT DUT Description Acceptable values
r No style="background-color:" 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 No style="background-color:" goals for (home team) integer >=0
ga No style="background-color:" goals against (home team) integer >=0
pf No style="background-color:" penalties for (home team) in post-game shootout integer >=0
pa No style="background-color:" penalties against (home team) in post-game shootout integer >=0
ma No style="background-color:" match article a Wikipedia article title
nt No style="background-color:" 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[modifica]

To see examples of articles using this template, click here.

Examples[modifica]

Code:

{{fb r2 header |nt=20 |Athletic Bilbao |Atlético Madrid |Barcelona |Betis |Espanyol |Getafe |Granada |Levante |Málaga |Mallorca|Osasuna |Racing |Rayo Vallecano |Real Madrid |Real Sociedad |Sevilla |Sporting Gijón |Valencia |Villarreal |Zaragoza }}

{{fb r team |t=Athletic Bilbao}}</nowiki>
<!--       Athletic Bilbao --> {{fb r |r=null   }}
<!--       Atlético Madrid --> {{fb r |gf= |ga= }}
<!--       Barcelona       --> {{fb r |gf= |ga= }}
<!--       Betis           --> {{fb r |gf=2 |ga=3 }}
<!--       Espanyol        --> {{fb r |gf= |ga= }}
<!--       Getafe          --> {{fb r |gf= |ga= }}
<!--       Granada         --> {{fb r |gf= |ga= }}
<!--       Levante         --> {{fb r |gf= |ga= }}
<!--       Málaga          --> {{fb r |gf= |ga= }}
<!--       Mallorca        --> {{fb r |gf= |ga= }}
<!--       Osasuna         --> {{fb r |gf= |ga= }}
<!--       Racing          --> {{fb r |gf= |ga= }}
<!--       Rayo Vallecano  --> {{fb r |gf=1 |ga=1 }}
<!--       Real Madrid     --> {{fb r |gf= |ga= }}
<!--       Real Sociedad   --> {{fb r |gf= |ga= |ma=Derbi basc}}
<!--       Sevilla         --> {{fb r |gf= |ga= }}
<!--       Sporting Gijón  --> {{fb r |gf= |ga= }}
<!--       Valencia        --> {{fb r |gf= |ga= }}
<!--       Villarreal      --> {{fb r |gf=1 |ga=1 }}
<!--       Zaragoza        --> {{fb r |gf= |ga= }}

{{fb r footer |u=14 August |s= |a=yes}}

Result:

Casa \ Fora1 ATH ATM BAR BET ESP GET GRA LEV MLG MAL OSA RAC RVA RMA RSO SEV SPG VAL VIL ZAR


Athletic Bilbao 2–3 1–1 a 1–1
Taula posada al dia pels partits jugats el 14 August
Font:
1L'equip local apareix a la columna de l'esquerra.
Llegenda:
  • Victòria de l'equip local
  • Empat
  • Victòria de l'equip visitant

  • For coming matches, an a indicates there is an article about the match.