Template:BridgeHandInline
♠ {{{1}}} ♥ {{{2}}} ♦ {{{3}}} ♣ {{{4}}}
Purpose
This template generates an inline text string for a single hand in contract bridge.
Usage
The template receives four sets of data for the card rank holdings (A, K, Q, etc.) in each of the suits in the order of: spades, hearts, diamonds, clubs. When using the blank template sample from below, replace each emdash (—) with the card ranks of each suit. Use an emdash to show a void.
Example
{{BridgeHandInline|J3|J874|A10765|Q3}}
which results in:
♠ J3 ♥ J874 ♦ A10765 ♣ Q3Blank template
Copy, paste and complete the following blank template into your article by replacing the emdashes with the ranks of each suit in the order of spades, hearts, diamonds and clubs; leave an emdash to show a void.
{{BridgeHandInline|—|—|—|—}}
which renders the following blank hand diagram: ♠ — ♥ — ♦ — ♣ —
Spacing and surrounding text
1. The diagram is intended to be used inline with normal text and usually contains no additional spacing between the ranks of cards. The addition of spacing between the ranks of cards results in the following:
- ♠ AK5 ♥ 56 ♦ J1086 ♣ Q753 - with no spacing (default)
- ♠ A K 5 ♥ 5 6 ♦ J 10 8 6 ♣ Q 7 5 3 - with hair spacing (
{{BridgeHandInline|AK5|56|J1086|Q753|space=hair}}) - ♠ A K 5 ♥ 5 6 ♦ J 10 8 6 ♣ Q 7 5 3 - with thin spacing (
{{BridgeHandInline|AK5|56|J1086|Q753|space=thin}}) - ♠ A K 5 ♥ 5 6 ♦ J 10 8 6 ♣ Q 7 5 3 - with normal non-breaking spacing (
{{BridgeHandInline|AK5|56|J1086|Q753|space=nbsp}}) - ♠ A K 5 ♥ 5 6 ♦ J 10 8 6 ♣ Q 7 5 3 - with en spacing (
{{BridgeHandInline|AK5|56|J1086|Q753|space=en}}) - ♠ A K 5 ♥ 5 6 ♦ J 10 8 6 ♣ Q 7 5 3 - with figure spacing (
{{BridgeHandInline|AK5|56|J1086|Q753|space=fig}}) - ♠ A K 5 ♥ 5 6 ♦ J 10 8 6 ♣ Q 7 5 3 - with em spacing (
{{BridgeHandInline|AK5|56|J1086|Q753|space=em}})
2. The template has 'no-wrap' parameters which prevents mid-suit line-breaks and keeps at least two suits on the same line.
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.