Drinking & Dragons

Template:Category Page List: Difference between revisions

From Drinking and Dragons
No edit summary
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>
This is the category: {{{category}}}category
This is the category: {{{category}}}


This is the header: {{{header}}}header
This is the header: {{{header}}}
<DPL>
 
category={{{category}}}
{{#tag:DynamicPageList|
format   = ,\n [[%PAGE%|%TITLE%]],,
category = {{{category}}}
</DPL>
order = ascending
format = ,\n [[%PAGE%|%TITLE%]],,
}}

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

This is the category: {{{category}}}

This is the header: {{{header}}}

Extension:DynamicPageList (DPL), version 3.3.4: Error: You need to include at least one category, or specify a namespace!