Template:Notelist/doc

From Sapphire Wiki

{{notelist}} creates a section of explanatory notes that were individually specified by {{efn}} tags in the article. This is analogous to the <references /> and <ref>...</ref> tags for normal citations.

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

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{notelist}}</syntaxhighlight>

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; do not use close with this parameter— it is not needed and it will cause colwidth to not work.
  • 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: identifies by name the subset of references to be rendered; the value should correspond to that used inline, e.g., {{Notelist|group=groupname}} renders all references with groupname as the group name (<ref>).
  • liststyle: specifies the style used when the reference list is enumerated; if none is specified, the default is to render a numbered list.
  • close: forces the reference list to close and render all references defined to that point; see the section on multiple uses for details.

Example

Markup Renders as
Some information.{{sfn|Smith|2009|p=1}} More information.{{efn|A clarification.{{sfn|Smith|2009|p=2}}}}

==Notes==
{{notelist}}

==Citations==
{{reflist}}

==References==
* {{citation|last=Smith|year=2009|title=Smith's book}}

Some information.<ref name="FOOTNOTESmith20091">Smith 2009, p. 1.</ref> More information.<ref group="lower-alpha">A clarification.<ref name="FOOTNOTESmith20092">Smith 2009, p. 2.</ref></ref> Template:Fake heading

<references group="lower-alpha" responsive="1"></references>

Template:Fake heading

<references group="" responsive="1"></references>

Template:Fake heading

  • Smith (2009), Smith's book 

See also

{{#lst:Help:Cite errors/Cite error group refs without references|rlt}}