This is a documentation for Board Game Arena: play board games online !

Template:GoBoard

From Board Game Arena
Jump to navigation Jump to search
A
B
C
D
E
F
G
H
J
A
B
C
D
E
F
G
H
J
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
K
L
M
N
K
L
M
N
10
11
12
13
10
11
12
13
O
P
O
P
14
15
14
15
Q
R
S
T
Q
R
S
T
16
17
18
19
16
17
18
19

Examples

{{goBoard|squareSize=10|starSize=0|hideNotation=}}

Go

Fig. 2 Repeating the same position with the same player turn is illegal
A
B
C
D
E
F
G
H
J
A
B
C
D
E
F
G
H
J
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
White has just placed their stone on c7 and captured black's stone on d7. Black cannot play on d7 again (capturing c7) because it would be the same position with the same player turn.
<div style="display:flex; flex-flow: row wrap; width:min-content; background:#8882; border-radius:0.5rem; align-content:flex-start">
  <div style="padding:1.5rem"><b>Fig. 2 Repeating the same position with the same player turn is illegal</b>
  </div>
  <div>
{{goBoard|size9=

| highlightd7=red 5

| c7={{whiteStone}}
| d6={{whiteStone}}
| d8={{whiteStone}}
| e7={{whiteStone}}

| b7={{blackStone}}
| c6={{blackStone}}
| c8={{blackStone}}
}}
  </div>
  <div style="padding:1.5rem">White has just placed their stone on c7 and captured black's stone on d7. Black cannot play on d7 again (capturing c7) because it would be the same position with the same player turn.
  </div>
 </div>

Parameters

Id
Default
Example
Description
size9
19
{{goBoard|size9=}}
board size preset 9×9.
size13
19
{{goBoard|size13=}}
board size preset 13×13.
size15
19
{{goBoard|size15=}}
board size preset 15×15.
α#
empty
{{goBoard|a1={{BlackStone}}}}
place a {{gameIcon}} on any intersection where [α][#] is the algebraic coordinate.
highlightα#
none
{{goBoard|highlighta1=red 3}}
intersection highlight circle color as a CSS color and weight in pixels.
hideNotation
visible
{{goBoard|hideNotation=}}
hide algebraic notation.
squareSize
30
{{goBoard|squareSize=40}}
square size in pixels.
cornerRadius
8
{{goBoard|cornerRadius=10}}
corner radius in pixels.
lineWidth
1
{{goBoard|lineWidth=2}}
line width in pixels.
starSize
4.5
{{goBoard|starSize=0}}
star (dots for handicap) size in pixels.
boardColor
#e5c079 (light brown)
{{goBoard|boardColor=lightgreen}}
board color as a CSS color.
lineColor
#222 (black)
{{goBoard|lineColor=blue}}
line and notation color as a CSS color.

Pages using Template:GoBoard