Template:Sent off/sandbox
Appearance
This is the template sandbox page for Template:Sent off (diff). See also the companion subpage for test cases. |
This template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]{{sent off|cards|min1|min2}}
- cards
- number of yellow cards issued prior to the red card (0, 1 or 2; default is 0).
- min1, min2
- minutes in which the cards were issued (in chronological order; optional)
{{sent off}}
→{{sent off|0}}
→{{sent off|1}}
→{{sent off|2}}
→{{sent off|0|61}}
→ 61'{{sent off|1|61|90}}
→ 61' 90'{{sent off|2|61|90}}
→ 61' 90'
Rare scenarios
[edit]As yellow cards are not carried forward to a penalty shoot-out, the following are also supported:
- Yellow during match, then yellow during penalty shoot-out, then straight red during penalty shoot-out
{{sent off|1+1}}
→{{sent off|1+1|83|123|125}}
→ 83' 123' 125'
- Yellow during match, then yellow during penalty shoot-out, then second yellow during penalty shoot-out
{{sent off|3}}
→{{sent off|3|83|123|125}}
→ 83' 123' 125'
See also
[edit]- {{goal}} {{futsal goal}}
- {{yel}} {{sent off}} {{sent off|1}} {{sent off|2}}
- {{subon}} {{suboff}}
- {{pengoal}} {{penmiss}}
- {{golden goal}} {{silver goal}}
Tracking categories
[edit]Category:Association football templates needing maintenance (0): for templates using an apostrophe at the end of a minute value (remove the apostrophe to fix the error)