Anonymous
×
Create a new article
Write your page title here:
We currently have 47 articles on The Vault @ The EERIE Files. Type your article name above or click on one of the titles below and start writing!



The Vault @ The EERIE Files

Template:PAGESINCATEGORY: Difference between revisions

Created page with "{{PAGESINCATEGORY:{{{1|{{PAGENAME}}}}}|{{{2|}}}|{{{3|}}}}}<noinclude> {{Documentation}} </noinclude>"
 
No edit summary
 
Line 1: Line 1:
{{PAGESINCATEGORY:{{{1|{{PAGENAME}}}}}|{{{2|}}}|{{{3|}}}}}<noinclude>
<includeonly>{{PAGESINCATEGORY:{{{1}}}|{{{2|pages}}}}} pages</includeonly><noinclude>
== Template:CategoryCount ==
Wraps the built-in <code>PAGESINCATEGORY</code> magic word to output a live page count with the word "pages" attached, so category pages don't need to write the raw magic word syntax themselves.


{{Documentation}}
'''Usage:'''
<pre>
{{CategoryCount|Vault Templates}}
</pre>
Renders as: <code>14 pages</code> (the number updates automatically as pages are added or removed from the category)


=== Parameters ===
* '''1''' — required. The category name (without the <code>Category:</code> prefix)
* '''2''' — optional. What to count: <code>pages</code> (default), <code>subcats</code>, <code>files</code>, or <code>all</code>
[[Category:Vault Templates]]
</noinclude>
</noinclude>

Latest revision as of 02:18, 22 July 2026

Template:CategoryCount

Wraps the built-in PAGESINCATEGORY magic word to output a live page count with the word "pages" attached, so category pages don't need to write the raw magic word syntax themselves.

Usage:

{{CategoryCount|Vault Templates}}

Renders as: 14 pages (the number updates automatically as pages are added or removed from the category)

Parameters

  • 1 — required. The category name (without the Category: prefix)
  • 2 — optional. What to count: pages (default), subcats, files, or all