Active
Project:
Chessboard Renderer
Version:
8.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2006 at 09:49 UTC
Updated:
29 Jun 2013 at 12:28 UTC
Maybe something like:
[chessboard="White to play and win"]rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[chessboard]
Comments
Comment #1
eric_a commentedLet's come back to this after initial ports for D6 and D7 are in. #373871: port Chessboard Renderer to D6
Comment #2
eric_a commentedComment #3
eric_a commentedPerhaps it would be best to add a second filter. Ideas:
BBCode:
[chessboard caption=White to play and win]rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[/chessboard]
[chessboard placement=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR]White to play and win[/chessboard]
HTML5:
<figure class="chessboard">rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR<figcaption>White to play and win</figcaption></figure>Comment #4
eric_a commentedAnd how about something like this:
<img data-caption="White to play and win" src="/chessboard/rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR.gif">Comment #5
eric_a commentedThe fallback scenario for #4 is pretty bad when the filter is not enabled and the image source is not available.
This one is shorter and better.
With this piece of HTML5 the caption is not immediately visible when the filter is not enabled, but the FEN code is still there.