Template:BridgeHandWE
| ♠♤ | {{{1}}} | W E |
♠♤ | {{{5}}} |
| ♥ | {{{2}}} | ♥ | {{{6}}} | |
| ♦ | {{{3}}} | ♦ | {{{7}}} | |
| ♣♧ | {{{4}}} | ♣♧ | {{{8}}} |
Purpose
This template generates a diagram typical of those used in literature to present a partial deal in contract bridge.
Usage
The template receives 8 elements of data - the card rank holdings in each of four suits for each of two players - West and East.
Either create or copy the blank template sample below, insert in article and complete as follows:
1. Each of the two lines of code represents a hand in the order of: West, East with suits in each line in the order of: spades, hearts, diamonds, clubs. When using the blank template sample from below, replace each emdash (—) with the card ranks (A, K, Q, etc.) of each suit held by each player. Use an emdash to show a void.
2. Optionally but preferably, add a thin space ( ) between ranks of cards for improved readability and aesthetics. Very long card holdings may require the use of hair spacing ( ) to keep the suit rank listing to a single line; two-line card holdings are possible but are aesthetically disruptive.
Example
{{BridgeHandWE
|A|—|A|K 10 7
|10 8 3|2|—|3}} Text beside diagram.
{{clear}} Text below diagram.
which results in:
| ♠♤ | A | W E |
♠♤ | 10 8 3 |
| ♥ | — | ♥ | 2 | |
| ♦ | A | ♦ | — | |
| ♣♧ | K 10 7 | ♣♧ | 3 |
Blank template
Copy, paste and complete the following blank template into your article in accordance with the instructions at the top of this documentation page and the example illustrated above.
{{BridgeHandWE
|—|—|—|—
|—|—|—|—
}} Text beside diagram.
{{clear}} Text below diagram.
which renders the following blank deal diagram:
| ♠♤ | — | W E |
♠♤ | — |
| ♥ | — | ♥ | — | |
| ♦ | — | ♦ | — | |
| ♣♧ | — | ♣♧ | — |
Surrounding text
1. The diagram is programmed to be placed to the left margin of the page.
- Text relevant to the diagram should be added to its right by continuing it immediately after the last closing brace of the template.
- Text for a new subject or topic should be started below the diagram by inserting the template {{clear}} after the last closing brace and then continuing with text.
2. If appropriate, a separate auction table may be used to supplement the deal diagram. It will normally be placed immediately to the right.
See also
{{BridgeHandNWES}}
{{BridgeHandNWS}}
{{BridgeHandNES}}
{{BridgeHandNS}}
{{BridgeHandNW}}
{{BridgeHandNE}}
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.