This is a documentation for Board Game Arena: play board games online !
Template:Chessboard: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) m (added instructions to format for bga rules summary pages) |
Sammy McSam (talk | contribs) m (added emptySquare placeholders in examples) |
||
Line 3: | Line 3: | ||
{{chessboard | numbersColumnWidth=20px | squareSize=45px | lightSquareColour=#fff | darkSquareColour=#ddd | {{chessboard | numbersColumnWidth=20px | squareSize=45px | lightSquareColour=#fff | darkSquareColour=#ddd | ||
| a8= | | a8= | b8= | c8= | d8= | e8= | f8= | g8= | h8= | ||
| a7= | | a7= | b7= | c7= | d7= | e7= | f7= | g7= | h7= | ||
| a6= | | a6= | b6= | c6= | d6= | e6= | f6= | g6= | h6= | ||
| a5= | | a5= | b5= | c5= | d5= | e5= | f5= | g5= | h5= | ||
| a4= | | a4= | b4= | c4= | d4= | e4= | f4= | g4= | h4= | ||
| a3= | | a3= | b3= | c3= | d3= | e3= | f3= | g3= | h3= | ||
| a2= | | a2= | b2= | c2= | d2= | e2= | f2= | g2= | h2= | ||
| a1= | | a1= | b1= | c1= | d1= | e1= | f1= | g1= | h1= | ||
}} | }} | ||
place chessboard in wikitable to preserve | place chessboard in wikitable with empty 45px squares to preserve dimensions for display on game RULES SUMMARY pages | ||
e.g. https://boardgamearena.com/gamepanel?game=chess under HOW TO PLAY? > See More > RULES SUMMARY | e.g. https://boardgamearena.com/gamepanel?game=chess under HOW TO PLAY? > See More > RULES SUMMARY | ||
Line 19: | Line 19: | ||
|- | |- | ||
| | | | ||
{{chessboard | numbersColumnWidth=20px | squareSize=45px | lightSquareColour=# | {{chessboard | numbersColumnWidth=20px | squareSize=45px | lightSquareColour=#efe | darkSquareColour=#cdc | ||
| a8= | | a8={{emptySquare}}| b8={{emptySquare}}| c8={{emptySquare}}| d8={{emptySquare}}| e8={{emptySquare}}| f8={{emptySquare}}| g8={{emptySquare}}| h8={{emptySquare}} | ||
| a7= | | a7={{emptySquare}}| b7={{emptySquare}}| c7={{emptySquare}}| d7={{emptySquare}}| e7={{emptySquare}}| f7={{emptySquare}}| g7={{emptySquare}}| h7={{emptySquare}} | ||
| a6= | | a6={{emptySquare}}| b6={{emptySquare}}| c6={{emptySquare}}| d6={{emptySquare}}| e6={{emptySquare}}| f6={{emptySquare}}| g6={{emptySquare}}| h6={{emptySquare}} | ||
| a5= | | a5={{emptySquare}}| b5={{emptySquare}}| c5={{emptySquare}}| d5={{emptySquare}}| e5={{emptySquare}}| f5={{emptySquare}}| g5={{emptySquare}}| h5={{emptySquare}} | ||
| a4= | | a4={{emptySquare}}| b4={{emptySquare}}| c4={{emptySquare}}| d4={{emptySquare}}| e4={{emptySquare}}| f4={{emptySquare}}| g4={{emptySquare}}| h4={{emptySquare}} | ||
| a3= | | a3={{emptySquare}}| b3={{emptySquare}}| c3={{emptySquare}}| d3={{emptySquare}}| e3={{emptySquare}}| f3={{emptySquare}}| g3={{emptySquare}}| h3={{emptySquare}} | ||
| a2= | | a2={{emptySquare}}| b2={{emptySquare}}| c2={{emptySquare}}| d2={{emptySquare}}| e2={{emptySquare}}| f2={{emptySquare}}| g2={{emptySquare}}| h2={{emptySquare}} | ||
| a1= | | a1={{emptySquare}}| b1={{emptySquare}}| c1={{emptySquare}}| d1={{emptySquare}}| e1={{emptySquare}}| f1={{emptySquare}}| g1={{emptySquare}}| h1={{emptySquare}} | ||
}} | }} | ||
|} | |} | ||
Line 37: | Line 37: | ||
| a8={{blackRook}} | b8={{blackKnight}}| c8={{blackBishop}}| d8={{blackQueen}} | e8={{blackKing}} | f8={{blackBishop}}| g8={{blackKnight}}| h8={{blackRook}} | | a8={{blackRook}} | b8={{blackKnight}}| c8={{blackBishop}}| d8={{blackQueen}} | e8={{blackKing}} | f8={{blackBishop}}| g8={{blackKnight}}| h8={{blackRook}} | ||
| a7={{blackPawn}} | b7={{blackPawn}} | c7={{blackPawn}} | d7={{blackPawn}} | e7={{blackPawn}} | f7={{blackPawn}} | g7={{blackPawn}} | h7={{blackPawn}} | | a7={{blackPawn}} | b7={{blackPawn}} | c7={{blackPawn}} | d7={{blackPawn}} | e7={{blackPawn}} | f7={{blackPawn}} | g7={{blackPawn}} | h7={{blackPawn}} | ||
| a6= | | a6={{emptySquare}}| b6={{emptySquare}}| c6={{emptySquare}}| d6={{emptySquare}}| e6={{emptySquare}}| f6={{emptySquare}}| g6={{emptySquare}}| h6={{emptySquare}} | ||
| a5= | | a5={{emptySquare}}| b5={{emptySquare}}| c5={{emptySquare}}| d5={{emptySquare}}| e5={{emptySquare}}| f5={{emptySquare}}| g5={{emptySquare}}| h5={{emptySquare}} | ||
| a4= | | a4={{emptySquare}}| b4={{emptySquare}}| c4={{emptySquare}}| d4={{emptySquare}}| e4={{emptySquare}}| f4={{emptySquare}}| g4={{emptySquare}}| h4={{emptySquare}} | ||
| a3= | | a3={{emptySquare}}| b3={{emptySquare}}| c3={{emptySquare}}| d3={{emptySquare}}| e3={{emptySquare}}| f3={{emptySquare}}| g3={{emptySquare}}| h3={{emptySquare}} | ||
| a2={{whitePawn}} | b2={{whitePawn}} | c2={{whitePawn}} | d2={{whitePawn}} | e2={{whitePawn}} | f2={{whitePawn}} | g2={{whitePawn}} | h2={{whitePawn}} | | a2={{whitePawn}} | b2={{whitePawn}} | c2={{whitePawn}} | d2={{whitePawn}} | e2={{whitePawn}} | f2={{whitePawn}} | g2={{whitePawn}} | h2={{whitePawn}} | ||
| a1={{whiteRook}} | b1={{whiteKnight}}| c1={{whiteBishop}}| d1={{whiteQueen}} | e1={{whiteKing}} | f1={{whiteBishop}}| g1={{whiteKnight}}| h1={{whiteRook}} | | a1={{whiteRook}} | b1={{whiteKnight}}| c1={{whiteBishop}}| d1={{whiteQueen}} | e1={{whiteKing}} | f1={{whiteBishop}}| g1={{whiteKnight}}| h1={{whiteRook}} |
Revision as of 20:32, 22 November 2021
A | B | C | D | E | F | G | H | ||
8 | 8 | ||||||||
7 | 7 | ||||||||
6 | 6 | ||||||||
5 | 5 | ||||||||
4 | 4 | ||||||||
3 | 3 | ||||||||
2 | 2 | ||||||||
1 | 1 | ||||||||
A | B | C | D | E | F | G | H |