Template:Janggi board
From Wikipedia, the free encyclopedia
Usage
For displaying custom Janggi boards.
How to use parameters
A 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
More information Piece, Parameter ...
Close
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
More information Markup, Renders as ...
Markup | Renders as |
---|---|
<syntaxhighlight lang="wikitext"> {{janggi board | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |size=50 }} </syntaxhighlight> |
|
<syntaxhighlight lang="wikitext"> {{janggi board | | | | | | | | | | | | | | | | | | | | | |co| |co| | | | | |co| |ho| |co| | | | | |ho|cm|ho| | | | | |co| |ho| |co| | | | | |co| |co| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |size=50 }} </syntaxhighlight> |
|
Close
The above documentation is transcluded from Template:Janggi board/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.