Description templates

Description templates allow you to apply common elements (text or HTML) to all category or file descriptions. If you wish to display the same text or HTML code in addition to or instead of the description, you can do so using description templates. The advantage of a description template is that it provides you with several "variables" containing category or file information, as well as conditional structures for testing the presence of this information.

In the case of metadata variables (EXIF, IPTC or XMP), enter the tag name corresponding to the desired information after the ":" character. For example: {EXIF:DateTimeOriginal}. Tag names are available by clicking on the "Show tag names" link on the metadata management pages accessible via the Features section.

Example of a description template for categories:

{IF(DESCRIPTION)}<a class="showhide" rel="catdesc_{ID}" style="border-bottom-style:dotted;cursor:pointer;">Show description</a>

<span id="catdesc_{ID}" style="display:none;">{DESCRIPTION}</span>{ENDIF(DESCRIPTION)}