Template:Smallrefs

From Nynorn
Revision as of 11:04, 23 January 2010 by ws>Billinghurst (add use of reference group)
Jump to navigation Jump to search

Usage

{{smallrefs}}
{{smallrefs|10pt}}
{{smallrefs|columns=2}}
{{smallrefs|group=a}}

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

All parameters are optional.

first paramater (unnamed)
Font size; this sets the CSS font-size attribute ("12px", "10pt", etc.; default is "0.8em")
columns (or second parameter)
number of columns for references; this sets the CSS column-count and -moz-column-count attributes
group (needs to be called by name)
for named groups as per reference group