Template talk:Xiangqi-position

Active discussions
WikiProject Chess (Rated Template-class)
This template is within the scope of WikiProject Chess, a collaborative effort to improve the coverage of Chess on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
WikiProject Board and table games (Rated Template-class)
This template is part of WikiProject Board and table games, an attempt to better organize information in articles related to board games and tabletop games. If you would like to participate, you can edit the article attached to this page, or visit the project page, where you can join the project and/or contribute to the discussion.
 Template  This template does not require a rating on the quality scale.
WikiProject China (Rated Template-class)
This template is within the scope of WikiProject China, a collaborative effort to improve the coverage of China related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.

CommentsEdit

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}}
|-
|}
Return to "Xiangqi-position" page.