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:


</noinclude>__NOEDITSECTION__{{{description| }}}
</noinclude>__NOEDITSECTION__{{{description| }}}
{{#cargo_query:
<!--q pages -->{{#cargo_query:
|tables=CollectedIn, Collection
|tables=CollectedIn, Collection
|join on=CollectedIn._pageName=Collection._pageName <!-- yes _pN on _pN since we are checking that the pages found are not sub-collections -->
|join on=CollectedIn._pageName=Collection._pageName <!-- yes _pN on _pN since we are checking that the pages found are not sub-collections -->
Line 37: Line 37:
|format=ul
|format=ul
}}  
}}  
{{#cargo_query:
<!-- q sub-collections -->{{#cargo_query:
intro=Sub-collections:  
intro=Sub-collections:  
|format=ul
|format=ul
Line 49: Line 49:
|intro===Sub-Collections in {{PAGENAME}} collection==
|intro===Sub-Collections in {{PAGENAME}} collection==
}}
}}
{{#cargo_query:
<!-- q images -->{{#cargo_query:
intro==={{PAGENAME}} gallery==
intro==={{PAGENAME}} gallery==
|tables=CollectedIn, Image_description
|tables=CollectedIn, Image_description
Line 59: Line 59:
|default=<!-- if no images show nothing -->
|default=<!-- if no images show nothing -->
|format=table
|format=table
<!-- stopped showing as gallery because can't show long descriptions there
|format=table
|mode=packed-hover
|caption field=Description
|show bytes=0
|show dimensions=0
|show filename=0 -->
}}
}}
<div style="display: none;"><includeonly>
<div style="display: none;"><includeonly>

Revision as of 23:12, 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