Template:Reflist

From Stationery Wiki
Revision as of 15:29, 10 April 2017 by Memm (talk | contribs) (First version based on https://www.mediawiki.org/wiki/Template:Reflist)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This citation template provides formatting and organizational features for footnotes. It adds support for a reduced font size, columns, groups.

Parameters

  • First unnamed parameter (doesn't work with all browsers, e.g. on mobiles)
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|.
  • refs: used with named references; 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.
  • liststyle: specifies the style used when the reference list is enumerated; if none is specified, the default is to render a numbered list.

Example

Lorem.<ref>ipsum</ref><ref>dolor</ref><ref>sit</ref><ref>amet</ref>
Consectetur.<ref>adipisicing</ref><ref>elit, sed</ref><ref>do</ref>

{{Reflist|3}}

gives:

Lorem.[1][2][3][4] Consectetur.[5][6][7]

This citation template provides formatting and organizational features for footnotes. It adds support for a reduced font size, columns, groups.

Parameters

  • First unnamed parameter (doesn't work with all browsers, e.g. on mobiles)
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|.
  • refs: used with named references; 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.
  • liststyle: specifies the style used when the reference list is enumerated; if none is specified, the default is to render a numbered list.

Example

Lorem.<ref>ipsum</ref><ref>dolor</ref><ref>sit</ref><ref>amet</ref>
Consectetur.<ref>adipisicing</ref><ref>elit, sed</ref><ref>do</ref>

{{Reflist|3}}

gives:

Lorem.[8][9][10][11] Consectetur.[12][13][14]

Template loop detected: Template:Reflist

  1. ipsum
  2. dolor
  3. sit
  4. amet
  5. adipisicing
  6. elit, sed
  7. do
  8. ipsum
  9. dolor
  10. sit
  11. amet
  12. adipisicing
  13. elit, sed
  14. do