Difference between revisions of "Template:Sent off"

From Rigged Wiki
Jump to navigation Jump to search
(Created page with "<span style="white-space:nowrap;"><!-- -->{{#ifexpr: {{{1|0}}} >= 1 | 10px|alt=Yellow card|Booked|link=<span style="position:relative; left:-5px; margi...")
 
m (Protected "Template:Sent off" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
-->{{#ifexpr: {{{1|0}}} >= 1 |</span>}}<!--
-->{{#ifexpr: {{{1|0}}} >= 1 |</span>}}<!--
--></span><noinclude>
--></span><noinclude>
== Usage ==
<code><nowiki>{{sent off|cards|min1|min2}}</nowiki></code>
;''cards''
:optional parameter, number of yellow cards issued prior to red (0, 1 or 2).
;''min1'', ''min2''
:optional parameter, time the cards were issued.
*<code><nowiki>{{sent off}}</nowiki> -> </code>{{sent off}}
*<code><nowiki>{{sent off|0}}</nowiki> -> </code>{{sent off}}
*<code><nowiki>{{sent off|1}}</nowiki> -> </code>{{sent off|1}}
*<code><nowiki>{{sent off|2}}</nowiki> -> </code>{{sent off|2}}
*<code><nowiki>{{sent off|0|27}}</nowiki> -> </code>{{sent off|0|27}}
*<code><nowiki>{{sent off|1|67|88}}</nowiki> -> </code>{{sent off|1|67|88}}
*<code><nowiki>{{sent off|2|23|60}}</nowiki> -> </code>{{sent off|2|23|60}}
== See also ==
:{{goal}} {{tl|goal}}
:{{yel}} {{tl|yel}} {{sent off}} {{tl|sent off}}
:{{subon}} {{tl|subon}} {{suboff}} {{tl|suboff}}
:{{pengoal}} {{tl|pengoal}} {{penmiss}} {{tl|penmiss}}
[[Category:Templates]]
[[Category:Match details templates]]
</noinclude>
</noinclude>

Latest revision as of 14:29, 30 November 2013

Red card {{{2}}}', {{{3}}}'

Usage

{{sent off|cards|min1|min2}}

cards
optional parameter, number of yellow cards issued prior to red (0, 1 or 2).
min1, min2
optional parameter, time the cards were issued.
  • {{sent off}} -> Red card
  • {{sent off|0}} -> Red card
  • {{sent off|1}} -> Yellow cardRed card
  • {{sent off|2}} -> Yellow cardYellow cardRed card
  • {{sent off|0|27}} -> Red card 27'
  • {{sent off|1|67|88}} -> Yellow cardRed card 67', 88'
  • {{sent off|2|23|60}} -> Yellow cardYellow cardRed card 23', 60'

See also

Goal {{goal}}
Booked {{yel}} Red card {{sent off}}
Substituted in {{subon}} Substituted off {{suboff}}
Scored {{pengoal}} Missed {{penmiss}}