Jump to content

Template:Smallrefs/doc

From Wikisource

Usage

[edit]
{{smallrefs}}
{{smallrefs|10pt}}
{{smallrefs|columns=2}}

Use in place of <references/> when a smaller type size is desired, with optional control over the specific type size and the number of columns rendered (in browsers that implement CSS columns).

Parameters

[edit]

All parameters are optional.

first parameter (unnamed)
Font size; this sets the CSS font-size attribute ("12px", "10pt", "0.8em", etc.; default is "83%")
columns (or second parameter)
number of columns for references; this sets the CSS column-count attribute
rule
yes to add a rule above the references
group (needs to be called by name)
for named groups as per reference group
refx (needs to be called by name)
for including texts within <references /> where named reference only appears specifically in the body text itself. See Cite.


No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
11 fs

Size of references

Stringoptional
columns2 columns

Number of columns to display references or footnotes as.

Numbersuggested
rulerule

Adds or removes a rule above the references

Suggested values
yes, no
Unknownoptional
lhlh

no description

Unknownoptional
refsrefs

Add (named) references directly in the smallrefs template, which can be referenced directly in a page.

Contentoptional
refxrefx

for including texts within <nowiki><references /></nowiki> where named reference only appears specifically in the body text itself. See [[mw:Extension:Cite/Cite.php#List-defined references|Cite]].

Unknownoptional
groupgroup

for named groups as per [[w:Wikipedia:Footnotes#Footnotes: groups|reference group]]

Stringoptional