Template:Reflist

Template page
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Reflist/doc. Changes can be proposed in the talk page.

This template provides formatting and organizational features for footnotes. It encapsulates the <references/> tag used by the Extension:Cite to show the list of references as defined by <ref> tags. It adds support for sizing the column width, groups.

TemplateData

This template displays the list of footnotes at the end of an article and provides additional formatting and organizing options. After hitting "Apply changes" and turning back to VE read mode, you will not see the references list. After hitting "Publish page" and turning back to normal read mode the reference list will reappear with the changes applied, see T53146.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Columns / Column width1 colwidth

Two modes supported. First mode (deprecated): integer number of fixed columns into which the reference list is to be rendered. Second mode: typographic unit of measurement such as 'em', specifying the width for the reference list columns, e.g. '33em'; spaced '33&nbsp;em' will not be recognized

Default
1 if < 11 references; otherwise 30em
Stringoptional
Liststyleliststyle

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

Default
decimal
Stringoptional
Groupgroup

Group is an identifier which restricts the references that are shown. Without this parameter, this template only shows references with no group identifier. With a group identifier specified, only references with a matching group identifier are handled. The rest are left alone.

Stringoptional
List of referencesrefs

Provides a space to define named references for use in the article. References defined in this space are not shown unless used somewhere in the article.

Stringoptional

See also