Templat:Kartu/doc

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Loncat ke navigasi Loncat ke pencarian

Templat ini menampilkan kartu permainan yang memiliki suit dan nilai.

Instruksi[sunting sumber]

Templat ini menerima dua argumen: suit dan nilai.

{{Kartu|suit|nilai}}

Dimana suit adalah salah satu dari nilai berikut:

  • Kartu hati: heart
  • Kartu wajik: diamond
  • Kartu sekop: spade
  • Kartu keriting: club

Sedangkan nilai adalah salah satu dari nilai berikut:

  • A — Ace
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • J — Jack
  • Q — Queen
  • K — King

Contoh[sunting sumber]

Semua dari 52 kartu tercantum di bawah ini:

Wikicode Kartu Wikicode Kartu Wikicode Kartu Wikicode Kartu
{{Kartu|heart|A}} Ace of hearts {{Kartu|diamond|A}} Ace of diamonds {{Kartu|spade|A}} Ace of spades {{Kartu|club|A}} Ace of clubs
{{Kartu|heart|2}} 2 of hearts {{Kartu|diamond|2}} 2 of diamonds {{Kartu|spade|2}} 2 of spades {{Kartu|club|2}} 2 of clubs
{{Kartu|heart|3}} 3 of hearts {{card|diamond|3}} 3 of diamonds {{Kartu|spade|3}} 3 of spades {{Kartu|club|3}} 3 of clubs
{{Kartu|heart|4}} 4 of hearts {{Kartu|diamond|4}} 4 of diamonds {{Kartu|spade|4}} 4 of spades {{Kartu|club|4}} 4 of clubs
{{Kartu|heart|5}} 5 of hearts {{Kartu|diamond|5}} 5 of diamonds {{Kartu|spade|5}} 5 of spades {{Kartu|club|5}} 5 of clubs
{{Kartu|heart|6}} 6 of hearts {{Kartu|diamond|6}} 6 of diamonds {{Kartu|spade|6}} 6 of spades {{Kartu|club|6}} 6 of clubs
{{Kartu|heart|7}} 7 of hearts {{Kartu|diamond|7}} 7 of diamonds {{Kartu|spade|7}} 7 of spades {{Kartu|club|7}} 7 of clubs
{{Kartu|heart|8}} 8 of hearts {{Kartu|diamond|8}} 8 of diamonds {{Kartu|spade|8}} 8 of spades {{Kartu|club|8}} 8 of clubs
{{Kartu|heart|9}} 9 of hearts {{Kartu|diamond|9}} 9 of diamonds {{Kartu|spade|9}} 9 of spades {{Kartu|club|9}} 9 of clubs
{{Kartu|heart|10}} 10 of hearts {{Kartu|diamond|10}} 10 of diamonds {{Kartu|spade|10}} 10 of spades {{Kartu|club|10}} 10 of clubs
{{Kartu|heart|11}} 11 of hearts {{Kartu|diamond|11}} 11 of diamonds {{Kartu|spade|11}} 11 of spades {{Kartu|club|11}} 11 of clubs
{{Kartu|heart|J}} Jack of hearts {{Kartu|diamond|J}} Jack of diamonds {{Kartu|spade|J}} Jack of spades {{Kartu|club|J}} Jack of clubs
{{Kartu|heart|Q}} Queen of hearts {{Kartu|diamond|Q}} Queen of diamonds {{Kartu|spade|Q}} Queen of spades {{Kartu|club|Q}} Queen of clubs
{{Kartu|heart|K}} King of hearts {{Kartu|diamond|K}} King of diamonds {{Kartu|spade|K}} King of spades {{Kartu|club|K}} King of clubs

Lihat juga[sunting sumber]

Templat:Kartu-kartu