Template:Card
Revision as of 18:22, 18 July 2016 by imported>Hpesoj00 (Correct alt text for jokers.)
[[File:Playing card {{{1}}} {{{2}}}.svg|75px|{{{2}}} of {{{1}}}s]]
This template displays a playing card of a given suit and value.
Instructions
This template accepts two arguments: suit and value:
- {{card|suit|value}}
Where suit is one of the following values:
- heart
- diamond
- spade
- club
And the value is one of the following values:
Jokers are also supported:
- {{card|color|Joker}}
Where color is one of the following values:
- red
- black
Examples
All 58 cards are listed below:
| Wikicode | Card | Wikicode | Card | Wikicode | Card | Wikicode | Card |
|---|---|---|---|---|---|---|---|
| {{card|heart|A}} | {{card|diamond|A}} | {{card|spade|A}} | {{card|club|A}} | ||||
| {{card|heart|2}} | {{card|diamond|2}} | {{card|spade|2}} | {{card|club|2}} | ||||
| {{card|heart|3}} | {{card|diamond|3}} | {{card|spade|3}} | {{card|club|3}} | ||||
| {{card|heart|4}} | 4 of hearts | {{card|diamond|4}} | {{card|spade|4}} | 4 of spades | {{card|club|4}} | ||
| {{card|heart|5}} | {{card|diamond|5}} | 5 of diamonds | {{card|spade|5}} | {{card|club|5}} | |||
| {{card|heart|6}} | {{card|diamond|6}} | {{card|spade|6}} | {{card|club|6}} | 6 of clubs | |||
| {{card|heart|7}} | 7 of hearts | {{card|diamond|7}} | 7 of diamonds | {{card|spade|7}} | {{card|club|7}} | 7 of clubs | |
| {{card|heart|8}} | 8 of hearts | {{card|diamond|8}} | {{card|spade|8}} | {{card|club|8}} | 8 of clubs | ||
| {{card|heart|9}} | {{card|diamond|9}} | 9 of diamonds | {{card|spade|9}} | 9 of spades | {{card|club|9}} | ||
| {{card|heart|10}} | {{card|diamond|10}} | 10 of diamonds | {{card|spade|10}} | {{card|club|10}} | 10 of clubs | ||
| {{card|heart|11}} | 11 of hearts | {{card|diamond|11}} | {{card|spade|11}} | 11 of spades | {{card|club|11}} | ||
| {{card|heart|J}} | {{card|diamond|J}} | {{card|spade|J}} | {{card|club|J}} | Jack of clubs | |||
| {{card|heart|Q}} | Queen of hearts | {{card|diamond|Q}} | Queen of diamonds | {{card|spade|Q}} | Queen of spades | {{card|club|Q}} | |
| {{card|heart|K}} | {{card|diamond|K}} | {{card|spade|K}} | {{card|club|K}} | King of clubs | |||
| {{card|red|Joker}} | {{card|black|Joker}} |
| The above documentation is transcluded from Template:Card/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |