When using the classic page/post editor, several attributes can be passed to the [fen]...[/fen] shortcode to customize how the corresponding chess diagram is generated. These attributes are presented below.

To be noticed: these attributes correspond to the customization settings proposed in the right panel of the Chess diagram block for those using the Gutenberg page/post editor. The customization features proposed by RPB Chessboard are the same whichever the page/post editor you are using.

Position & annotation attributes

AttributeAdmissible valuesDescription
csl=...
cal=...
ctl=...
Same syntax as the one used in PGN games: see the dedicated page for more details.Square, arrow, and text markers.
flip=...true
false
Whether the diagram is presented from Black’s point of view (flip=true) or from White’s (flip=false).

Chessboard aspect attributes

AttributeAdmissible valuesDescription
align=...center
floatLeft
floatRight
Controls how the diagram is placed within the surrounding text.
square_size=...Any number
Example: square_size=60
Size of the diagram.
show_coordinates=...true
false
Whether the row and column coordinates are visible or not.
show_turn=...true
false
Whether the turn flag is visible or not.
colorset=...coral
dusk
emerald
gray
marine
original
sandcastle
scid
wheat
wikipedia
xboard

… or any custom colorset defined in the global settings of RPB Chessboard.
Color theme of the chessboard.
pieceset=...cburnett
celtic
eyes
fantasy
skulls
spatial

… or any custom pieceset defined in the global settings of RPB Chessboard.
Chess piece theme of the chessboard.