Jump to content

Template:PAGESINCATEGORY/doc

From Wikipedia, the free encyclopedia

Usage

[edit]


  • {{PAGESINCATEGORY|Wikipedia files requiring renaming|all}} gives 4 — all pages
  • {{PAGESINCATEGORY|Wikipedia files requiring renaming|pages}} gives 0 — ordinary pages (excluding subcategories and files)
  • {{PAGESINCATEGORY|Wikipedia files requiring renaming|subcats}} gives 4 — 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.