Template:Notelist

维基教科书,自由的教学读本
跳到导航 跳到搜索
Documentation icon 模板文档[查看] [编辑] [页面历史] [清除]
Template:TRS-admin

Template:TRS-warning {{notelist}} creates a section of explanatory notes that were individually specified by {{efn}} tags in the article. This is analogous to the use of long form <tag>...</tag> and <references /> tags for normal citations. This creates one or a block of tagged notes in a block or section that should be placed above and ahead of any citations or {{reflist}} template. See the whatlinkshere for plenty of examples in the Trainz Wikibook.


The {{notelist}} section should generally occur before the references. This is required when the explanatory notes are referenced, otherwise there will be citations errors. Even if the explanatory notes are not referenced, they are probably more likely to be read than the references, and should be nearer to the top of the MOS:APPENDIX sections than the "References" section for this reason.

Usage[编辑]

XML Example

Parameters[编辑]

  • Single unnamed parameter:
column-count: a natural number specifying fixed columns into which the reference list is to be rendered. Example: |2.
column-width: a typographic unit of measurement such as em|, specifying the width for the reference list columns. Example: |30em.
  • colwidth: explicitly sets the column-width.
  • refs: used with named references (e.g., <ref name=name />); it specifies a list of some or all named references used in the article.
  • group: |group= Sets the group name|, and needs to be the same as those inline. This defaults to lower-alpha.

The available options are:

group Styled as
upper-alpha [A]
upper-roman [IV]
lower-alpha [a]
lower-greek [a][ß]
lower-roman [iv]
note [note 1]
  • close: forces the reference list to close and render all references defined to that point; see the section on multiple uses| for details.

Example[编辑]

See w:Template:Notelist for working examples.
(truncated help below using {{void}} to by-pass.