GoWikissä voit joko syöttää diagrammeja käsin allaolevan diagrammigeneraattorin avulla, tai sitten linkittää suoraan SGF-tiedostoihin käyttäen Sgf-pluginia.

GoDiagram -plugin#

Syntaksi on lyhykäisyydessään seuraava:

[{GoDiagram  
label='Tähän jotain tekstiä'
first='white'

| . . . .
| 1 . 2 .
| . X . .
| . . . .
+--------
}]

josta tulee:

|...
1.2.
|#..
+---
Dia: Tähän jotain tekstiä

Huomaa, että välittömästi kuvan jälkeen olevat kommentit tulevat kuvan oikealle puolelle. Tripla-backslash (\) katkaisee ja aloittaa siististi uudelta riviltä.


Parametrit:#

  • label : Teksti joka sijoitetaan kuvan alle. Valinnainen. Voi sisältää ihan mitä vaan wikitekstiä, ml. hyperlinkkejä, jne. Huomaa kuitenkin, että erikoismerkit pitää eristää \-merkillä, esmes \' ==> '. Samaten jos haluat rivinvaihdon, sinun pitää kirjoittaa neljä '\' -merkkiä :-/.
  • first : Numeroiduissa siirroissa merkitsee kumpi onpi ensin, musta eli valkoinen. 'white' tarkoittaa sitä, että ykkösellä merkitty siirto on valkoisen. Tämäkin on valinnainen, ja jos sitä ei ole määritelty, niin silloin ykkönen on mustan siirto.

Merkit:

  • |, +, - = laidat.
  • . = tyhjä
  • , = hoshi
  • X, # = musta
  • O = valkea
  • Xt, Ot = kolmiolla (t for triangle) merkitty mustan tai valkean kivi.
  • 1,2,3,...,99. Numeroitu siirto.
  • a,b,c,d,...z. Kirjain.

Sgf-plugin#

Voit myös upottaa sivuille Smart Game Format-muodossa olevia pelitiedostoja suoraan käyttäen Sgf-pluginia. Syntaksi on seuraava:

[{Sgf src='<liitteen nimi tai URL>' align='left|right|none'}]

missä

  • src = osoite SGF-tiedostoon. Tämä voi olla joko liitetiedoston nimi (esim. "TurnausTulokset/antti-vesa.sgf") tai kokonainen URL-osoite ("http://suomigo.net/attach/TurnausTulokset/antti-vesa.sgf"). Huomatkaa, että SGF-tiedostoja suomigo.netin ulkopuolelta ei voi lisätä, johtuen Javascriptin turvallisuusrajoituksista.
  • align = haluatko playerin oikealle ("right") vai vasemmalle ("left")puolelle, vaiko vain omaan ylhäiseen yksinäisyyteensä ("none").

Esimerkki:

Vasemmalla puolella olevan diagrammin on tuottanut seuraavanlainen lauseke: [{Sgf src='Diagrammigeneraattori/13cwf2.sgf' align=left}]

Authentication code:

Toolbar

Comment signature

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
sgf
13cwf2.sgf 1.6 kB 1 10-Jan-2009 14:25 Janne Jalkanen Kang Dongyun 9d vs Lee Sedol Kuksu

Here's a short reminder on the most common formatting rules you have at your disposal. A complete list is available in TextFormattingRules.

(empty line)     Make a paragraph break.
----             Horizontal ruler
[link]           Create hyperlink to "link", where "link" can be either an internal 
                 WikiName or an external link (http://)
[text|link]      Create a hyperlink where the link text is different from the actual 
                 hyperlink link.
[text|wiki:link] Create a hyperlink where the link text is different from the 
                 actual hyperlink link, and the hyperlink points to a named Wiki. 
                 This supports interWiki linking.

*                Make a bulleted list (must be in first column). Use more (**) 
                 for deeper indentations.
#                Make a numbered list (must be in first column). Use more (##, ###) 
                 for deeper indentations.

!, !!, !!!       Start a line with an exclamation mark (!) to make a heading. 
                 More exclamation marks mean bigger headings.

__text__         Makes text bold.
''text''         Makes text in italics (notice that these are single quotes ('))
{{text}}         Makes text in monospaced font.
;term:def        Defines 'term' with 'def'.  Use this with empty 'term' to make short comments.
\\               Forced line break (please use sparingly).

|text|more text| Makes a table. Double bars for a table heading.

Don't try to use HTML, since it just won't work.

To embed images just put them available on the web using one of the approved formats, and they will get inlined automatically. To see the list of approved formats, go check SystemInfo.

To make a code block, use triple {'s to open, and triple }'s to close.

(Wondering where this text comes from? It's on a page called Edit Page Help, which you can edit too!)