Template:Xiangqi-position/doc

See: Xiangqi

Usage
Currently you can invoke a blank board of the size above by copying and pasting this piece of invocation code:

To get pieces...use this, they correspond square to square, similar to Go and Chess:

You can also use Chinese:

Construction
There are two basics of the images: one being the type of piece, one being the type of position. Their naming convention is as follows: depending on the type of image, they together will form the entire image name, but start with xiangqi- and end with a unique four or five letter code. Color will either be light (red) or dark (black), and will be denoted by either a "l" or "d" respectively, in the second character placename in the code. The type of piece, such as general or chariot (rook) is denoted in the first character of the code. The type of position occupies the last two or three character places.

Pieces - naming abbreviation

black pieces - d red pieces - l

general - g advisor - a elephant - e rook - r horse - h cannon - c soldier - s

no piece (vacant) - [whitespace] dark - rs

black general: black advisor: black elephant: black rook: black horse: black cannon: black soldier: red general: red advisor: red elephant: red rook: red horse: red cannon: red soldier: dark:

board: