Drinking & Dragons

Template:Category Page List: Difference between revisions

From Drinking and Dragons
Created page with "<noinclude> == Usage == This template renders a list of pages in a Category as a [https://getbootstrap.com/components/#list-group List Group]. * '''header''' is optional. * ''..."
 
No edit summary
Line 15: Line 15:
You may ignore any errors that you see below. It is because the code that outputs the template doesn't have default values.
You may ignore any errors that you see below. It is because the code that outputs the template doesn't have default values.
</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> }}

Revision as of 21:06, 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