Template:Reflist-talk/doc

From Wikispecies
Jump to navigation Jump to search

This template is a version of {{Reflist}} designed for sections of talk pages and other, non-article sections.

{{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[edit]

Optional parameters[edit]

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

  • |title= specifies the box title, which defaults to References if this parameter is omitted. The box title will be blank if this parameter is included without an argument (that is, without any text after the equal sign).

The template recognizes these features of {{Reflist}}:

  • |colwidth=: state in ems, a typographic unit of measurement.
  • |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. See Reflist § Grouped references

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.

Obsolete parameter[edit]

This parameter is no longer in use:

  • close: Until 2014, the parameter |close=1 was used to work around a bug. When the bug was fixed, this was removed.

Limitations[edit]

This template does not work correctly if indented in the usual way that talk page discussions are.

Incorrectly boxed example[edit]

If you add : before it, the references do not appear inside the box as expected, but rather you get an indented empty dashed box, followed by the references, which are not indented:[1]

References

  1. Incorrectly boxed example reference


Correctly boxed example[edit]

If this is fixed, the above example would display inside a correctly-indented box, which would look like the following except correctly indented: [1]

References

  1. Correctly boxed example reference


See also[edit]