模板:Smallrefs/doc
外观
本文档是Template:Smallrefs的文档子页面 (见页面自身)。 本页包含用法信息、分类和其他非原页面的内容。 |
Usage
[编辑]{{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
[编辑]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
and-moz-column-count
attributes 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 name reference only appears specifically in the body text itself. See Cite.