Pergi ke kandungan

Templat:Card

Daripada Wikipedia, ensiklopedia bebas.

Templat ini memaparkan kepingan daun terup mengikut bunga dan nilai yang diberikan.

Templat ini menerima dua pembolehubah, iaitu bunga dan nilai

{{card|bunga|nilai}}
Bunga
  • heart
  • diamond
  • spade
  • club
Nilai

Kesemua 52 daun terup adalah seperti berikut:

Wikicode Daun Wikicode Daun Wikicode Daun Wikicode Daun
{{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|11}} {{card|diamond|11}} {{card|spade|11}} {{card|club|11}}
{{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}}