Mal:Sent off: Forskjell mellom sideversjoner
jQyuiPKrpQibn |
m Tilbakestilte endring av 89.72.44.74 (diskusjon) til siste versjon av WikiSysop |
||
Linje 1: | Linje 1: | ||
{{#ifexpr: {{{1|0}}} >= 1 | |||
| [[Image:Yellow card.png|10px|Booked{{#if: {{{2|<noinclude>-</noinclude>}}} | after {{{2}}}' }}]]<span style="position:relative; left:-5px;">}}<!-- | |||
-->{{#ifexpr: {{{1|0}}} >= 2 | |||
| [[Image:Yellow card.png|10px|Booked again{{#if: {{{3|<noinclude>-</noinclude>}}} | after {{{3}}}' }}]]<span style="position:relative; left:-5px;">}}<!-- | |||
-->[[Image:Red card.png|10px|Sent off{{#if: {{{3|<noinclude>-</noinclude>}}} | |||
| after {{{3}}}' | |||
| {{#if: {{{2|<noinclude>-</noinclude>}}} | |||
| after {{{2}}}' | |||
}} | |||
}}]]<span style="font-size: 10px; vertical-align: middle;">{{#if: {{{2|<noinclude>-</noinclude>}}} | {{{2}}}' }}{{#if: {{{3|<noinclude>-</noinclude>}}} | , {{{3}}}' }}</span><!-- | |||
-->{{#ifexpr: {{{1|0}}} >= 2 | </span>}}<!-- | |||
-->{{#ifexpr: {{{1|0}}} >= 1 | </span>}}<noinclude> | |||
==Usage== | |||
<code><nowiki>{{sent off}} or {{sent off|0|min}}</nowiki> -> {{sent off}}</code> ''a straight red card'' | |||
<code><nowiki>{{sent off|1|min|min}}</nowiki> -> {{sent off|1}}</code> ''a yellow card, then a straight red card'' | |||
<code><nowiki>{{sent off|2|min|min}}</nowiki> -> {{sent off|2}}</code> ''two yellow cards, resulting in a red card'' | |||
;''min'' | |||
:optional parameter, time the red card was issued. | |||
<code><nowiki>{{sent off|0|67}}</nowiki> -> {{sent off|0|67}}</code> | |||
<code><nowiki>{{sent off|2|23|60}}</nowiki> -> {{sent off|2|23|60}}</code> | |||
</noinclude> |