Difference between revisions of "Template:CategorySummary"

From Wikispooks
Jump to navigation Jump to search
(subsection)
(remove |imagelink)
Line 5: Line 5:
 
<font face="courier"><poem><nowiki>{{</nowiki>{{PAGENAME}}
 
<font face="courier"><poem><nowiki>{{</nowiki>{{PAGENAME}}
 
|image=bug1.jpg
 
|image=bug1.jpg
|imagelink=:category:Templates with Problems
 
 
|description=Wikispooks has a <nowiki>[[</nowiki>:Category:Templates with Problems|list of templates which are not working properly<nowiki>]]</nowiki>. These are all in active use, so would be a great help to the site if you can fix <nowiki>[[</nowiki>Help:templates |templates<nowiki>]]</nowiki>.
 
|description=Wikispooks has a <nowiki>[[</nowiki>:Category:Templates with Problems|list of templates which are not working properly<nowiki>]]</nowiki>. These are all in active use, so would be a great help to the site if you can fix <nowiki>[[</nowiki>Help:templates |templates<nowiki>]]</nowiki>.
 
|category=Templates with Problems
 
|category=Templates with Problems
Line 13: Line 12:
 
{{#if: {{PAGESINCAT:{{{category|}}}}}>0|
 
{{#if: {{PAGESINCAT:{{{category|}}}}}>0|
 
==={{PAGESINCAT:{{{category|}}}}} {{spz|{{PAGESINCAT:{{{category|}}}}}|{{{titles|}}}|{{{titlep|}}}}}===
 
==={{PAGESINCAT:{{{category|}}}}} {{spz|{{PAGESINCAT:{{{category|}}}}}|{{{titles|}}}|{{{titlep|}}}}}===
[[image:{{{image|}}}|47px|left|link={{{imagelink|}}}]]
+
[[image:{{{image|}}}|47px|left|link=:category:{{{category|}}}]]
 
{{{description|}}}}}
 
{{{description|}}}}}
 
</includeonly>
 
</includeonly>

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