Template:Weiqi-image
Simple PNG images of parts of a Go Board. These are meant to be used in conjunction with template Template:Game of Go position (and related templates), to simplify creating dynamic go boards and parts of Go boards in articles. Use of these images are explained in the manual.
There are two naming conventions meant to run concurrently, the simpler first single-letter invocation one, being advised for more use in WikiGames or simpler analysis, with the second convention, two letter invocation, for more detail. In a single use of a template, there might be use of both, but this is discouraged because of the lack of aesthetics during editing.
Single Letter Invocation Naming
[edit]This is called single letter because only a single character as a parameter is required to invoke the image when used in conjunction with a template. The filenames are called weiqi-mn.PNG where:
- m is whether is black, white, empty starpoint or plain empty (in the case of empty there will be no character or space, to allow for easy template use) - w for white, b for black, nothing for plain empty, x for empty starpoint.
- n whether it's a corner, middle, side position, etc, and is
- md when its in the middle of the board, or at least not at the border
- ca if it is the upper left corner
- cb if it's the upper right corner
- cc if it's the lower right corner
- cd if it's the lower left corner
- sl if it's the left side border
- sr if it's the right side border
- st if it's the top side border
- sd if it's the down side border
Within the standard templates, typing "x", "w", "b" or whitespace within the parameters yields the appropriate piece on the appropriate square, ie. typing "w" the upper right hand corner square yields "Weiqi-wcb.PNG", while typing it on the left hand side yields "Weiqi-wsl.PNG" Bear in mind there are no images for star points on the egde of the board (there shouldn't be anyway), so typing "x" on the edges of the board will yield an error.
Two Letter Invocation Naming
[edit]This is called two letter because it uses two characters in a parameter to invoke a certain image. Like above, the template using these images is adaptive, typing the two characters in different parts of a board yield different images.
The naming convention is as follows - the filenames are called weiqi-mnq.PNG where:
- m is whether is black, white, empty starpoint or plain empty (in the case of empty there will be no character or space, to allow for easy template use) - w for white, b for black, nothing for plain empty, x for empty starpoint. It also may be used for special symbols such as triangles, move highlighting or similar.
- n is a specialisation of m. It has the same result as using m and q as variables for the filename in the single letter naming convention, except with writing superimposed for analysis in boards. The letter l in the case of n is reserved for two letter incidences of otherwise single letter invocation images. For example, xl will have the same effect as "x", except for keeping the editing alignment, which is the purpose of thus extending a two letter version.
- q whether it's a corner, middle, side position, etc, and is
- md when its in the middle of the board, or at least not at the border
- ca if it is the upper left corner
- cb if it's the upper right corner
- cc if it's the lower right corner
- cd if it's the lower left corner
- sl if it's the left side border
- sr if it's the right side border
- st if it's the top side border
- sd if it's the down side border
List of Weiqi Position Images Under This Naming Convention:
Note: the above images are listed for clarity that they are part of the two letter system. They do not need to be duplicated because Wikipedia recognises a double whitespace and a single whitespace as one.