Jump to content

Template:CategoryList

From Squirrel's Lair
Revision as of 19:14, 2021 October 5 by Ttenbergen (talk | contribs)

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>}}

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


{{{1}}}

  • Actioned 2021-10-31


  • Cargo

{{#cargo_store: _table = ToDo |what=computer |question={{{1}}} |actionDt={{subst:Now}} }}

Find a better way than Categories. a la dx categories in ccmdb.

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