Template:Poker/doc
Jump to navigation
Jump to search
{{poker|S|7}} gives:
| 7 ♠ | |||||||||||||
| |||||||||||||
| 7 ♠ |
Here S is spade. Similarly, H is heart, D is diamond, and C is club.
Note that the first input needs to be a letter. If it is the symbol, the template won't work. For example, compare {{poker|H|4}} and {{poker|♥|4}}. The former gives
| 4 ♥ | ||||||||
| ||||||||
| 4 ♥ |
while the latter gives the ridiculous blue
| 4 ♥ | ||||||||
| ||||||||
| 4 ♥ |
If there is no input and you just use {{poker}}, it gives the nine of diamonds.
| 9 ♦ | |||||||||||||||||
| |||||||||||||||||
| 9 ♦ |
You can rotate the card by something like {{poker|S|7|rotate=10}}. It rotates the card by 10 degrees.
| 7 ♠ | |||||||||||||
| |||||||||||||
| 7 ♠ |
If you want a random card, use {{poker/random}}:
| 4 ♥ | ||||||||
| ||||||||
| 4 ♥ |