Template:Reflist-talk

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

References

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Reflist-talk/doc.

This template is a version of {{Reflist}} designed to show a reference section for a talk page discussion within a bordered box.

Usage

{{Reflist-talk |title= |group= |refs= }}

The template honors these features of {{Reflist}}: |colwidth=, |refs=, |group=

Template parameters

ParameterDescriptionDefaultStatus
titleTitleSpecifies the box title, defaults to References.Referencesoptional
colwidth
1
Columns / Column widthemptyoptional
groupGroup Nameemptyoptional
refsList of Referencesemptyoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

This template is a version of {{Reflist}} designed to show a reference section for a talk page discussion within a bordered box.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Columns / Column widthcolwidth 1

Stringoptional
Group Namegroup

Stringoptional
List of Referencesrefs

Contentoptional
Titletitle

Specifies the box title, defaults to References.

Default
References
Lineoptional

Additional information

The template is intended to be used in the following namespaces: all talk namespaces and noticeboards

The template is intended to be used by the following user groups: all users

Placement:

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.

See also

  • {{Reflist}}
  • {{Notelist}}