Template:Card/doc
| This is a documentation subpage for Template:Card. It may contain usage information, categories and other content that is not part of the original template page. |
This template displays a playing card of a given suit and value. There are separate templates for displaying other cards:
- {{German suited card}}
- {{Hanafuda}}
- Korean-style hanafuda: {{Hwatu}}
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
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.