Jump to content

Template:Reflist

From wikiNonStop
Revision as of 05:57, 7 April 2026 by Majestix (talk | contribs) (1 revision imported: Initial Setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

This citation template provides formatting and organizational features for footnotes. It encapsulates the ‎<references /> tag used by the Cite MediaWiki extension to show the list of references as defined by ‎<ref> tags and adds support for a reduced font size, columns and groups.

If you don't use any of the additional features, then it produces the same output as the simpler and slightly faster ‎<references /> tag.

Example

Lorem.<ref>ipsum</ref><ref>dolor</ref><ref>sit</ref><ref>amet</ref>
Consectetur.<ref>adipisicing</ref><ref>elit, sed</ref><ref>do</ref>

{{Reflist|3}}

…renders as…

Lorem.[1][2][3][4] Consectetur.[5][6][7]

  1. ipsum
  2. dolor
  3. sit
  4. amet
  5. adipisicing
  6. elit, sed
  7. do

Parameters

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Reflist

A reference list, with options for setting columns, groups, extra references etc.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Column count1

A natural number specifying fixed columns into which the reference list is to be rendered.

Default
1
Example
2
Numberoptional
Column widthcolwidth

A typographic unit of measurement such as “em”, specifying the width for the reference list columns.

Example
30em
Lineoptional
List styleliststyle

Specifies the style used when the reference list is enumerated; accepts any valid CSS value defined for 'list-style-type'.

Suggested values
decimal lower-alpha lower-greek lower-roman upper-alpha upper-roman
Default
decimal
Lineoptional
Group namegroup

The name of the references group to identify the subset of references to be rendered; the value should correspond to that used inline.

Example
{{reflist|group=groupname}} renders all references with “groupname” as the group name (<ref group=“groupname”>)
Lineoptional
List of referencesrefs

Provides a space to define named references for use in the page (e.g., ‎<ref name=“name” />); it contains some or all of those used on the page.

Contentoptional

See also