This is a documentation for Board Game Arena: play board games online !

Template:Chessboard: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
m (corrected h8 colour)
m (added instructions to format for bga rules summary pages)
Line 1: Line 1:
<!--  
<!--  
copy empty chessboard:
copy basic empty chessboard:


{{chessboard | numbersColumnWidth=20px | squareSize=45px | lightSquareColour=#fff | darkSquareColour=#ddd
{{chessboard | numbersColumnWidth=20px | squareSize=45px | lightSquareColour=#fff | darkSquareColour=#ddd
Line 12: Line 12:
| a1=              | b1=              | c1=              | d1=              | e1=              | f1=              | g1=              | h1=               
| a1=              | b1=              | c1=              | d1=              | e1=              | f1=              | g1=              | h1=               
}}
}}
place chessboard in wikitable to preserve width for display on game RULES SUMMARY pages
e.g. https://boardgamearena.com/gamepanel?game=chess under HOW TO PLAY? > See More > RULES SUMMARY
{| class="wikitable" style="max-width: 440px; text-align:center;"
|-
|
{{chessboard | numbersColumnWidth=20px | squareSize=45px | lightSquareColour=#fff | darkSquareColour=#ddd
| a8=              | b8=              | c8=              | d8=              | e8=              | f8=              | g8=              | h8=             
| a7=              | b7=              | c7=              | d7=              | e7=              | f7=              | g7=              | h7=             
| a6=              | b6=              | c6=              | d6=              | e6=              | f6=              | g6=              | h6=             
| a5=              | b5=              | c5=              | d5=              | e5=              | f5=              | g5=              | h5=             
| a4=              | b4=              | c4=              | d4=              | e4=              | f4=              | g4=              | h4=             
| a3=              | b3=              | c3=              | d3=              | e3=              | f3=              | g3=              | h3=             
| a2=              | b2=              | c2=              | d2=              | e2=              | f2=              | g2=              | h2=             
| a1=              | b1=              | c1=              | d1=              | e1=              | f1=              | g1=              | h1=             
}}
|}


copy chess starting position:
copy chess starting position:

Revision as of 20:52, 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