Template:Reflist

From Fallen London Wiki (Staging)
Template documentation (for the above template, sometimes hidden or invisible)

Description[edit]

A wrapper for <references/> to make a few formats more convenient. This includes support for multi-column lists and collapsible reference lists.

NOTE: Only use this template if you're using one or more of the added features. In particular, the parameterless invocation {{reflist}} should never be used in place of <references/>

Parameters[edit]

  • First 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|.
  • 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., {{Reflist|group=groupname}} renders all references with groupname as the group name (<ref group=groupname>).
  • collapsible: if yes, the reference list will automatically be placed within a collapsible
  • collapsed: if yes, the reference list will automatically be placed with a collapsible that is collapsed by default. Implies and overrides collapsible.
  • title: an optional title to add to the citations list. If not set, no title will be added unless collapsible or collapsed is yes

Examples[edit]

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|collapsible=yes}}
gives...

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

Citations
  1. ipsum
  2. dolor
  3. sit
  4. amet
  5. adipisicing
  6. elit, sed
  7. do
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|collapsed=yes|title=Custom title}}
gives...

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

Custom title
  1. ipsum
  2. dolor
  3. sit
  4. amet
  5. adipisicing
  6. elit, sed
  7. do

See also[edit]


Visit Template:Reflist/doc to edit this text! (How does this work?)