User:Piphi/Template:Chessboard
See instructions at User:Piphi/Chess/Rules.
{{User:Piphi/Template:Chessboard|<!-- 8 -->rd|nd|bd|qd|kd|bd|nd|rd|<!-- 7 -->pd|pd|pd|pd|pd|pd|pd|pd|<!-- 6 --> | | | | | | | |<!-- 5 --> | | | | | | | |<!-- 4 --> | | | | | | | |<!-- 3 --> | | | | | | | |<!-- 2 -->pl|pl|pl|pl|pl|pl|pl|pl|<!-- 1 -->rl|nl|bl|ql|kl|bl|nl|rl}} <!-- a b c d e f g h -->
To resize the board, use the attribute size=, followed by the number of pixels per square you wish for.
8 | ||||||||
7 | ||||||||
6 | ||||||||
5 | ||||||||
4 | ||||||||
3 | ||||||||
2 | ||||||||
1 | ||||||||
a | b | c | d | e | f | g | h |