Template:BridgeHandInline/doc

Purpose
This template generates an inline text string for a single hand in contract bridge.

Usage
The template receives 4 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 ( &amp;mdash; ) with the card ranks of each suit. Use an emdash to show a void.

Example
which results in:

Blank 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.

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:
 * - with no spacing
 * - with hair spacing
 * - with thin spacing
 * - with normal non-breaking spacing

2. The template has 'no-wrap' parameters which prevents mid-suit line-breaks and keeps at least two suits on the same line.