Difference between revisions of "User:Piphi/Template:Chessboard"

m
 
Line 102: Line 102:
 
|a || b || c || d || e ||f || g || h  
 
|a || b || c || d || e ||f || g || h  
 
|}
 
|}
<noinclude>[[Category:Chess Piphi]]</noinclude>
+
<br>[[Category:Chess Piphi]]

Latest revision as of 14:51, 12 June 2020

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 px px px px px px px px
7 px px px px px px px px
6 px px px px px px px px
5 px px px px px px px px
4 px px px px px px px px
3 px px px px px px px px
2 px px px px px px px px
1 px px px px px px px px
a b c d e f g h