Template talk:Chess diagram
Jump to navigation
Jump to search
Syntax[edit source]
a | b | c | d | e | f | g | h | ||
8 | File:Chess tright.gif | File:Chess Header.gif | 8 | ||||||
7 | 7 | ||||||||
6 | 6 | ||||||||
5 | 5 | ||||||||
4 | 4 | ||||||||
3 | 3 | ||||||||
2 | 2 | ||||||||
1 | 1 | ||||||||
a | b | c | d | e | f | g | h |
{{Chess diagram | tright | Header<!-- 8 -->|rb|nb|bb|qb|kb|bb|nb|rb<!-- 7 -->|pb|pb|pb|pb| |pb|pb|pb<!-- 6 -->| | | | | | | | <!-- 5 -->| | | | |pb| | | <!-- 4 -->| | | | |pw|pw| | <!-- 3 -->| | | | | | | | <!-- 2 -->|pw|pw|pw|pw| | |pw|pw<!-- 1 -->|rw|nw|bw|qw|kw|bw|nw|rw<!-- a b c d e f g h -->| Footer }}
gives the diagram seen to the right. "Header" and "Footer" can be blank.
For detailed use instructions, see http://en.wikipedia.org/wiki/Template_talk:Chess_diagram.