Template:Collection: Difference between revisions

From Charleswood Historical Society
Jump to navigation Jump to search
No edit summary
No edit summary
Line 49: Line 49:
|intro===Sub-Collections in {{PAGENAME}} collection==
|intro===Sub-Collections in {{PAGENAME}} collection==
}}
}}
{{#cargo_query:
<!--{{#cargo_query:
tables=CollectedIn
tables=CollectedIn
|tables=CollectedIn, Collection
|tables=CollectedIn, Collection
Line 62: Line 62:
|intro===Items in {{PAGENAME}} collection==
|intro===Items in {{PAGENAME}} collection==
|format=ul
|format=ul
}}
}} -->
{{#cargo_query:
{{#cargo_query:
intro==={{PAGENAME}} gallery==
intro==={{PAGENAME}} gallery==

Revision as of 23:11, 2023 May 12

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

This template defines the table "Collection". View table.



Collection collection has no pages

|fields=CollectedIn._pageName |where=(Collection = "Collection" or Collection WITHIN "Collection")

      and Collection._pageName=""
      and not CollectedIn._pageName Like "%.jpg" 

|group by=CollectedIn._pageName |limit=1000 |default=Collection collection has no pages |intro===Items in Collection collection== |format=ul }} -->