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}} {{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}} {{card|diamond|4}} {{card|spade|4}} {{card|club|4}}
{{card|heart|5}} {{card|diamond|5}} {{card|spade|5}} {{card|club|5}}
{{card|heart|6}} {{card|diamond|6}} {{card|spade|6}} {{card|club|6}}
{{card|heart|7}} {{card|diamond|7}} {{card|spade|7}} {{card|club|7}}
{{card|heart|8}} {{card|diamond|8}} {{card|spade|8}} {{card|club|8}}
{{card|heart|9}} {{card|diamond|9}} {{card|spade|9}} {{card|club|9}}
{{card|heart|10}} {{card|diamond|10}} {{card|spade|10}} {{card|club|10}}
{{card|heart|J}} {{card|diamond|J}} {{card|spade|J}} {{card|club|J}}
{{card|heart|Q}} {{card|diamond|Q}} {{card|spade|Q}} {{card|club|Q}}
{{card|heart|K}} {{card|diamond|K}} {{card|spade|K}} {{card|club|K}}
Languages