Drinking & Dragons

Template:Category Page List: Difference between revisions

From Drinking and Dragons
No edit summary
No edit summary
Line 16: Line 16:
</noinclude>
</noinclude>
<ul class="list-group">
<ul class="list-group">
{{#if: {{{header}}} | <li class="list-group-item"><strong>{{{header}}}</strong></li> }}
{{#if: {{{header}}} | <li class="list-group-item"><strong>{{{header}}}</strong></li>|empty }}
<DPL>
<DPL>
category={{{category}}}
category={{{category}}}

Revision as of 21:08, 12 May 2016

Usage

This template renders a list of pages in a Category as a List Group.

  • header is optional.
  • category is the Category, Wizardoest:Character Build

Template

{{Category List as List Group
|header=Wizardoest's PCs
|category=Wizardoest:Character Build}}

Errors on this page

You may ignore any errors that you see below. It is because the code that outputs the template doesn't have default values.

  • {{{header}}}
  • Extension:DynamicPageList (DPL), version 3.3.4: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants