跳转到内容

Template:Source list/doc

维基百科,自由的百科全书

用法

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.

參見