Template:View Images Link/doc

This template is intended for the Wiki User Guidance team when creating browse instructions for Historical Records Collections. In its initial configuration it is designed to support a browse hierarchy with four levels.

Parameters
This template uses the following parameters: 



Values
The following values are accepted:
 * scheduled = - used to identify if the collection is published
 * CID - the CID number goes here. The CID does not have to be prefixed with the letters CID.
 * browse_1 - the first level of the browse hierarchy
 * browse_2 - the second level of the browse hierarchy
 * browse_3 - the third level of the browse hierarchy
 * browse_4 - the fourth level of the browse hierarchy

If the browse levels are not used the parameters must be left blank, and not removed. The only parameter that can be deleted is scheduled =.

Evaluation
The template evaluates the parameters to determine first if the collection is published. If the collection is not published it returns, "You will be able to view the images in this collection when it is published." and ends.

If the collection is published it displays a link to the collection browse page with the browse hierarchy displayed as a numbered list.

Collection Not Yet Published




Collection Published




Collection Published With 2-Level Browse




Acknowledgements
Special thanks to Ccsmith for his help with the coding.