Template:Card

From Wikipedia, the free encyclopedia

This template displays a playing card of a given suit and value.

[edit] 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

[edit] Examples

All 52 cards are listed below:

Wikicode Card Wikicode Card Wikicode Card Wikicode Card
{{card|heart|A}} A of heart {{card|diamond|A}} A of diamond {{card|spade|A}} A of spade {{card|club|A}} A of club
{{card|heart|2}} 2 of heart {{card|diamond|2}} 2 of diamond {{card|spade|2}} 2 of spade {{card|club|2}} 2 of club
{{card|heart|3}} 3 of heart {{card|diamond|3}} 3 of diamond {{card|spade|3}} 3 of spade {{card|club|3}} 3 of club
{{card|heart|4}} 4 of heart {{card|diamond|4}} 4 of diamond {{card|spade|4}} 4 of spade {{card|club|4}} 4 of club
{{card|heart|5}} 5 of heart {{card|diamond|5}} 5 of diamond {{card|spade|5}} 5 of spade {{card|club|5}} 5 of club
{{card|heart|6}} 6 of heart {{card|diamond|6}} 6 of diamond {{card|spade|6}} 6 of spade {{card|club|6}} 6 of club
{{card|heart|7}} 7 of heart {{card|diamond|7}} 7 of diamond {{card|spade|7}} 7 of spade {{card|club|7}} 7 of club
{{card|heart|8}} 8 of heart {{card|diamond|8}} 8 of diamond {{card|spade|8}} 8 of spade {{card|club|8}} 8 of club
{{card|heart|9}} 9 of heart {{card|diamond|9}} 9 of diamond {{card|spade|9}} 9 of spade {{card|club|9}} 9 of club
{{card|heart|10}} 10 of heart {{card|diamond|10}} 10 of diamond {{card|spade|10}} 10 of spade {{card|club|10}} 10 of club
{{card|heart|J}} J of heart {{card|diamond|J}} J of diamond {{card|spade|J}} J of spade {{card|club|J}} J of club
{{card|heart|Q}} Q of heart {{card|diamond|Q}} Q of diamond {{card|spade|Q}} Q of spade {{card|club|Q}} Q of club
{{card|heart|K}} K of heart {{card|diamond|K}} K of diamond {{card|spade|K}} K of spade {{card|club|K}} K of club