Template:PrefixIndex

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:PrefixIndex/doc.

Usage[edit]

This template produces a list of pages with names beginning with a certain prefix. Enter the prefix in the first unnamed parameter. To split the list into multiple columns, enter the column width (e.g. 15em, or 30em) in the |colwidth= parameter. To hide redirects from the list, enter anything in the |redr= parameter and to strip the given prefix from all the page names, enter anything |stripprefix= parameter.

Syntax[edit]

{{Template:PrefixIndex|1=|columns=|redr=|stripprefix=}}

Parameters[edit]

  • {{{1}}} (REQUIRED) — prefix to list/search from − defaults to the current page that the template is transcluded from
  • {{{colwidth}}} (OPTIONAL) — width of columns to use, in em units, e.g. "30em".
  • {{{redr}}} (OPTIONAL) — if set, does not display redirects
  • {{{stripprefix}}} (OPTIONAL) — if set, strip the prefix value from displayed list items

talk:Special:PrefixIndex]]

  • {{Look from}} to create a link to a list of all page names which begin with a given word or words
  • {{In title}} to create a link to a list of all page names which contain a given word or words