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

Template:Quoridorboard

From Board Game Arena
Jump to navigation Jump to search

{{quoridorboard}} template

A
B
C
D
E
F
G
H
I
9
9
8
8
7
7
6
6
5
5
4
4
3
3
2
2
1
1
A
B
C
D
E
F
G
H
I

To insert this Quoridor board template into a BGA wiki page, simply type {{quoridorboard}} when editing the page, or alternatively copy one of the examples below.

Note: Game Help pages (e.g. 'GameHelpQuoridor') display on Rules Summary pages e.g. https://boardgamearena.com/gamepanel?game=quoridor under HOW TO PLAY? > See More > RULES SUMMARY

Available parameters

Parameter
Default value
Example
Description
a1
null
{{quoridorboard |a1={{blackStone}}}}
Optional: place a pawn on any square using [letter][digit]={{templateName}} where [letter][digit] is the algebraic coordinate.
a1h
null
{{quoridorboard |a1h=1}}
Optional: place a pawn on any square using [letter][digit][orientation]={{templateName}} where [letter][digit] is the algebraic coordinate of the closest square to a1 that the wall touches and [orientation] is the wall orientation as horizontal (h) or vertical (v).
highlighta8
null
{{quoridorboard |highlighta8=red}}
Optional: highlight any square using highlight[letter][digit]=[string] where [string] is a CSS colour e.g. blue or rgba(0,0,255,0.5) for semi-transparency.
squareSize
40
{{quoridorboard |squareSize=45}}
Optional: specify the square dimensions in px units.
cornerRadius
20
{{quoridorboard |cornerRadius=10}}
Optional: specify the corner radius in px units.
hideNotation
[A-H]/[1-8]
{{quoridorboard |hideNotation=}}
Optional: hide algebraic notation.
gridlineThickness
10
{{quoridorboard |gridlineThickness=12}}
Optional: specify the gridline thickness in px units.
gridColour
#a98
{{quoridorboard |gridColour=black}}
Optional: specify the grid colour as a CSS colour.
notationColour
#edc
{{quoridorboard |notationColour=black}}
Optional: specify the notation colour as a CSS colour.

Example

A
B
C
D
E
F
G
H
I
9
9
8
8
7
7
6
6
5
5
4
4
3
3
2
2
1
1
A
B
C
D
E
F
G
H
I
{{quoridorboard
|e6={{blackStone}}
|e4={{whiteStone}}
|e5v=1
|e3h=1
|d4v=1
|d6h=1
|c3h=1
|f6h=1
|highlighte5=#0808
|highlightf4=#0808
}}