Jump to content

Template:Sent off/doc

From Wikipedia, the free encyclopedia

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}}Red card
  • {{sent off|0}}Red card
  • {{sent off|1}}Yellow card Red card
  • {{sent off|2}}Yellow card Yellow-red card
  • {{sent off|0|61}}Red card 61'
  • {{sent off|1|61|90}}Yellow card 61' Red card 90'
  • {{sent off|2|61|90}}Yellow card 61' Yellow-red card 90'

Rare scenarios

[edit]

As yellow cards are not carried forward to a penalty shoot-out since 2020, 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}}Yellow card Yellow card Red card
    • {{sent off|1+1|83|123|125}}Yellow card 83' Yellow card 123' Red card 125'
  • Yellow during match, then yellow during penalty shoot-out, then second yellow during penalty shoot-out
    • {{sent off|3}}Yellow card Yellow card Yellow-red card
    • {{sent off|3|83|123|125}}Yellow card 83' Yellow card 123' Yellow-red card 125'

See also

[edit]
{{goal}} {{futsal goal}}
Yellow card {{yel}} Red card {{sent off}} Yellow card Red card {{sent off|1}} Yellow card Yellow-red card {{sent off|2}}
upward-facing green arrow {{subon}} downward-facing red arrow {{suboff}}
soccer ball with check mark {{pengoal}} soccer ball with red X {{penmiss}}
gold-colored soccer ball {{golden goal}} silver-colored soccer ball {{silver goal}}

Tracking categories

[edit]

Category:Association football templates needing maintenance (1): for templates using an apostrophe at the end of a minute value or a double apostrophe at the end of a second value (remove the apostrophe or double apostrophe to fix the error)