Difference between revisions of "Template:CategorySummary"

From Wikispooks
Jump to navigation Jump to search
(subsection)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(10 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 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
 
|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={{{imagelink|}}}]]
+
{{{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
}}