How to display gobans in our forums: [goban] ¶
By: climu on July 17, 2017, 4:56 p.m.
Here is a showcase of how we can display a goban in our forum posts.
The proper way to show a goban is with the
[goban]. Just replace
[goban] to show a goban.
Basic usage is
[goboon sgf=sgf_url][/goboon] where sgf_url is the url of a sgf file.
For now one can only use a sgf file that is hosted on OSR server (url start with https://openstudyroom.org/).
Since one can attach a sgf file to a forum post, it's no big deal.
When the post only have one attachment and this attachment is a sgf file, it's no need to specidy the
[goban] will work.
If you want to initialise your goban on a specific move, just enter
One can choose to show only a goban and hide the comments and game-info boxes by adding the option
One can choose the goban width (and hence height) with the option
Where value is pure css width such as:
Coordinates are show by default but one can choose to hide them by using:
One can choose to render a static diagram by using
IWith static diagram, you can choose what section of the diagram will be render using
limits=top, right, bottom, left.
Each limit indicate the number of row/line to be skipped.
Note that the
limits option is NOT compatible with coordinates. Hence using it will automaticly deactivate the coordinate around the goban.
Text adaptation: float
Default behavior is the goban taking all the width of the page: no text adaptation.
If you want the goban to be on the left or right of the page and the text to addapt on the other side, one can use the
You can write some comments between
[/goboon] like that:
[goboon]some coments here[/goboon].
In the comments, coordinates and move number will be interact with the goban with the folowing syntax:
move 13for move number
See the examples in next post.
Last edited by: climu on Jan. 23, 2018, 9:17 p.m., edited 18 times in total.