Jigs Template Language Keys

Album

!album.name Returns the albums name if specified in the "album.txt" file, otherwise returns the directory name (minus underscores).
!album.link Returns the directory path to the output version of the specified album
!album.samplepicture Returns the albums name if specified in the "album.txt" file, otherwise returns a blank string ("").
!album.descriptionMap Returns the value associated with the key descriptionMap in the "album.txt" file, if it exists. Note: the keys "name", "link", and "samplepicture" are invalid.

JTL

!jtl.next Returns the next page of this type in the current album. If this is the last page of this type, the first page of this type is returned. Analogous to !page.pageType.next for this pageType.
!jtl.previous Returns the previous page of this type in the current album. If this is the first page of this type, the last page of this type is returned.

Page

!page.number.# Returns the number of page #. This command may seem a little funny, but it is useful for getting the total number of pages of this type (!page.number.+), and making a numerical listing of all pages of this type (!page.number.*).
!page.number.current Returns the page number of the page type being rendered. (e.g. the 5th page)
!page.parent.# See !parent.#
!page.pageType.name.# Returns the name of the page pageType.
!page.pageType.link.# Returns the path to the page of type pageType with image #. (?)
!page.pageType.previous Returns the previous page of type pageType.
!page.pageType.current Returns the current page of type pageType.
!page.pageType.next Returns the next page of type pageType.

Parent

!parent.# Returns the default page of the #th parent album (e.g. 1=parent album, 2=grandparent album, etc.)

Picture

!picture.name.# The name associated with the picture.
!picture.pageType.link.# Returns the path to the page of type pageType with the current picture.
!picture.pictType.size.# Returns the size of the file pictType image (in human readable format). Note: this is the size of the image that is returned when a pictType image is requested.
!picture.pictType.width.# Returns the width of image of type pictType. Note this is the width of the pictType image, and may not be actual the width of picture returned when a pictType image is requested (such as in cases where the image type is set to link to original picture.
!picture.pictType.height.# Returns the height of image of type pictType. See above note.
!picture.pictType.# Returns the path to the image of type pictType.
!picture.descriptionMap.# Returns the value associated with the key descriptionMap in the image description file (the one created/modified by the Exif Reader and/or the PictureDescriptionProgram), if it exists.

SubAlbum

!subalbum.# Return the #th subalbum of this album.