Usage
editFor displaying custom Janggi boards.
How to use parameters
editA piece consists of two letters: the first is for its color; the second is for its type
- c
- blue
- h
- red
- g
- general
- r
- chariot
- p
- cannon
- m
- horse
- e
- elephant
- s
- guard
- j
- soldier
Piece | |||||||
---|---|---|---|---|---|---|---|
Parameter | cg | cr | cp | cm | ce | cs | cj |
Piece | |||||||
Parameter | hg | hr | hp | hm | he | hs | hj |
co and ho are for blue circles and red circles respectively.
Each cell of the board is 40px wide by default. It can be defined by adding |size=
Examples
editMarkup | Renders as |
---|---|
|
|
|
|