Template:Refn: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Documentation
No edit summary
Line 20: Line 20:
To use different groups of footnotes, simply pass different values for the <tt>group=</tt> parameter, and add one <tt>references</tt> section for each group. See the [[Catagolue]] article for an example.
To use different groups of footnotes, simply pass different values for the <tt>group=</tt> parameter, and add one <tt>references</tt> section for each group. See the [[Catagolue]] article for an example.


[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 19:12, 29 December 2020

This template can be used to add footnotes to articles, separate from references. Footnotes can be separated into different groups.

To add footnotes, first add the notes themselves in the following manner:

Lorem ipsum dolor sit amet.{{refn|group=note|Consectetur adipiscing elit.}}

Then add a footnote section:

==Notes==
<references group="note" />

Footnotes will appear in the article text as follows:

Lorem ipsum dolor sit amet.[note 1]
[...]

Notes

  1. ↑ Consectetur adipiscing elit.

To use different groups of footnotes, simply pass different values for the group= parameter, and add one references section for each group. See the Catagolue article for an example.