Template:Card
[[File:Playing card {{{1}}} {{{2}}}.svg|75px|{{{2}}} of {{{1}}}s]]
This template displays a playing card of a given suit and value. There are separate templates for displaying other cards:
- {{German suited card}}
- {{Hanafuda}}
- {{Tarot}}
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
A card back is also supported:
- {{card|back}}
By default, all cards will be in the English pattern. However, this can be changed via the pattern argument:
- English — English pattern (default)
- French — Paris pattern
- Russian — Satin Deck
- Italian — Bresciane pattern
- Spanish — Castilian pattern
- German — Saxon pattern
- Swiss — 1850 Jass Deck
Please note that not all patterns have jokers, the Spanish pattern doesn't have rank 10, the German pattern doesn't have ranks below 7, and the Swiss pattern doesn't have ranks below 6 and considers the Banner as rank 10. The German and Swiss patterns use values U=Unter, O=Ober, and D=Deuce, and uses suits: acorn and bell. The German pattern use the heart and leaf suits, and the Swiss pattern use the rose and shield suits. The Spanish and Italian patterns use value C=Cavalier and use suits: cup, coin, club, and sword.
Examples
Wikicode | Card | Wikicode | Card | Wikicode | Card | Wikicode | Card |
---|---|---|---|---|---|---|---|
English (default) | |||||||
{{card|heart|A}} | {{card|diamond|A}} | {{card|spade|A}} | {{card|club|A}} | ||||
{{card|heart|K}} | {{card|diamond|K}} | {{card|spade|K}} | {{card|club|K}} | ||||
{{card|heart|Q}} | {{card|diamond|Q}} | {{card|spade|Q}} | {{card|club|Q}} | ||||
{{card|heart|J}} | {{card|diamond|J}} | {{card|spade|J}} | {{card|club|J}} | ||||
{{card|heart|10}} | {{card|diamond|10}} | {{card|spade|10}} | {{card|club|10}} | ||||
{{card|heart|9}} | {{card|diamond|9}} | {{card|spade|9}} | {{card|club|9}} | ||||
{{card|heart|8}} | {{card|diamond|8}} | {{card|spade|8}} | {{card|club|8}} | ||||
{{card|heart|7}} | {{card|diamond|7}} | {{card|spade|7}} | {{card|club|7}} | ||||
{{card|heart|6}} | {{card|diamond|6}} | {{card|spade|6}} | {{card|club|6}} | ||||
{{card|heart|5}} | {{card|diamond|5}} | {{card|spade|5}} | {{card|club|5}} | ||||
{{card|heart|4}} | {{card|diamond|4}} | {{card|spade|4}} | {{card|club|4}} | ||||
{{card|heart|3}} | {{card|diamond|3}} | {{card|spade|3}} | {{card|club|3}} | ||||
{{card|heart|2}} | {{card|diamond|2}} | {{card|spade|2}} | {{card|club|2}} | ||||
{{card|red|Joker}} | {{card|black|Joker}} | {{card|back}} | [[File:Playing card back {{{2}}}.svg|75px|{{{2}}} of backs]] | ||||
French | |||||||
{{card|heart|A|pattern=French}} | {{card|diamond|A|pattern=French}} | {{card|spade|A|pattern=French}} | {{card|club|A|pattern=French}} | ||||
{{card|heart|K|pattern=French}} | {{card|diamond|K|pattern=French}} | {{card|spade|K|pattern=French}} | {{card|club|K|pattern=French}} | ||||
{{card|heart|Q|pattern=French}} | {{card|diamond|Q|pattern=French}} | {{card|spade|Q|pattern=French}} | {{card|club|Q|pattern=French}} | ||||
{{card|heart|J|pattern=French}} | {{card|diamond|J|pattern=French}} | {{card|spade|J|pattern=French}} | {{card|club|J|pattern=French}} | ||||
{{card|heart|10|pattern=French}} | {{card|diamond|10|pattern=French}} | {{card|spade|10|pattern=French}} | {{card|club|10|pattern=French}} | ||||
{{card|heart|9|pattern=French}} | {{card|diamond|9|pattern=French}} | {{card|spade|9|pattern=French}} | {{card|club|9|pattern=French}} | ||||
{{card|heart|8|pattern=French}} | {{card|diamond|8|pattern=French}} | {{card|spade|8|pattern=French}} | {{card|club|8|pattern=French}} | ||||
{{card|heart|7|pattern=French}} | {{card|diamond|7|pattern=French}} | {{card|spade|7|pattern=French}} | {{card|club|7|pattern=French}} | ||||
{{card|heart|6|pattern=French}} | {{card|diamond|6|pattern=French}} | {{card|spade|6|pattern=French}} | {{card|club|6|pattern=French}} | ||||
{{card|heart|5|pattern=French}} | {{card|diamond|5|pattern=French}} | {{card|spade|5|pattern=French}} | {{card|club|5|pattern=French}} | ||||
{{card|heart|4|pattern=French}} | {{card|diamond|4|pattern=French}} | {{card|spade|4|pattern=French}} | {{card|club|4|pattern=French}} | ||||
{{card|heart|3|pattern=French}} | {{card|diamond|3|pattern=French}} | {{card|spade|3|pattern=French}} | {{card|club|3|pattern=French}} | ||||
{{card|heart|2|pattern=French}} | {{card|diamond|2|pattern=French}} | {{card|spade|2|pattern=French}} | {{card|club|2|pattern=French}} | ||||
{{card|red|Joker|pattern=French}} | {{card|black|Joker|pattern=French}} | {{card|back|pattern=French}} | [[File:Playing card back {{{2}}}.svg|75px|{{{2}}} of backs]] | ||||
Russian | |||||||
{{card|heart|A|pattern=Russian}} | {{card|diamond|A|pattern=Russian}} | {{card|spade|A|pattern=Russian}} | {{card|club|A|pattern=Russian}} | ||||
{{card|heart|K|pattern=Russian}} | {{card|diamond|K|pattern=Russian}} | {{card|spade|K|pattern=Russian}} | {{card|club|K|pattern=Russian}} | ||||
{{card|heart|Q|pattern=Russian}} | {{card|diamond|Q|pattern=Russian}} | {{card|spade|Q|pattern=Russian}} | {{card|club|Q|pattern=Russian}} | ||||
{{card|heart|J|pattern=Russian}} | {{card|diamond|J|pattern=Russian}} | {{card|spade|J|pattern=Russian}} | {{card|club|J|pattern=Russian}} | ||||
{{card|heart|10|pattern=Russian}} | {{card|diamond|10|pattern=Russian}} | {{card|spade|10|pattern=Russian}} | {{card|club|10|pattern=Russian}} | ||||
{{card|heart|9|pattern=Russian}} | {{card|diamond|9|pattern=Russian}} | {{card|spade|9|pattern=Russian}} | {{card|club|9|pattern=Russian}} | ||||
{{card|heart|8|pattern=Russian}} | {{card|diamond|8|pattern=Russian}} | {{card|spade|8|pattern=Russian}} | {{card|club|8|pattern=Russian}} | ||||
{{card|heart|7|pattern=Russian}} | {{card|diamond|7|pattern=Russian}} | {{card|spade|7|pattern=Russian}} | {{card|club|7|pattern=Russian}} | ||||
{{card|heart|6|pattern=Russian}} | {{card|diamond|6|pattern=Russian}} | {{card|spade|6|pattern=Russian}} | {{card|club|6|pattern=Russian}} | ||||
{{card|heart|5|pattern=Russian}} | {{card|diamond|5|pattern=Russian}} | {{card|spade|5|pattern=Russian}} | {{card|club|5|pattern=Russian}} | ||||
{{card|heart|4|pattern=Russian}} | {{card|diamond|4|pattern=Russian}} | {{card|spade|4|pattern=Russian}} | {{card|club|4|pattern=Russian}} | ||||
{{card|heart|3|pattern=Russian}} | {{card|diamond|3|pattern=Russian}} | {{card|spade|3|pattern=Russian}} | {{card|club|3|pattern=Russian}} | ||||
{{card|heart|2|pattern=Russian}} | {{card|diamond|2|pattern=Russian}} | {{card|spade|2|pattern=Russian}} | {{card|club|2|pattern=Russian}} | ||||
{{card|red|Joker|pattern=Russian}} | {{card|black|Joker|pattern=Russian}} | {{card|back|pattern=Russian}} | [[File:Playing card back {{{2}}}.svg|75px|{{{2}}} of backs]] | ||||
Italian | |||||||
{{card|cup|A|pattern=Italian}} | Ace of cups | {{card|coin|A|pattern=Italian}} | Ace of coins | {{card|spade|A|pattern=Italian}} | Ace of swords | {{card|club|A|pattern=Italian}} | |
{{card|cup|K|pattern=Italian}} | King of cups | {{card|coin|K|pattern=Italian}} | King of coins | {{card|spade|K|pattern=Italian}} | King of swords | {{card|club|K|pattern=Italian}} | |
{{card|cup|C|pattern=Italian}} | C of cups | {{card|coin|C|pattern=Italian}} | C of coins | {{card|sword|C|pattern=Italian}} | C of swords | {{card|club|C|pattern=Italian}} | C of clubs |
{{card|cup|J|pattern=Italian}} | Jack of cups | {{card|coin|J|pattern=Italian}} | Jack of coins | {{card|sword|J|pattern=Italian}} | Jack of swords | {{card|club|J|pattern=Italian}} | |
{{card|cup|10|pattern=Italian}} | 10 of cups | {{card|coin|10|pattern=Italian}} | 10 of coins | {{card|sword|10|pattern=Italian}} | 10 of swords | {{card|club|10|pattern=Italian}} | |
{{card|cup|9|pattern=Italian}} | 9 of cups | {{card|coin|9|pattern=Italian}} | 9 of coins | {{card|sword|9|pattern=Italian}} | 9 of swords | {{card|club|9|pattern=Italian}} | |
{{card|cup|8|pattern=Italian}} | 8 of cups | {{card|coin|8|pattern=Italian}} | 8 of coins | {{card|sword|8|pattern=Italian}} | 8 of swords | {{card|club|8|pattern=Italian}} | |
{{card|cup|7|pattern=Italian}} | 7 of cups | {{card|coin|7|pattern=Italian}} | 7 of coins | {{card|sword|7|pattern=Italian}} | 7 of swords | {{card|club|7|pattern=Italian}} | |
{{card|cup|6|pattern=Italian}} | 6 of cups | {{card|coin|6|pattern=Italian}} | 6 of coins | {{card|sword|6|pattern=Italian}} | 6 of swords | {{card|club|6|pattern=Italian}} | |
{{card|cup|5|pattern=Italian}} | 5 of cups | {{card|coin|5|pattern=Italian}} | 5 of coins | {{card|sword|5|pattern=Italian}} | 5 of swords | {{card|club|5|pattern=Italian}} | |
{{card|cup|4|pattern=Italian}} | 4 of cups | {{card|coin|4|pattern=Italian}} | 4 of coins | {{card|sword|4|pattern=Italian}} | 4 of swords | {{card|club|4|pattern=Italian}} | |
{{card|cup|3|pattern=Italian}} | 3 of cups | {{card|coin|3|pattern=Italian}} | 3 of coins | {{card|sword|3|pattern=Italian}} | 3 of swords | {{card|club|3|pattern=Italian}} | |
{{card|cup|2|pattern=Italian}} | 2 of cups | {{card|coin|2|pattern=Italian}} | 2 of coins | {{card|sword|2|pattern=Italian}} | 2 of swords | {{card|club|2|pattern=Italian}} | |
{{card|back|pattern=Italian}} | [[File:Playing card back {{{2}}}.svg|75px|{{{2}}} of backs]] | ||||||
Spanish | |||||||
{{card|cup|A|pattern=Spanish}} | Ace of cups | {{card|coin|A|pattern=Spanish}} | Ace of coins | {{card|sword|A|pattern=Spanish}} | Ace of swords | {{card|club|A|pattern=Spanish}} | |
{{card|cup|K|pattern=Spanish}} | King of cups | {{card|coin|K|pattern=Spanish}} | King of coins | {{card|sword|K|pattern=Spanish}} | King of swords | {{card|club|K|pattern=Spanish}} | |
{{card|cup|C|pattern=Spanish}} | C of cups | {{card|coin|C|pattern=Spanish}} | C of coins | {{card|sword|C|pattern=Spanish}} | C of swords | {{card|club|C|pattern=Spanish}} | C of clubs |
{{card|cup|J|pattern=Spanish}} | Jack of cups | {{card|coin|J|pattern=Spanish}} | Jack of coins | {{card|sword|J|pattern=Spanish}} | Jack of swords | {{card|club|J|pattern=Spanish}} | |
{{card|cup|9|pattern=Spanish}} | 9 of cups | {{card|coin|9|pattern=Spanish}} | 9 of coins | {{card|sword|9|pattern=Spanish}} | 9 of swords | {{card|club|9|pattern=Spanish}} | |
{{card|cup|8|pattern=Spanish}} | 8 of cups | {{card|coin|8|pattern=Spanish}} | 8 of coins | {{card|sword|8|pattern=Spanish}} | 8 of swords | {{card|club|8|pattern=Spanish}} | |
{{card|cup|7|pattern=Spanish}} | 7 of cups | {{card|coin|7|pattern=Spanish}} | 7 of coins | {{card|sword|7|pattern=Spanish}} | 7 of swords | {{card|club|7|pattern=Spanish}} | |
{{card|cup|6|pattern=Spanish}} | 6 of cups | {{card|coin|6|pattern=Spanish}} | 6 of coins | {{card|sword|6|pattern=Spanish}} | 6 of swords | {{card|club|6|pattern=Spanish}} | |
{{card|cup|5|pattern=Spanish}} | 5 of cups | {{card|coin|5|pattern=Spanish}} | 5 of coins | {{card|sword|5|pattern=Spanish}} | 5 of swords | {{card|club|5|pattern=Spanish}} | |
{{card|cup|4|pattern=Spanish}} | 4 of cups | {{card|coin|4|pattern=Spanish}} | 4 of coins | {{card|sword|4|pattern=Spanish}} | 4 of swords | {{card|club|4|pattern=Spanish}} | |
{{card|cup|3|pattern=Spanish}} | 3 of cups | {{card|coin|3|pattern=Spanish}} | 3 of coins | {{card|sword|3|pattern=Spanish}} | 3 of swords | {{card|club|3|pattern=Spanish}} | |
{{card|cup|2|pattern=Spanish}} | 2 of cups | {{card|coin|2|pattern=Spanish}} | 2 of coins | {{card|sword|2|pattern=Spanish}} | 2 of swords | {{card|club|2|pattern=Spanish}} | |
{{card|back|pattern=Spanish}} | [[File:Playing card back {{{2}}}.svg|75px|{{{2}}} of backs]] | ||||||
German | |||||||
{{Card|heart|D|pattern=German}} | D of hearts | {{Card|bell|D|pattern=German}} | D of bells | {{Card|leaf|D|pattern=German}} | D of leafs | {{Card|acorn|D|pattern=German}} | D of acorns |
{{Card|heart|K|pattern=German}} | {{Card|bell|K|pattern=German}} | King of bells | {{Card|leaf|K|pattern=German}} | King of leafs | {{Card|acorn|K|pattern=German}} | King of acorns | |
{{Card|heart|O|pattern=German}} | O of hearts | {{Card|bell|O|pattern=German}} | O of bells | {{Card|leaf|O|pattern=German}} | O of leafs | {{Card|acorn|O|pattern=German}} | O of acorns |
{{Card|heart|U|pattern=German}} | U of hearts | {{Card|bell|U|pattern=German}} | U of bells | {{Card|leaf|U|pattern=German}} | U of leafs | {{Card|acorn|U|pattern=German}} | U of acorns |
{{Card|heart|10|pattern=German}} | {{Card|bell|10|pattern=German}} | 10 of bells | {{Card|leaf|10|pattern=German}} | 10 of leafs | {{Card|acorn|10|pattern=German}} | 10 of acorns | |
{{Card|heart|9|pattern=German}} | {{Card|bell|9|pattern=German}} | 9 of bells | {{Card|leaf|9|pattern=German}} | 9 of leafs | {{Card|acorn|9|pattern=German}} | 9 of acorns | |
{{Card|heart|8|pattern=German}} | {{Card|bell|8|pattern=German}} | 8 of bells | {{Card|leaf|8|pattern=German}} | 8 of leafs | {{Card|acorn|8|pattern=German}} | 8 of acorns | |
{{Card|heart|7|pattern=German}} | {{Card|bell|7|pattern=German}} | 7 of bells | {{Card|leaf|7|pattern=German}} | 7 of leafs | {{Card|acorn|7|pattern=German}} | 7 of acorns | |
{{Card|back|pattern=German}} | [[File:Playing card back {{{2}}}.svg|75px|{{{2}}} of backs]] | ||||||
Swiss | |||||||
{{Card|rose|D|pattern=Swiss}} | D of roses | {{Card|bell|D|pattern=Swiss}} | D of bells | {{Card|shield|D|pattern=Swiss}} | D of shields | {{Card|acorn|D|pattern=Swiss}} | D of acorns |
{{Card|rose|K|pattern=Swiss}} | King of roses | {{Card|bell|K|pattern=Swiss}} | King of bells | {{Card|shield|K|pattern=Swiss}} | King of shields | {{Card|acorn|K|pattern=Swiss}} | King of acorns |
{{Card|rose|O|pattern=Swiss}} | O of roses | {{Card|bell|O|pattern=Swiss}} | O of bells | {{Card|shield|O|pattern=German}} | O of shields | {{Card|acorn|O|pattern=Swiss}} | O of acorns |
{{Card|rose|U|pattern=Swiss}} | U of roses | {{Card|bell|U|pattern=Swiss}} | U of bells | {{Card|shield|U|pattern=Swiss}} | U of shields | {{Card|acorn|U|pattern=Swiss}} | U of acorns |
{{Card|rose|10|pattern=Swiss}} | 10 of roses | {{Card|bell|10|pattern=Swiss}} | 10 of bells | {{Card|shield|10|pattern=Swiss}} | 10 of shields | {{Card|acorn|10|pattern=Swiss}} | 10 of acorns |
{{Card|rose|9|pattern=Swiss}} | 9 of roses | {{Card|bell|9|pattern=Swiss}} | 9 of bells | {{Card|shield|9|pattern=Swiss}} | 9 of shields | {{Card|acorn|9|pattern=Swiss}} | 9 of acorns |
{{Card|rose|8|pattern=Swiss}} | 8 of roses | {{Card|bell|8|pattern=Swiss}} | 8 of bells | {{Card|shield|8|pattern=Swiss}} | 8 of shields | {{Card|acorn|8|pattern=Swiss}} | 8 of acorns |
{{Card|rose|7|pattern=Swiss}} | 7 of roses | {{Card|bell|7|pattern=Swiss}} | 7 of bells | {{Card|shield|7|pattern=Swiss}} | 7 of shields | {{Card|acorn|7|pattern=Swiss}} | 7 of acorns |
{{Card|rose|6|pattern=Swiss}} | 6 of roses | {{Card|bell|6|pattern=Swiss}} | 6 of bells | {{Card|shield|6|pattern=Swiss}} | 6 of shields | {{Card|acorn|6|pattern=Swiss}} | 6 of acorns |
{{Card|back|pattern=Swiss}} | [[File:Playing card back {{{2}}}.svg|75px|{{{2}}} of backs]] | ||||||
Other (tbd) |