Script error: No such module "Uses TemplateStyles".
This template takes Portable Game Notation, aka "pgn", or, optionally, just the Algebraic notation part of the pgn, and a list of positions, and generates a series of {{Chess diagram}}s.
Parameters
pgn = - Mandatory parameter, containing the pgn or the algebraic notation of the game. No in-notation comments are allowed. If original pgn contains comments, they must be removed.
Series of move = parameters, determining which positions will be displayed, using the {{Chess diagram}} template. The value of this parameter will be passed to the diagram as "footer". Each move is in the form of <number>l or <number>d, for position after white move or after black move, e.g.
12l = position after 12. Nxg6 : white captures with Knight
12d = position after 12... fxg6: black captures Knight with pawn
An alternative way to display positions, showing a series of consecutive positions, is:
from1 =
to1 =
comments1 = {text} {text} {text} ...
Where "from1" is the first position to display, and "to1" is the last, (again, using "17l" or "13d" notation), and "comments1" is the series of footer text, each enclosed in { ... }, to be displayed as footer to each position in the series.
Multiple series of positions can be requested, using "from2/to2/comments2" and so on.
Note that requesting the same position multiple times, i.e., requesting it both as individual position and as part of a series, or using 2 series with some overlap, will result in displaying the same position more than once.
Regardless of the order and method the positions were requested, they will be displayed in the game's order - 12d always before 13l.
display notation = optional parameter, tells the template to display the parameter passed as "pgn", below the diagrams.