Difference between revisions of "Template:Card"

From Hattrick
m
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:{{{1}}} card new.gif]]<noinclude>[[Category:Templates|Card]]</noinclude>
+
[[Image:{{#if:{{{1|}}}|{{{1}}} card new.gif{{!}}{{{1}}} card|Yellow card new.gif{{!}}Yellow  card}}|link=]]{{#if: {{{2|}}}|<span style="font-size: 10px; vertical-align: middle;"> {{{2}}}'</span>| }}<noinclude>[[Category:Icon Template]]
 +
 
 +
==Examples==
 +
* Red and Yellow w/ card only
 +
:<code><nowiki>{{Card|Red}}</nowiki> -> </code>{{Card|Red}}
 +
:<code><nowiki>{{Card|yellow}}</nowiki> -> </code>{{Card|yellow}} or <code><nowiki>{{Card}}</nowiki> -> </code>{{Card}}
 +
 
 +
* Red and Yellow w/ minute
 +
:<code><nowiki>{{Card|Red|12}}</nowiki> -> </code>{{Card|Red|12}}
 +
:<code><nowiki>{{Card|Yellow|12}}</nowiki> -> </code>{{Card|yellow|12}} or <code><nowiki>{{Card||12}}</nowiki> -> </code>{{Card||12}}
 +
</noinclude>

Latest revision as of 15:54, 31 July 2020

Yellow  card

Examples

  • Red and Yellow w/ card only
{{Card|Red}} -> Red card
{{Card|yellow}} -> yellow card or {{Card}} -> Yellow  card
  • Red and Yellow w/ minute
{{Card|Red|12}} -> Red card 12'
{{Card|Yellow|12}} -> yellow card 12' or {{Card||12}} -> Yellow  card 12'