Template:Reflist
Jump to navigation
Jump to search
Template to show references content for references used earlier in the article. Used in most References sections of articles. Used instead of (and internally uses) <references />
tag. See mw:Help:Cite. Use {{notelist}} for explanatory notes (used with {{efn}}).
Parameters
All parameters are optional:
- First unnamed parameter: Either a number of columns (if an integer is provided), or a valid column width such as "20em"; default is no column settings (1 column)
- colwidth: Alternate way to provide a valid column width such as "20em"; ignored if parameter 1 is provided.
- liststyle: CSS property "list-style-type". Default bases the style on group, or
decimal
if not specified or invalid. - group: Which reference group to list. Default is all references (no specific group). See also {{notelist}}.
- List style is set automatically if group is
lower-alpha
,lower-greek
,lower-roman
,upper-alpha
orupper-roman
.
- List style is set automatically if group is
- refs: Content for references named but not defined in the article, as fully formatted, named ref tags just as would be placed in the article. Allows easier reading of article text by saving the full content of the reference for this section. Compatible with other tags that do provide content within the article. See mw:Help:Cite#Separating references from text.
Examples
- Typical basic usage
{{reflist}}
- Two column reference list
{{reflist|2}}
- Reference list with additional reference content
This lists all references from the previous article as normal, but also provides the content for ref tags named "miller" and "smith" used in the preceding article.
{{reflist|refs= <ref name="miller">E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23–25.</ref> <ref name="smith">R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44–46.</ref> }}