Template:View Images Link/doc: Difference between revisions
No edit summary |
|||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
| browse_3 = | | browse_3 = | ||
| browse_4 = | | browse_4 = | ||
}} | }} | ||
</PRE> | </PRE> | ||
| Line 23: | Line 22: | ||
* browse_3 - the third level of the browse hierarchy | * browse_3 - the third level of the browse hierarchy | ||
* browse_4 - the fourth 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 =. | 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 == | |||
=== 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. | 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 | If the collection is published it displays a link to the collection browse page with the browse hierarchy displayed in a numbered list. | ||
== Output == | == Output == | ||
=== Collection Not Yet Published === | === Collection Not Yet Published === | ||
| Line 40: | Line 40: | ||
| browse_3 = Parish | | browse_3 = Parish | ||
| browse_4 = Record Type and Years | | browse_4 = Record Type and Years | ||
}} | }} | ||
</PRE> | </PRE> | ||
| Line 50: | Line 49: | ||
| browse_3 = Parish | | browse_3 = Parish | ||
| browse_4 = Record Type and Years | | browse_4 = Record Type and Years | ||
}} | }} | ||
=== Collection Published === | === Collection Published === | ||
<PRE> | <PRE> | ||
{{View_Images_Link | {{View_Images_Link | ||
| CID = | | CID = 2333770 | ||
| browse_1 = | | browse_1 = Freedmen's Bureau Office or Subordinate Field Office Location | ||
| browse_2 = | | browse_2 = NARA Roll Number-Contents | ||
| browse_3 = | | browse_3 = Something Else | ||
| browse_4 = | | browse_4 = And Yet Another Thing | ||
}} | }} | ||
</PRE> | </PRE> | ||
{{View_Images_Link | {{View_Images_Link | ||
| CID = | | CID = 2333770 | ||
| browse_1 = | | browse_1 = Freedmen's Bureau Office or Subordinate Field Office Location | ||
| browse_2 = | | browse_2 = NARA Roll Number-Contents | ||
| browse_3 = | | browse_3 = Something Else | ||
| browse_4 = | | browse_4 = And Yet Another Thing | ||
}} | }} | ||
=== Collection Published With 2-Level Browse === | === Collection Published With 2-Level Browse === | ||
<PRE> | <PRE> | ||
| Line 83: | Line 79: | ||
| browse_3 = | | browse_3 = | ||
| browse_4 = | | browse_4 = | ||
}} | }} | ||
</PRE> | </PRE> | ||
| Line 93: | Line 88: | ||
| browse_3 = | | browse_3 = | ||
| browse_4 = | | browse_4 = | ||
}} | }} | ||
== Acknowledgements == | == Acknowledgements == | ||
Special thanks to [[User:Ccsmith|Ccsmith]] for his help with the coding. | Special thanks to [[User:Ccsmith|Ccsmith]] for his help with the coding. | ||
Revision as of 10:09, 30 April 2018
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[edit source]
This template uses the following parameters:
{{View_Images_Link
| scheduled =
| CID =
| browse_1 =
| browse_2 =
| browse_3 =
| browse_4 =
}}
Values[edit source]
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[edit source]
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 in a numbered list.
Output[edit source]
Collection Not Yet Published[edit source]
{{View_Images_Link
| scheduled =
| CID = 1614809
| browse_1 = Department
| browse_2 = City or Town
| browse_3 = Parish
| browse_4 = Record Type and Years
}}
You will be able to view the images in this collection when it is published.
Collection Published[edit source]
{{View_Images_Link
| CID = 2333770
| browse_1 = Freedmen's Bureau Office or Subordinate Field Office Location
| browse_2 = NARA Roll Number-Contents
| browse_3 = Something Else
| browse_4 = And Yet Another Thing
}}
View images in this collection by visiting the Collection Browse Page:
- Select Freedmen's Bureau Office or Subordinate Field Office Location
- Select NARA Roll Number-Contents
- Select Something Else
- Select And Yet Another Thing to view the images
Collection Published With 2-Level Browse[edit source]
{{View_Images_Link
| CID = 2333770
| browse_1 = Freedmen's Bureau Office or Subordinate Field Office Location
| browse_2 = NARA Roll Number-Contents
| browse_3 =
| browse_4 =
}}
View images in this collection by visiting the Collection Browse Page:
- Select Freedmen's Bureau Office or Subordinate Field Office Location
- Select NARA Roll Number-Contents to view the images
Acknowledgements[edit source]
Special thanks to Ccsmith for his help with the coding.