Difference between revisions of "Template:CategorySummary"

From Wikispooks
Jump to navigation Jump to search
(A start)
 
(fix)
Line 10: Line 10:
 
|titlep=Templates with Problems
 
|titlep=Templates with Problems
 
<nowiki>}}</nowiki></poem></font></noinclude><includeonly>
 
<nowiki>}}</nowiki></poem></font></noinclude><includeonly>
{{#ifeq: {{PAGESINCAT:{{{category|}}}}}>0|
+
{{#if: {{PAGESINCAT:{{{category|}}}}}>0|
 
=={{spz|{{PAGESINCAT:{{{category|}}}}}|{{{titles|}}}|{{{titlep|}}}}}==
 
=={{spz|{{PAGESINCAT:{{{category|}}}}}|{{{titles|}}}|{{{titlep|}}}}}==
 
{{{description|}}}}}
 
{{{description|}}}}}
 
</includeonly>
 
</includeonly>

Revision as of 04:38, 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
}}