Template:Source list

维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法

Template {{Source list}} is used for creating (hidden) lists of sources in the articles. It is typically used as the value of |refs= parameter in the {{reflist}} template. It has the following syntax:

{{Source list
|name1=|ref1=
|name2=|ref2=
|name3=|ref3=
|name4=|ref4=
|name5=|ref5=
|name6=|ref6=
|name7=|ref7=
|name8=|ref8=
|name9=|ref9=
|name10=|ref10=
|group=
}}
.

Where nameX is the name of reference used in <ref name= > tag, and refX is the content of the reference. refX is an optional parameter. If {{{refX}}} parameter is defined, it is used as a reference. If {{{refX}}} parameter is not defined, Template:Source list/{{{nameX}}} subpage is expanded (it should contain the text of a reference). The group parameter specifies the group of references, to which all references mentioned in the template will belong.

The list that is created by this template is not displayed.

參見