Шаблон:Football box/док
Ово је документациона подстраница за Шаблон:Football box. Садржи информације о коришћењу, категоријама и другом садржају који није део оригиналне странице. |
Овај шаблон се користи на 18.910 страница, тако да ће промене на њему бити широко примећене. Да би се избеге грешке великих размера и беспотребно оптерећивање сервера, молимо да било какве промене тестирате на подстраницама шаблона /песак или /тест, или на сопственој корисничкој подстраници. Размислите и о покретању расправе о променама које намеравате да унесете на страници за разговор пре њиховог примењивања. |
Овај шаблон користи Lua модул: |
Овај шаблон користи TemplateStyles: |
Параметри се могу користити и преведени (ID, датум, време, догађај, рунда, тим1, резултат1, тим2, резултат2, псн, извештај, голови1, голови2, стадион, локација, гледалаца, пенали1, пенали резултат, пенали2, ширина, позадина).
Usage
[уреди извор]All attributes are optional.
{{Football box |id = |date = <!-- {{Start date|YYYY|MM|DD|df=y}} --> |time = |event = |round = |team1 = |score1 = |team2 = |score2 = |aet = |report = |goals1 = |goals2 = |stadium = |location = |attendance = |referee = |penalties1 = |penaltyscore = |penalties2 = |size = <!-- changes the width; use a percentage; include "%" after the percentage; default is "100%" --> |bg = <!-- changes the background color; use a hex color code; include "#" before the hex color code; default is "transparent" --> }}
Example
[уреди извор]{{Football box |id = Italy v France |date = {{Start date|2006|07|09|df=y}} |time = 20:00 [[Central European Summer Time|CEST]] |event = [[2006 FIFA World Cup]] |round = [[2006 FIFA World Cup Final|Final]] |team1 = {{fb-rt|ITA}} |score1 = 1 |team2 = {{fb|FRA}} |score2 = 1 |aet = yes |report = https://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html |goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} |goals2 = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}} |stadium = [[Olympiastadion (Berlin)|Olympiastadion]] |location = [[Berlin]] |attendance = 69,000 |referee = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]]) |penaltyscore = 5–3 |penalties1 = * [[Andrea Pirlo|Pirlo]] {{pengoal}} * [[Marco Materazzi|Materazzi]] {{pengoal}} * [[Daniele De Rossi|De Rossi]] {{pengoal}} * [[Alessandro Del Piero|Del Piero]] {{pengoal}} * [[Fabio Grosso|Grosso]] {{pengoal}} |penalties2 = * {{pengoal}} [[Sylvain Wiltord|Wiltord]] * {{penmiss}} [[David Trezeguet|Trezeguet]] * {{pengoal}} [[Éric Abidal|Abidal]] * {{pengoal}} [[Willy Sagnol|Sagnol]] }}
produces:
See also
[уреди извор]- {{гол}}
- {{Жути картон}} {{Црвени картон}} {{Црвени картон|1}} {{Црвени картон|2}}
- {{Улазак на терен-замена играча}} {{Излазак са терена-замена играча}}
- {{пен}} {{Промашај из пенала}}
- {{златни гол}} {{сребрни гол}}
Tracking category
[уреди извор]All tracking
Microdata
[уреди извор]This template outputs structured data, in microdata format, as a schema.org SportsEvent. To verify the data, you can use Google's structured data testing tool on pages that transclude this template.
TemplateData
[уреди извор]TemplateData за Football box
This template displays the summary of a football (soccer) match. The summary include date and time, stadium, competing teams, goal scorers and the minute of goal, a link to the official match report and attendance of the stadium. It also includes whether or not the match went to extra-time or penalty-shoots and displays respective results.
Параметар | Опис | Врста | Статус | |
---|---|---|---|---|
date | date | The date on which the match took place or will be taking place
| датум | обавезно |
event | event | The name of the competition of the match
| текст | обавезно |
team1 | team1 | The team that is or is treated as a home team
| текст | обавезно |
team2 | team2 | The team that is or is treated as the away team
| текст | обавезно |
time | time | The time at which match starts and the time zone is mentioned beside the timings
| број | обавезно |
round | round | This shows at which level is the match being played
| текст | обавезно |
score1 | score1 | The final score of the home team
| број | обавезно |
score2 | score2 | The final score of the away team
| број | обавезно |
score | score | The final score i.e. outcome of the match; fallback for score1 and score2
| текст | застарело |
goals1 | goals1 | Goals scored by the home team, including name of the scorer and minute of the goal
| текст | обавезно |
report | report | Links to the official report page of the match
| URL | обавезно |
goals2 | goals2 | Goals scored by the away team, including name of the scorer and the minute of goal
| текст | обавезно |
penaltyscore | penaltyscore | The final score after penalty shoot-out
| број | предложено |
penalties1 | penalties1 | Penalties scored by the home team, including name of penalty-taker and whether or not it was scored
| текст | предложено |
penalties2 | penalties2 | Penalties scored by the away team, including name of penalty-taker and whether or not it was scored.
| текст | предложено |
stadium | stadium | The stadium in which the match took place
| текст | обавезно |
location | location | The address or location of the stadium
| текст | предложено |
attendance | attendance | The number of people in the stadium of the match
| број | обавезно |
referee | referee | The official referee of the match and their country in braces
| текст | обавезно |
motm | motm | The elected man of the match and their country in braces or country flag
| текст | необавезно |
aet | aet | Included when match is decided in extra-time or penalty-shoot | текст | предложено |