Difference between revisions of "Template:Chess position"
(rewrite code completely) |
m (rmv cellpadding) |
||
Line 17: | Line 17: | ||
---- | ---- | ||
− | </noinclude>{| cellspacing="0" style="font-family:monospace;" | + | </noinclude>{| cellspacing="0" cellpadding="0" style="font-family:monospace;" |
|- | |- | ||
| style = "text-align:center;" |8 | | style = "text-align:center;" |8 |
Latest revision as of 17:47, 19 September 2007
See instructions at AoPSWiki:Chess.
{{Template:Chess position|<!-- 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 |