Template:Collection: Difference between revisions

From Charleswood Historical Society
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
tables=Collection_assignment
tables=Collection_assignment
|fields=_pageName
|fields=_pageName
|where=Collection={{PAGENAME}}
|where=Collection="{{PAGENAME}}"
|limit=1000
|limit=1000
|default={{PAGENAME}} collection has no contents
|default={{PAGENAME}} collection has no contents
Line 35: Line 35:
|join on=Collection_assignment._pageName=Image_description._pageName
|join on=Collection_assignment._pageName=Image_description._pageName
|fields=Collection_assignment._pageName, Description
|fields=Collection_assignment._pageName, Description
|where=Collection={{PAGENAME}}
|where=Collection="{{PAGENAME}}"
|limit=1000
|limit=1000
|default=There are no pictures in the {{PAGENAME}} collection
|default=There are no pictures in the {{PAGENAME}} collection

Revision as of 23:35, 2023 May 5

This template is used at the top of all collection pages to provide consistent listing of their contents.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
descriptiondescription

What defines this collection.

Example
This is a collection of information and images about families who live or have lived in Charleswood.
Stringrequired

{{{description}}}

Error: Table Collection_assignment not found.
Error: Table Collection_assignment not found.