Template:Goban 9x9

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Example[edit]

{{Goban 9x9
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
|24|u=u|d=d|l=l|r=r}}
Go ul.svg Go u.svg Go u.svg Go u.svg Go u.svg Go u.svg Go u.svg Go u.svg Go ur.svg
Go l.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go r.svg
Go l.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go r.svg
Go l.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go r.svg
Go l.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go r.svg
Go l.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go r.svg
Go l.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go r.svg
Go l.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go board diagram image.svg Go r.svg
Go dl.svg Go d.svg Go d.svg Go d.svg Go d.svg Go d.svg Go d.svg Go d.svg Go dr.svg

Parameters[edit]

This template can be used to make go board, with stones and various other marks. For example,

{{Goban 5x5
 |  |  |  |  | b
 | b|bT| A|-c| b
 |  | c|w2|  |  
 | w| -| w| b| w
 |  |  | w| w|  
|24|u=u|d=d|l=l|r=r}}
produces
Go ul.svg Go u.svg Go u.svg Go u.svg Go b.svg
Go b.svg Go bT.svg Go A.svg Go -c.svg Go b.svg
Go l.svg Go c.svg Go w2.svg Go board diagram image.svg Go r.svg
Go w.svg Go -.svg Go w.svg Go b.svg Go w.svg
Go dl.svg Go d.svg Go w.svg Go w.svg Go dr.svg
  • The first parameters are one or two letters codes (sometimes three), that specify which tile is used. Though a preceding space is OK, be sure not to leave a space after that code.
  • On the last line, the "24" parameter is the size of each tile (in pixels), it should preferably be even for correct centering of cells.
  • The last four parameters |u=u|d=d|l=l|r=r specify which borders should be drawn (up, down, left and right). For instance, to draw an upper right corner, the final code is simply |u=u|r=r (and remember to place the hoshi point accordingly).

NB: The last four parameters are not used in the 19×19 Goban template.

Static stones and Joseki series[edit]

Go b.svg
b
Go bS.svg
bS
Go bT.svg
bT
Go b0.svg
b0
Go b1.svg
b1
... Go b9.svg
b9
Go w.svg
w
Go wS.svg
wS
Go wT.svg
wT
Go w0.svg
w0
Go w1.svg
w1
... Go w9.svg
w9

These stone series are available as black (b) and white (w). They can be marked by a triangle (T) or a number from 1 to 9 (allowing short sequences).

Fuseki series[edit]

Go 00.svg
00
Go 02.svg
02
Go 04.svg
04
... Go 96.svg
96
Go 98.svg
98
Go 01.svg
01
Go 03.svg
03
Go 05.svg
05
... Go 97.svg
97
Go 99.svg
99

These 100 tiles are used for game transcription, where the numbering goes beyond 10. Even numbers are always white, and odd numbers are always black (since black gets to make the first move of the game). The numbering is limited to the 00-99 range for practical reasons, it is assumed that there will be a figure change at least every 100 play.

Note the difference between 01 (with a leading zero) and b1.

Board and board marks[edit]

The useful marks are:

  • Capital letters from A to I, create the corresponding marks;
  • An hyphen or a small x creates the hoshi point.
  • A Capital X creates an X-mark.
  • A lowercase c creates a small red circle.

The available tiles are:

Go A.svg
A
Go B.svg
B
Go C.svg
C
Go D.svg
D
Go E.svg
E
Go F.svg
F
Go G.svg
G
Go H.svg
H
Go I.svg
I
Go X.svg
X
Go ul.svg
ul
Go u.svg
u
Go u.svg
u
Go ur.svg
ur
Go l.svg
l
Go board diagram image.svg Go -.svg
-
Go r.svg
r
Go dl.svg
dl
Go d.svg
d
Go d.svg
d
Go dr.svg
dr
Go ulc.svg
ulc
Go uc.svg
uc
Go uc.svg
uc
Go urc.svg
urc
Go lc.svg
lc
Go c.svg
c
Go -c.svg
-c
Go rc.svg
rc
Go dlc.svg
dlc
Go dc.svg
dc
Go dc.svg
dc
Go drc.svg
drc
Mark letters (and X) are capital. Empty board tiles Circled board positions
(just add a "c" to the end)

Note: the appropriate cell codes for the borders are generated automatically by default, so you can leave these parameters blank, and fill only the position of stones, or circled empty positions.

other sizes[edit]