Misplaced Pages

Template:Reflist-talk: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 22:42, 29 January 2009 view sourceDatumizer (talk | contribs)Extended confirmed users, Pending changes reviewers42,788 edits References← Previous edit Latest revision as of 21:54, 16 September 2021 view source Izno (talk | contribs)Checkusers, Interface administrators, Administrators115,256 edits tstyles rlt 
(22 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<templatestyles src="Reflist-talk/styles.css"/><div class="reflist-talk" {{#if:{{{style|}}}|style="{{{style}}}"}}>
<div class="boilerplate metadata mfd" style="background-color: lavender; margin: 2em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #AAAAAA;">
<p class="reflist-talk-title">{{{title|References}}}</p>
:''The following is a list of references used throughout this discussion page. <span style="color:red">'''Please do not modify it.'''</span> Subsequent comments should be made '''before''' this template.''
{{reflist|{{{1|{{{colwidth|}}}}}}|refs={{{refs|}}}|group={{{group|}}}}}
<!-- This is a template that has been transcluded into the article you are viewing. DO NOT EDIT IT! -->
</div><noinclude>
==References==
{{reflist}} {{Documentation}}
</noinclude>
:''The above is a list of references used throughout this discussion page. <span style="color:red">'''Please do not modify it.'''</span> Subsequent comments should be made '''before''' this template.''</div>

Latest revision as of 21:54, 16 September 2021

References

Template documentation[view] [edit] [history] [purge] Shortcuts
WarningThis template is used on approximately 97,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
CSSThis 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. -->

Optional parameters

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. 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

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

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 its own style, including a light, boxed outline. See this discussion for further details about this limitation.

Incorrectly boxed example

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:

References

  1. Incorrectly boxed example reference

Correctly boxed example

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

References

  1. Correctly boxed example reference

Redirects

Redirect list is from here. {{Inlineref}} {{Ref-talk}} {{Reflist-quote}} {{Reflist-talk}} {{Reflisttalk}} {{Reftalk}} {{REftalk}} {{Section references}} {{Talk-reflist}} {{Talk-refs}} {{Talk page-reflist}} {{Talk page ref}} {{Talk page reference}} {{Talk page reflist}} {{Talk ref}} {{Talk reference}} {{Talk references}} {{Talk reflist}} {{Talk refs}} {{Talkrefs}} {{Talkref}} {{Tref}} {{TREF}}

Redirect from deleted template

{{Section references}} now redirects here to {{Reflist-talk}}. However, previously it was a different template that was deleted, with the existence of this template as part of the justification. See Misplaced Pages:Templates for discussion/Log/2015 March 2#Template:Section references for details.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Reflist-talk in articles based on its TemplateData.

TemplateData for Reflist-talk

This template creates a list of references for a talk page discussion within a particular section.

Template parameters

ParameterDescriptionTypeStatus
Section titletitle

The title to display before the references

Default
References
Stringoptional
Columns / Column widthcolwidth 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&nbsp;em' will not be recognized

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

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.

Stringoptional
List of referencesrefs

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.

Stringoptional
Extra CSSstyle

Additional CSS to apply

Unknownoptional

See also

Misplaced Pages referencing
Policies and guidelines
General advice
Citing sources
Inline citations
Help for beginners
Advanced help
Footnote templates
Find references
Citation tools
(External links)
Misplaced Pages help pages

About Misplaced Pages (?)
Help for readers (?)
Contributing
to Misplaced Pages
 (?)
Getting started (?)
Dos and don'ts (?)
How-to pages and
information pages (?)
Coding (?)
Directories (?)
Missing Manual
Ask for help on your talk page (?)
Inline talk templates
Template  Shortcut  Parameter?  Example  Output  Notes 
Thread level
{{Moved talk}} Green tickY {{Moved talk|Dresden}} Moved: was at Talk:Dresden
Used at the thread's current location
{{Moved talk to}} Green tickY {{Moved talk to|Berlin}} Moved to: Talk:Berlin
Used at the thread's former location
{{Thread retitled}} Green tickY {{Thread retitled|Old title}}
Thread retitled from "Old title".
Per Misplaced Pages:Talk page guidelines#Section headings
Opening
{{Summoned by bot}} {{sbb}} {{sbb}} (Summoned by bot) Can be used in requests for comment
{{Buttinsky}} {{bi2}} {{Buttinsky}} A variation of {{Talk page stalker}}
{{Edit conflict}} {{ec}} (Green tickY) {{ec}} (edit conflict) To indicate that you encountered an edit conflict
{{Interrupted}} {{intr}} Green tickY {{Interrupted|Username|18:07, 13 January 2025 (UTC)}} Username 18:07, 13 January 2025 (UTC) — continues after insertion below Used to identify the contributor of the upper fragment(s) of a comment that was broken up by a different contributor's insertion of text
{{Non-admin comment}} {{nacmt}} (Green tickY) {{nacmt}} (Non-administrator comment) Optional and only for own comments, see doc
{{Pinged}} {{Pinged}} (pinged) Indicates a notification was received
{{Responding to ping}} {{rtp}} {{rtp}} (responding to ping) Similar to {{pinged}}
{{Talk page stalker}} {{tps}} (Green tickY) {{tps}} (talk page stalker) Cf. Misplaced Pages:Talk page stalker
{{Talk page watcher}} {{tpw}} (Green tickY) {{tpw}} (talk page watcher) Ditto
Notifications
{{Hidden ping}} {{hp}} Green tickY {{hp|Username}} Invisible notification utilizing the zero-width space character
{{Ping group}} {{pinggroup}} Green tickY {{pinggroup|Pinging collaborators|John Doe|Jane Doe|...}} Pinging collaborators (John DoeJane Doe...) Up to 10 usernames
{{Pong}} Green tickY {{pong|Username}}  Username: In reply to a ping
{{Reply to}} {{re}}/{{ping}} Green tickY {{re|Username}}/{{ping|Username}} @Username: Sends a notification; up to 50 names
{{To}} Green tickY {{To|Username}} To editor Username: Sends a notification
During
{{subst:Arbitrary break}} {{subst:Arbitrarybreak}} {{subst:Arbitrarybreak}} ======(arbitrary break)====== Requires substitution
{{subst:Bump}} {{subst:Bump}} Bumping thread ~~~~ Requires subst. A wrapper for {{do not archive until}}
{{FBDB}} {{FBDB}} An initialism for Friendly Banter – Don't Block
{{KISS}} {{KISS}} KISS References the KISS principle politely
{{No ping}} {{np}} Green tickY {{np|Username}} Username Works like {{U}} but without triggering a notification
{{No ping2}} {{np2}} Green tickY {{np2|Username}} Username (talk · contribs) Works like {{User}} but without triggering a notification
{{Notelist-talk}} {{tnote}} (Green tickY) {{tnote}} Creates a list of footnotes for a talk page discussion
{{Outdent}} {{od}} (Green tickY) {{od|:::::}} For out-denting a reply when indention gets too deep
{{Outdent2}} {{od2}} (Green tickY) {{od2}} () Alternative out-denting
{{Reflist-talk}} {{tref}} (Green tickY) {{tref}} Creates a list of references for a talk page discussion
{{Relevant discussion}} {{reldis}} Green tickY {{reldis|Talk:Berlin}}
Relevant discussion atTalk:Berlin
Creates links to related discussions in a visually unique way
{{Sock vote}} {{sockvote}} Green tickY {{sock vote|Example}} (Nota bene Blocked sockpuppet of Example, see investigation) To mark a vote/comment cast by sockpuppet. More parameters exist and can be viewed at the template documentation.
{{Sources-talk}} {{st}} {{Sources-talk}} A convenience wrapper around {{Reflist-talk}}
{{Talkfact}} (Green tickY) "Oranges are blue!"{{talkfact}} "Oranges are blue!" Used to quickly ask an editor to back up their claims
{{Talk quote inline}} {{tq}} Green tickY {{tq|"Oranges are blue!"}} "Oranges are blue!" To highlight a short excerpt of quoted material
{{Talk quote inline italic}} {{tqi}} Green tickY {{tqi|"Oranges are blue!"}} "Oranges are blue!" "
{{Not talk quote inline}} {{!tq}} Green tickY {{!tq|"Oranges are orange!"}} "Oranges are orange!" To highlight a short excerpt of quoted material someone didn't say but could have, or perhaps, should have
{{Not talk quote inline italic}} {{!tqi}} Green tickY {{!tqi|"Oranges are orange!"}} "Oranges are orange!" "
{{Talk quote block}} {{tqb}} Green tickY {{tqb|"Oranges are blue!"}}

"Oranges are blue!"

To highlight a longer excerpt of quoted material
{{Talk quote block minimalist}}} {{tqbm}} Green tickY {{tqbm|Oranges are blue.}}

Oranges are blue.

A longer excerpt of quoted material, with less highlighting
End
{{Please sign inline}} {{please}} {{Please sign inline}} (Please remember to sign your posts on talk pages by typing four keyboard tildes like this: ~~~~. Or, you can use the button, which automatically signs posts.)
{{subst:Please ping}} {{pping}} (Green tickY) {{Please ping}} (please Reply to icon mention me on reply) Includes your username if substituted, but can be transcluded. Use {{Please ping|no}} to ask not to be pinged.
{{Not watching}} {{nw}} {{nw}} (I am not watching this page, so please ping me if you want my attention.)
{{subst:Notifyme}} {{subst:pingme}} {{subst:pingme}} If you reply here, please put {{reply|your username will show up here}} in front of your message so I get a notification. Thank you! Requires substitution. Will automatically add your username by substituting {{REVISIONUSER}} when you save.
{{subst:Request ping}} {{subst:repi}} Green tickY {{subst:repi|Example}} If you reply here, please ping me by adding {{u|Example}} to your message, and signing it. Requires subst
{{Signote}} {{sg}} (Green tickY) {{sg}} Please leave me a note if you reply
{{Watching}} {{Watching}} (I am watching this page, so please reply here.)
Humor disclosure
(See the list here.)
The above documentation is transcluded from Template:Reflist-talk/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: