Template:PAGESINCATEGORY
Revision as of 07:34, 4 September 2023 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wikipedia.org)
0
This documentation is transcluded from Template:PAGESINCATEGORY/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Please use {{PAGESINCATEGORYTemplate:Highlight roundCategory}} , rather than {{PAGESINCATEGORYTemplate:Highlight roundCategory}} . This uses the magic word directly instead of using the template to call the magic word. |
Usage
{{PAGESINCATEGORY|Featured articles}}
gives 0{{PAGESINCATEGORY|Featured articles|R}}
gives 0 (no commas)
{{PAGESINCATEGORY|Wikipedia files requiring renaming|all}}
gives 0 — all pages{{PAGESINCATEGORY|Wikipedia files requiring renaming|pages}}
gives 0 — ordinary pages (excluding subcategories and files){{PAGESINCATEGORY|Wikipedia files requiring renaming|subcats}}
gives 0 — subcategories{{PAGESINCATEGORY|Wikipedia files requiring renaming|files}}
gives 0 — files
This behaviour is the same as (and uses) the WP:Magic word "PAGESINCATEGORY". The only exception is that if no parameter is used, the current pagename is used as the parameter.