Difference between revisions of "Template:CategorySummary"

From Wikispooks
Jump to navigation Jump to search
(remove |imagelink)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template makes subsections for [[WikiSpooks:To Do]].'''[[Category:WikiSpooks Templates]]<br/>
+
<noinclude>'''This template was coded expressly for [[Wikispooks:To Do]].'''[[Category:Wikispooks Templates]]<br/>
 
It makes an appropriately entitled subsection for categories of pages which are non-empty.<br/>
 
It makes an appropriately entitled subsection for categories of pages which are non-empty.<br/>
 
<br/>
 
<br/>
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>
+
<nowiki>}}</nowiki></poem></font></noinclude><includeonly>{{#ifeq: {{PAGESINCAT:{{{category|}}}|R}}|0||
{{#if: {{PAGESINCAT:{{{category|}}}}}>0|
+
==={{PAGESINCAT:{{{category|}}}}} {{spz|{{PAGESINCAT:{{{category|}}}|R}}|{{{titles|}}}|{{{titlep|}}}| ''(Currently empty...<!--Why does this show?... -->)''}}===
==={{PAGESINCAT:{{{category|}}}}} {{spz|{{PAGESINCAT:{{{category|}}}}}|{{{titles|}}}|{{{titlep|}}}}}===
+
[[image:{{#if: {{{image|}}}|{{{image}}}|UnsourcedDocs.png}}|47px|left|link=:category:{{{category|}}}]]
[[image:{{{image|}}}|47px|left|link=:category:{{{category|}}}]]
+
{{{description|}}}}}</includeonly>
{{{description|}}}}}
 
</includeonly>
 

Latest revision as of 17:10, 14 October 2018

This template was coded expressly 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
}}