Jump to content

Module:Shogi diagram/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{#invoke:Shogi diagram|function_name}}

This module is called by Template:Shogi diagram.

☖ pieces in hand:
987654321 
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.