Template:ToDo: Difference between revisions

From Firrhna Project Wiki
Jump to navigationJump to search
(Created page with "<includeonly> [[:{{{link|Category:Article stubs}}}|{{{text|Stubs}}}]]: {{{manual|{{PAGESINCATEGORY:{{#titleparts: {{PAGENAME:{{{link|Category:Article stubs}}}}}}}|{{{type|pages}}}}}}}} </includeonly> <templatedata> { "params": { "link": { "example": "Category:Article Stubs", "type": "wiki-page-name", "description": "Category to link to" }, "text": { "description": "Text for link", "example": "Stubs", "type": "string" }, "manual": { "descri...")
 
mNo edit summary
Line 2: Line 2:
[[:{{{link|Category:Article stubs}}}|{{{text|Stubs}}}]]: {{{manual|{{PAGESINCATEGORY:{{#titleparts: {{PAGENAME:{{{link|Category:Article stubs}}}}}}}|{{{type|pages}}}}}}}}
[[:{{{link|Category:Article stubs}}}|{{{text|Stubs}}}]]: {{{manual|{{PAGESINCATEGORY:{{#titleparts: {{PAGENAME:{{{link|Category:Article stubs}}}}}}}|{{{type|pages}}}}}}}}
</includeonly>
</includeonly>
<noinclude>
<templatedata>
<templatedata>
{
{
Line 29: Line 30:
}
}
</templatedata>
</templatedata>
</noinclude>

Revision as of 23:59, 8 January 2024


Provides a quick and simple counter for the number of pages in a given category. Adapted from the Nookipedia.

Template parameters

ParameterDescriptionTypeStatus
linklink

Category to link to

Example
Category:Article Stubs
Page nameoptional
texttext

Text for link

Example
Stubs
Stringoptional
manualmanual

Value to show instead of a page count

Example
33
Numberoptional
typetype

Type of entry to show: "pages" or "files"

Example
pages
Stringoptional