Template:Chess Unicode/doc
Jump to navigation
Jump to search
This template allows you to obtain the Unicode characters for Chess pieces.
- White pieces: U+2654 – U+2659
- Black pieces: U+265A – U+265F
Usage
{{Chess Unicode|<color>|<piece>}}
Parameters (case-insensitive):
color
: Color of the piece.- B or black for black.
- W or white for white.
piece
: Name of the piece.- B / Bishop
- K / King
- N / Knight
- P / Pawn
- Q / Queen
- R / Rook
All valid output
Color | Piece | Template code | Output |
---|---|---|---|
White | Bishop | {{Chess Unicode|W|B}} | ♗ |
King | {{Chess Unicode|W|K}} | ♔ | |
Knight | {{Chess Unicode|W|N}} | ♘ | |
Pawn | {{Chess Unicode|W|P}} | ♙ | |
Queen | {{Chess Unicode|W|Q}} | ♕ | |
Rook | {{Chess Unicode|W|R}} | ♖ | |
Black | Bishop | {{Chess Unicode|B|B}} | ♝ |
King | {{Chess Unicode|B|K}} | ♚ | |
Knight | {{Chess Unicode|B|N}} | ♞ | |
Pawn | {{Chess Unicode|B|P}} | ♟ | |
Queen | {{Chess Unicode|B|Q}} | ♛ | |
Rook | {{Chess Unicode|B|R}} | ♜ |
External links
- Unicode Block "Miscellaneous Symbols" (Range: 2600–26FF) Code Chart