Module:PageList/doc

Jump to navigation Jump to search

This is the documentation page for Module:PageList

Outputs a list of pages. Intended for use in notice templates.

Put {{#invoke:PageList|main}} in the template where you want the list to be. It will automatically work with as many unnamed parameters as needed.

Optional parameters:

  • conjunction: The conjunction used before the last article name. Defaults to "and". You can change it to "or" as follows: {{#invoke:PageList|main|conjunction=or}}
  • default: The text shown when no articles are linked to; defaults to showing "[[:{{{1}}}]]". You can change it to anything you want as follows: {{#invoke:PageList|main|default=multiple articles}}, {{#invoke:PageList|main|default=a different page title}}, etc.

These two optional parameters can both be used at the same time.