Template:Notation

{	"params": { "image": { "description": "Image or screenshot used to describe the annotated position", "type": "url" },		"commentary": { "aliases": [ "2"			],			"description": "Optional commentary to describe the position", "type": "string" },		"pgn": { "aliases": [ "1"			],			"description": "PGN string", "type": "string", "required": true },		"imageposition": { "description": "Defines where the image, if any, will be placed in relation to the main text. May be 'left', 'top', 'right' or 'bottom'" }	},	"description": "Displays a syntax-highlighted box containing a 5DPGN-encoded position. Features a link to chessin5d", "format": "inline" }

Usage
This template enables syntax highlight for 5DPGN and neatly bundles things together in a single box.

The most basic usage is by simply invoking this template with as only parameter the 5DPGN string.

The character  is replaced with a newline, so the following invocation is equivalent to the previous one:

Both of these produce the following:

Commentary
You can add a commentary by giving the template a second argument, or by setting the  parameter:

-- OR --

This produces:

Images
You can also attach an image to the notation (screenshot, schema, etc.) To do so, you will need the filename of an already-uploaded image; you can get it by first uploading an image from the source editor, and then grabbing the filename that is in the inserted code:

You can then pass this filename as the  parameter:

By default, the image will be put on top of the notation. You can change this with the  parameter, which takes as value "top", "bottom", "left" and "right":

This last example renders as follows:

Full Example
Please ignore the following block, as it is an artifact of the way that fandom.com renders a template's page.