Plantilla:Fb r/ús
Aparença
Aquesta és una subpàgina de documentació per a la Plantilla:Fb r Té la informació d'ús, les categories i qualsevol altre contingut que no forma part essencial del codi de la plantilla. |
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 |
"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 Club |Atlético de Madrid |Barcelona |Betis |Espanyol |Getafe |Granada |Levante |Málaga |Mallorca|Osasuna |Racing |Rayo Vallecano |Real Madrid |Reial Societat |Sevilla |Sporting Gijón |Valencia |Villarreal |Zaragoza }} {{fb r team |t=Athletic Club}}</nowiki> <!-- Athletic Club --> {{fb r |r=null }} <!-- Atlético de 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= }} <!-- Reial Societat --> {{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 agost |s= |a=yes}}
Result:
Casa \ Fora1 | ATH | Plantilla:Fb team Atlético de Madrid | BAR | BET | ESP | GET | GRA | LEV | MLG | MAL | OSA | RAC | RVA | RMA | Plantilla:Fb team Reial Societat | SEV | SPG | VAL | VIL | ZAR
|
Athletic Club | 2–3 | 1–1 | a | 1–1 |
Taula posada al dia pels partits jugats el 14 agost
Font:
1L'equip local apareix a la columna de l'esquerra.
Llegenda:
For coming matches, an a indicates there is an article about the match.
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.