Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 21:38, 27 February 2026 by imported>RedX (This template might look better if the border had dashed style just like in Template:Produces)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

References

Template:Reflist

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header

This template is a version of {{Reflist}} designed for sections of talk pages and other, non-article sections (e.g. blocks of example text with citations in a guideline, a how-to essay, or a template's documentation page).

{{Reflist-talk}} creates a list of references for a talk page discussion within a particular section. The list has the default title: References. To distinguish it from an article's References section, it appears within a bordered box.

This template could also be useful on other types of non-mainspace pages structured with section headers, e.g., for a section in a user's sandbox.

Usage

To create a section-level reference box in a section containing references within <ref></ref> tags, add the following wikitext to the end of a section:

  • {{Reflist-talk}}

When having a discussion with new editors or others who might not know how to work with this template, add the following wikitext to the section's end to create a section-level reference box plus task-oriented instructions in a hidden comment:

  • {{Reflist-talk}}<!-- Template:Reflist-talk creates a section-level reference list box. Please add comments and references for this section's discussion above this template. When a new discussion begins, the new section will be added below this template. Add a new {{Reflist-talk}} at the end of that section if needed. -->

This hidden comment has instructions designed to keep the wikitext in the right order.

Optional parameters

There are no required parameters. When using all parameters, the basic syntax is:
{{Reflist-talk|group=|refs=}}

The template recognizes these features of Template:Tl:

  • |refs=: used with list-defined references.
  • |group=: identifies by name the subset of references to be rendered; the value should correspond to that used inline, e.g., {{Reflist-talk|group=groupname}} renders all references with groupname as the group name (<ref group=groupname>). There are five predefined group names that style the list differently.

The template should be placed after the discussion that includes the references, as it will include all references before the template that haven't been claimed by a previous template.

Do not indent this template

This template does not work correctly if indented with colons as is usual with talk page discussions.

Indenting also is unnecessary, because indentation is irrelevant to it: the reference box contains all the references from all posts in the section from all editors. Plus, it is set apart from other text through a boxed outline.
The above text is transcluded from Template:MC/Reflist-talk/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Reflist-talk/doc. (View all subpages of this page.)