Template:Notelist/doc
| 此頁面是Template:Notelist的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
| 這是 Notelist 模板的說明文件頁面。 本文件並不是為直接瀏覽而撰寫。若是其中使用了跨維基計畫連結,某些連結可能會顯示損毀。請勿將這些連結替換為硬编码的頁面名稱或網址。 |
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
[编辑]{{notelist}}
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/doc for working examples.
- (truncated help below using
{{void}}to by-pass.