How to Post Bridge Hands

Information and discussions concerning the Bridge in Oz web forum.
Post Reply
User avatar
rod
Site Admin
Posts: 43
Joined: Wed Jul 31, 2019 7:19 am
Location: Boambee East, NSW
Contact:

How to Post Bridge Hands

Post by rod »

When you compose or edit a posting here you'll see some buttons above the data entry area. Two of these are "block" and "hand". Clicking either of these generates a snippet of text (called "bbcode") with the cursor positioned in the middle of it where you can enter some data. It works just as well to type or paste in the bbcode instead of using the buttons.

For the "hand" bbcode you type in the cards for spades, hearts, diamonds and clubs, with commas between the suits; for example "J10987,KQ432,--,AQ8". So the snippet becomes:

Code: Select all

[hand]J10987,KQ432,--,AQ8[/hand]
When your post is previewed or submitted you'll see the resulting hand like this:

♠ J10987
KQ432
--
♣ AQ8

The "block" bbcode is useful for putting things side-by-side when each of those things has multiple lines in it. For example you can click the "block" button and enter a few lines of text, and then position the cursor after the ending "]" and click "block" again and enter some more lines of text, like this:

Code: Select all

[block]Mary had
a little
lamb.[/block][block]Its fleece
was white
as snow.[/block]
The result of that will be:

Mary had
a little
lamb.
Its fleece
was white
as snow.


More interesting though is that you can put hands inside of blocks. Here's an example where you are showing two hands with a bidding sequence:

Code: Select all

[block][hand]J10987,KQ432,--,AQ8[/hand]

1S
3D
[/block][block][hand]KQ52,A9,5432,K65[/hand]

2NT
?
[/block]
Giving:

♠ J10987
KQ432
--
♣ AQ8

1S
3D
♠ KQ52
A9
5432
♣ K65

2NT
?


Finally, an example of using blocks (some of them empty) and hands to show a full deal:

Code: Select all

[block][/block][block][hand]A6,J108,AKQJ,J1097[/hand][/block]
[block][hand]J10987,KQ432,--,AQ8[/hand][/block][block][/block][block][hand]KQ52,A9,5432,K65[/hand][/block]
[block][/block][block][hand]43,765,109876,432[/hand][/block]
♠ A6
J108
AKQJ
♣ J1097

♠ J10987
KQ432
--
♣ AQ8
♠ KQ52
A9
5432
♣ K65

♠ 43
765
109876
♣ 432

User avatar
rod
Site Admin
Posts: 43
Joined: Wed Jul 31, 2019 7:19 am
Location: Boambee East, NSW
Contact:

Text for Suit Symbols

Post by rod »

By the way if all you want is a suit symbol (as in "West led the K against 4♠"), you can copy-and-paste from one of these lines.

Code: Select all

♠
[color=red]♥[/color]
[color=red]♦[/color]
♣

Post Reply