Template:Smallrefs
This template is used on approximately 275,000 pages, or roughly 6% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template uses TemplateStyles: |
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 referencesgroup
(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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 fs | Size of references | String | optional |
columns | 2 columns | Number of columns to display references or footnotes as. | Number | suggested |
rule | rule | Adds or removes a rule above the references
| Unknown | optional |
lh | lh | no description | Unknown | optional |
refs | refs | Add (named) references directly in the smallrefs template, which can be referenced directly in a page. | Content | optional |
refx | refx | 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]]. | Unknown | optional |
group | group | for named groups as per [[w:Wikipedia:Footnotes#Footnotes: groups|reference group]] | String | optional |