Template:reflist/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:reflist. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This citation template provides formatting and organizational features for footnotes. It encapsulates the <references/> tag to show the list of references as defined by <ref> tags.

Parameters

[edit]
|group=
identifies by name the subset of references to be rendered
|cols=
Integer number of fixed columns into which the reference list is to be rendered
|style=
Specifies the style used when the reference list is enumerated; accepts any valid CSS value defined for list-style-type
|nobacklinks=1
Removes backlinks from the reference list
|size=
Specifies the font size of the reference list; accepts any valid CSS value defined for font-size
|refs=
Defines named references used in the article

Examples

[edit]
Markup Renders as
Lorem ipsum.<ref>Source name, access date, etc.</ref>
Lorem ipsum dolor sit amet.<ref>Source name, access date, etc.</ref>

===References===
{{reflist}}
Lorem ipsum.[1]

Lorem ipsum dolor sit amet.[2]

References

[edit]
  1. ^ Source name, access date, etc.
  2. ^ Source name, access date, etc.
Markup Renders as
Lorem ipsum.<ref group="B">Source name, access date, etc.</ref>
Lorem ipsum dolor sit amet.<ref group="B">Source name, access date, etc.</ref>
Lorem ipsum dolor sit amet.<ref group="B">Source name, access date, etc. Source name, access date, etc. Source name, access date, etc. Source name, access date, etc. Source name, access date, etc.</ref>

===References===
{{reflist|group=B|cols=2|style=lower-alpha|nobacklinks=1|size=smaller}}
Lorem ipsum.[B 1]

Lorem ipsum dolor sit amet.[B 2] Lorem ipsum dolor sit amet.[B 3]

References

[edit]