Template:PagesInCategory

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history


template icon Template documentation[view] [edit] [history] [purge]

Usage:[edit source]

This template is for listing all page members within a category. Use like:
{{PagesInCategory|myCategoryToListOut}}

or with full arguments:

{{PagesInCategory|myCategoryToListOut|columnCount=3|mode=ordered}}

where:

  • "columnCount" is optional and can be any integer representing the number of columns
  • "mode" is also optional and is set by Extension:DynamicPageList_(Wikimedia), values can be:
    • unordered - bulleted list **ordered — numbered list
    • none — plain links with line breaks,
    • gallery — image gallery
    • inline — comma separated list

TemplateData[edit source]

No description.

Template parameters

ParameterDescriptionTypeStatus
category1 category

category name

Unknownrequired
columnCountcolumnCount

can be any integer representing the number of columns

Unknownsuggested
modemode

ordered, unordered, none, gallery, inline-bullets, or inline

Example
inline-bullets
Unknownsuggested

Pages in multiple categories[edit source]

Use DynamicPageList extension instead:

 <DynamicPageList>
 category = British clinicians
 category = Authors
 ordermethod=sortkey
 order=ascending
 </DynamicPageList>

See also[edit source]