Template:Category Page List: Difference between revisions
From Drinking and Dragons
Wizardoest (talk | contribs) No edit summary |
Wizardoest (talk | contribs) No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
This template renders a list of pages in a Category as a [https://getbootstrap.com/components/# | This template renders a list of pages in a Category as a [https://getbootstrap.com/components/#panels Panel]. | ||
* '''header''' is | * '''header''' is the Header at the top of the panel. | ||
* '''category''' is the Category, <code>Wizardoest:Character Build</code> | * '''category''' is the Category that pages are pulled from, e.g. <code>Wizardoest:Character Build</code> | ||
Further details at https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)#Templates. | |||
== Template == | == Template == | ||
Copy, paste, and edit the following to use this template. | |||
<pre> | <pre> | ||
{{Category List | {{Category Page List | ||
|header=Wizardoest's PCs | |header=Wizardoest's PCs | ||
|category=Wizardoest:Character Build}} | |category=Wizardoest:Character Build}} | ||
</pre> | </pre> | ||
__NOTOC__ | |||
</noinclude> | </noinclude> | ||
< | <div class="panel panel-default"> | ||
<div class="panel-heading"><h3 class="panel-title">{{{header}}}</h3></div> | |||
< | <div class="panel-body"> | ||
category={{{category}}} | {{#tag:DynamicPageList| | ||
category = {{{category}}} | |||
</ | order = ascending | ||
</ | mode = unordered | ||
}} | |||
</div> | |||
</div> |
Latest revision as of 02:38, 13 May 2016
Usage
This template renders a list of pages in a Category as a Panel.
- header is the Header at the top of the panel.
- category is the Category that pages are pulled from, e.g.
Wizardoest:Character Build
Further details at https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)#Templates.
Template
Copy, paste, and edit the following to use this template.
{{Category Page List |header=Wizardoest's PCs |category=Wizardoest:Character Build}}
{{{header}}}
Extension:DynamicPageList (DPL), version 3.3.4: Error: You need to include at least one category, or specify a namespace!