Template:PAGESINCATEGORY/doc

Usage

 * gives
 * gives  (no commas)


 * gives &mdash; all pages
 * gives &mdash; ordinary pages (excluding subcategories and files)
 * gives &mdash; subcategories
 * gives &mdash; 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.