Module:Shogi diagram/doc
Appearance
Usage
[edit]{{#invoke:Shogi diagram|function_name}}
This module is called by Template:Shogi diagram.
☖ pieces in hand:
9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
香 | 桂 | 銀 | 金 | 王 | 金 | 銀 | 桂 | 香 | 1 |
飛 | 角 | 2 | |||||||
歩 | 歩 | 歩 | 歩 | 歩 | 歩 | 歩 | 歩 | 歩 | 3 |
4 | |||||||||
5 | |||||||||
6 | |||||||||
歩 | 歩 | 歩 | 歩 | 歩 | 歩 | 歩 | 歩 | 歩 | 7 |
角 | 飛 | 8 | |||||||
香 | 桂 | 銀 | 金 | 玉 | 金 | 銀 | 桂 | 香 | 9 |
☗ pieces in hand:
As the original template used .pngs/.svgs, when many templates were used on pages, the page load times became a bit long. In order to fix this, this module instead uses text. And, text is preferable anyway since it renders very sharp edges. The drawback is that it depends on web browser for rotated text – that is, the web browser must be a modern one.
It was based on Module:Chessboard.