NW
| ♠♤ | {{{1}}} | ||
| ♥ | {{{2}}} | ||
| ♦ | {{{3}}} | ||
| ♣♧ | {{{4}}} | ||
| ♠♤ | {{{5}}} | N | |
| ♥ | {{{6}}} | ||
| ♦ | {{{7}}} | ||
| ♣♧ | {{{8}}} | ||
This template generates a diagram typical of those used in literature to present a partial deal in contract bridge.
The template receives 10 elements of data:
Either create or copy the blank template sample below, insert in article and complete as follows:
1. Add an optional Label parameter to appear in the upper left quadrant of the diagram. It allows context details of the hand to be added if relevant or appropriate.
Data length must be short to fit aesthetically in upper left quadrant of the diagram; use a line break where necessary. Use line breaks between data entries. The parameter may be left blank or removed entirely.
2. Add an optional Lead parameter to appear in the lower left quadrant of the diagram. It can indicate the specific card led or who is on lead, e.g. "Lead: ", or "East leads ", or "South on lead". The parameter may be left blank or removed entirely.
3. Each of the two lines of code represents a hand in the order of: North, West 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.
4. 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.
{{BridgeHandNW
|Label = Example 1
|Lead = West on lead
|A|—|A|K 10 7
|10 8 3|2|—|3}} Text beside diagram.
{{clear}} Text below diagram.
which results in:
| Example 1 West on lead |
♠♤ | A | |
| ♥ | — | ||
| ♦ | A | ||
| ♣♧ | K 10 7 | ||
| ♠♤ | 10 8 3 | N | |
| ♥ | 2 | ||
| ♦ | — | ||
| ♣♧ | 3 | ||
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.
{{BridgeHandNW
|Label =
|Lead =
|—|—|—|—
|—|—|—|—
}} Text beside diagram.
{{clear}} Text below diagram.
which renders the following blank deal diagram:
| ♠♤ | — | ||
| ♥ | — | ||
| ♦ | — | ||
| ♣♧ | — | ||
| ♠♤ | — | N | |
| ♥ | — | ||
| ♦ | — | ||
| ♣♧ | — | ||
1. The diagram is programmed to be placed to the left margin of the page.
2. If appropriate, a separate auction table may be used to supplement the deal diagram. It will normally be placed immediately to the right.
{{BridgeHandNWES}}
{{BridgeHandNWS}}
{{BridgeHandNES}}
{{BridgeHandNS}}
{{BridgeHandNE}}
{{BridgeHandWE}}
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.