模板:Notelist

維基教科書,自由的教學讀本
文檔圖示 模板文檔[檢視] [編輯] [歷史] [清除快取]
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.