Module:Shogi diagram/doc
Appearance
| This is a documentation subpage for Module:Shogi diagram. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
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.