模板:Reflist

来自SCP: Sharp Wiki
[查看 | 编辑 | 历史 | 刷新]Documentation

The template is used in place of the <references /> tag.

Parameters[编辑 | 编辑源代码]

  • {{{1}}}: amount of columns the reference list will take up.
  • {{{refs}}}: list-defined references
  • {{{group}}}: reference group

Usage[编辑 | 编辑源代码]

Simply put the template where you would normally put the <references /> tag, and put how many columns you want. You can also leave it blank for just 1, making it act exactly the same as the <references /> tag.

Examples[编辑 | 编辑源代码]

<ref>Example ref 1</ref>
<ref name=ref2>Example ref 2</ref>
<ref name=ref2/>
<ref>Example ref 3</ref>

== References ==
{{reflist}}
produces

[1] [2] [2] [3]

References[编辑 | 编辑源代码]

  1. Example ref 1
  2. 2.0 2.1 Example ref 2
  3. Example ref 3


<ref name=A/> <ref name="B"/> <ref name='C'/> <ref name=D></ref>
== References ==
{{reflist|2|refs=<ref name=A>Example ref 1</ref>
<ref name=B>Example ref 2</ref>
<ref name=C>Example ref 3</ref>
<ref name=D>Example ref 4</ref>
}}
produces

[1] [2] [3] [4]

References[编辑 | 编辑源代码]

  1. Example ref 1
  2. Example ref 2
  3. Example ref 3
  4. Example ref 4

See also[编辑 | 编辑源代码]

[查看 | 编辑 | 历史 | 刷新]The above documentation is transcluded from 模板:Reflist/doc.
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。