Template:Reflist-talk
Sarna News
- HEXTECH Review - Wave 3 Brings More Urban Options To Your Battlefield
- Your BattleTech News Round-Up For March, 2024
- Crashing 'Mechs With Jennifer Brozek, Author Of The Rogue Academy Trilogy
- Getting The Word Out With Rem Alternis, Catalyst Community & Marketing Director
- Bad 'Mechs - Yeoman
- Read more →
References
This template uses TemplateStyles: |
This template is a version of {{Reflist}}
designed for use outside of articles, for example on talk pages. Like, {{Reflist}}
, it creates a list of all references that have been defined with <ref>...</ref>
tags on the page above the template (but below any other instances of a reflist template). The list is displayed inside a bordered box and with a title ("References" by default) that is not formatted as as a section heading.
It is most useful when the list of references needs to appear close to the text where the references are used, for example at the end of a section or right after a quoted passage.
If using it at the end of a section, consider adding a hidden comment to help editors keep the wikitext in the correct place:
{{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. -->
Contents
Optional parameters[edit]
There are no required parameters. When using all parameters, the basic syntax is:
{{Reflist-talk|colwidth=|title=|group=|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.|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.
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
- ↑ 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: [1]
References
- ↑ Correctly boxed example reference
TemplateData[edit]
TemplateData for Reflist-talk
This template creates a list of references for a talk page discussion within a particular section.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Section title | title | The title to display before the references
| String | optional |
Columns / Column width | colwidth 1 | Passed to {{reflist}}. 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 em' will not be recognized
| String | optional |
Group | group | Passed to {{reflist}}. 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. | String | optional |
List of references | refs | Passed to {{reflist}}. 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. | String | optional |
Extra CSS | style | Additional CSS to apply | Unknown | optional |
See also[edit]
- {{Dummy reference}}
- {{Fake heading}}
- {{Notelist-talk}}
- {{Sources-talk}}, a collapsed version of the above
- BattleTechWiki:Citing sources—a how-to article with some additional considerations for citing sources