Template:PrefixIndex

From ILSTRAT
Revision as of 20:44, 29 December 2016 by Alan.Myers (talk | contribs) (Created page with "{{Div col|1={{{columns|}}}|2={{{colwidth|}}}}} <ul class="listify">{{Special:PrefixIndex/{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}}}|hideredirects={{#if:{{{redr|}}}|yes|}}|strip...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

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 number of columns required in the |columns= 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

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

Parameters

  • {{{1}}} (REQUIRED) — prefix to list/search from − defaults to the current page that the template is transcluded from
  • {{{columns}}} (OPTIONAL) — columnar display format number of columns to use
  • {{{colwidth}}} (OPTIONAL) — width of columns to use
  • {{{redr}}} (OPTIONAL) — if set, does not display redirects
  • {{{stripprefix}}} (OPTIONAL) — if set, strip the prefix value from displayed list items