Difference between revisions of "Template:CategorySummary"

From Wikispooks
Jump to navigation Jump to search
(fix)
(fix...)
Line 9: Line 9:
 
|titles=Template with Problems
 
|titles=Template with Problems
 
|titlep=Templates with Problems
 
|titlep=Templates with Problems
<nowiki>}}</nowiki></poem></font></noinclude><includeonly>{{#ifeq: {{PAGESINCAT:{{{category|}}}}}>0|
+
<nowiki>}}</nowiki></poem></font></noinclude><includeonly>{{#if: {{PAGESINCAT:{{{category|}}}}}>0|
 
==={{PAGESINCAT:{{{category|}}}}} {{spz|{{PAGESINCAT:{{{category|}}}}}|{{{titles|}}}|{{{titlep|}}}}}===
 
==={{PAGESINCAT:{{{category|}}}}} {{spz|{{PAGESINCAT:{{{category|}}}}}|{{{titles|}}}|{{{titlep|}}}}}===
 
[[image:{{#if: {{{image|}}}|{{{image}}}|UnsourcedDocs.png}}|47px|left|link=:category:{{{category|}}}]]
 
[[image:{{#if: {{{image|}}}|{{{image}}}|UnsourcedDocs.png}}|47px|left|link=:category:{{{category|}}}]]
 
{{{description|}}}}}</includeonly>
 
{{{description|}}}}}</includeonly>

Revision as of 05:10, 23 July 2014

This template makes subsections for WikiSpooks:To Do.
It makes an appropriately entitled subsection for categories of pages which are non-empty.

Usage example:

{{CategorySummary
|image=bug1.jpg
|description=Wikispooks has a [[:Category:Templates with Problems|list of templates which are not working properly]]. These are all in active use, so would be a great help to the site if you can fix [[Help:templates |templates]].
|category=Templates with Problems
|titles=Template with Problems
|titlep=Templates with Problems
}}