Template talk:Xiangqi-position
Latest comment: 18 years ago by Natalinasmpf in topic Comments
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||
|
Text and/or other creative content from this version of Template talk:Xiangqi-position was copied or moved into Template:Xiangqi-position/doc with this edit. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
Text and/or other creative content from this version of :Category:Xiangqi position was copied or moved into Template:Xiangqi-position/doc with this edit. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
Comments
edit
|
Yes!! The board works! Hurrah!
Fully functional. Now I will work on developing a partial board, ie. for examples where only a few squares are needed. I might possibly use Template:if.
This template in, the invocation of parameters concept is inspired by Template:Chess position for pieces, and then for aligning the lines, Template:Game of Go Position. This template is the merger of both concepts, you might say. -- Natalinasmpf 17:24, 17 December 2005 (UTC)
Currently you can invoke a blank board of the size above by copying and pasting this piece of invocation code:
{| style="margin:1em;" | style="border: solid thin; padding: 2px;" | {{Xianqi-position | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |30}} |- |}
To get pieces...use this, they correspond square to square, similar to Go and Chess:
{| style="margin:1em;" | style="border: solid thin; padding: 2px;" | {{Xianqi-position |rd|hd|ed|ad|gd|ad|ed|hd|rd | | | | | | | | | | |cd| | | | | |cd| |sd| |sd| |sd| |sd| |sd | | | | | | | | | | | | | | | | | | |sl| |sl| |sl| |sl| |sl | |cl| | | | | |cl| | | | | | | | | | |rl|hl|el|al|gl|al|el|hl|rl |30}} |- |}