Jump to content

Template:CategoryList

From Squirrel's Lair
Revision as of 13:56, 2021 October 4 by Ttenbergen (talk | contribs) (Created page with "<noinclude> This template adds a listing of '''all articles in a category''', taking the category name as parameter. It excludes the page itself. To use, copy and paste foll...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template adds a listing of all articles in a category, taking the category name as parameter. It excludes the page itself.

To use, copy and paste following to the end of most new articles just above the categories:

{{CategoryList | <category name>}}

{{#cargo_query: tables=_pageData |fields=_pageName |where=_categories HOLDS 'Interactive Display' and _pageName!="N/A" and not _pageName Like "Category:%" |limit=5000 |default=none found }}



{{#cargo_query: tables=_pageData |fields=_pageName |where=_categories HOLDS 'Section' and _pageName!="N/A" and not _pageName Like "Category:%" |limit=5000 |default=none found }}