模板:Reflist/doc

来自决策链云智库
< 模板:Reflist
Zeroclanzhang讨论 | 贡献2023年7月14日 (五) 13:59的版本 (创建页面,内容为“{{Documentation}} {{Wikipedia template}} This template provides formatting and organizational features for footnotes. It encapsulates the <code><nowiki><references/></nowiki></code> tag used by the Extension:Cite to show the list of references as defined by <code><nowiki><ref></nowiki></code> tags. It adds support for sizing the column width, groups. ==TemplateData== <templatedata> { "description": "This template displays the list of footnotes at the end of…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This template provides formatting and organizational features for footnotes. It encapsulates the <references/> tag used by the Extension:Cite to show the list of references as defined by <ref> tags. It adds support for sizing the column width, groups.

TemplateData

This template displays the list of footnotes at the end of an article and provides additional formatting and organizing options. After hitting "Apply changes" and turning back to VE read mode, you will not see the references list. After hitting "Publish page" and turning back to normal read mode the reference list will reappear with the changes applied, see T53146.

模板参数

参数描述类型状态
Columns / Column width1colwidth

Two modes supported. First mode (deprecated): integer number of fixed columns into which the reference list is to be rendered. Second mode: typographic unit of measurement such as 'em', specifying the width for the reference list columns, e.g. '33em'; spaced '33&nbsp;em' will not be recognized

默认值
1 if < 11 references; otherwise 30em
字符串可选
Liststyleliststyle

Specifies the style used when the reference list is enumerated; accepts any valid CSS value defined for list-style-type

默认值
decimal
字符串可选
Groupgroup

Group is an identifier which restricts the references that are shown. Without this parameter, this template only shows references with no group identifier. With a group identifier specified, only references with a matching group identifier are handled. The rest are left alone.

字符串可选
List of referencesrefs

Provides a space to define named references for use in the article. References defined in this space are not shown unless used somewhere in the article.

字符串可选

See also