Template:Reflist

From Brighter Shores Wiki
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Reflist/doc. [edit] [history] [purge]
Template:Reflist invokes function reflist in Module:References using Lua.

Use this template to create a reference list in an article with a small font.

Usage

The basic usage requires no parameters:

{{Reflist}}

Quotes

If the references contain a large number of quotes, to hide the quotes (and only the quotes) add quotes=no:

{{Reflist|quotes=no}}

Column width

The width of columns is controlled using the first unnamed parameter or colwidth. As an example, using {{Reflist|30em}} will allow the browser to dynamically choose the number of columns with widths of 30em. The width supports and of the standard CSS length units: px, pt, em, %. Choose a column width that's appropriate for the average width of the references on the page.

Groups

To list references in a group, add group=groupname:

{{Reflist|group=groupname}}

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Creates a reference list in an article.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Groupgroup

Limits the references listed to a specified group.

Stringoptional
Quotesquotes

Hides quotes inside the reference list when set to "no".

Default
yes
Booleanoptional
Column width1 colwidth

Width of the columns. Supports standard CSS length units as input.

Default
1 if less than 11 references; otherwise 30em.
Example
25em
Lineoptional