Template:Collection: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
|default=<!-- blank - no sub-collections should be the norm --> | |default=<!-- blank - no sub-collections should be the norm --> | ||
|intro===Sub-Collections in {{PAGENAME}} collection== | |intro===Sub-Collections in {{PAGENAME}} collection== | ||
}}{{#cargo_query: | }} | ||
{{#cargo_query: | |||
tables=CollectedIn | tables=CollectedIn | ||
|fields=_pageName | |tables=CollectedIn, Collection | ||
|where=(Collection = "{{PAGENAME}}" or Collection WITHIN "{{PAGENAME}}") and not _pageName Like "%.jpg" <!--imgs listed in gallery below--> | |join on=CollectedIn._pageName=Collection._pageName | ||
|group by=_pageName | |fields=CollectedIn._pageName | ||
|where=(Collection = "{{PAGENAME}}" or Collection WITHIN "{{PAGENAME}}") | |||
and Collection._pageName="" | |||
and not CollectedIn._pageName Like "%.jpg" <!--imgs listed in gallery below--> | |||
|group by=CollectedIn._pageName | |||
|limit=1000 | |limit=1000 | ||
|default={{PAGENAME}} collection has no pages | |default={{PAGENAME}} collection has no pages |
Revision as of 18:59, 2023 May 8
This template is used at the top of all collection pages to provide consistent listing of their contents.
Parameter | Description | Type | Status | |
---|---|---|---|---|
description | description | What defines this collection.
| String | required |
This template defines the table "Collection". View table.
Collection collection has no pages