Drinking & Dragons

Difference between revisions of "Template:Category Page List"

From Drinking and Dragons
m (Wizardoest moved page Template:Category List as List Group to Template:Category Page List without leaving a redirect)
Line 9: Line 9:
== Template ==
== Template ==
<pre>
<pre>
{{Category List as List Group
{{Category Page List
|header=Wizardoest's PCs
|header=Wizardoest's PCs
|category=Wizardoest:Character Build}}
|category=Wizardoest:Character Build}}
</pre>
</pre>


== Errors on this page ==
== You can ignore the errors found below ==
You may ignore any errors that you see below. It is because the code that outputs the template doesn't have default values.
It is because the code that outputs the template doesn't have default values.
</noinclude>
</noinclude>


<div class="panel panel-default">
{{#if:{{{header}}}|<div class="panel-heading">{{{header}}}</div>|}}
  <div class="panel-body">
{{#tag:DynamicPageList|
{{#tag:DynamicPageList|
category = {{{category}}}
category = {{{category}}}
Line 23: Line 26:
mode = unordered
mode = unordered
}}
}}
  </div>
</div>

Revision as of 14:39, 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

Further details at https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)#Templates.

Template

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

You can ignore the errors found below

It is because the code that outputs the template doesn't have default values.


{{{header}}}

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