Template:Refn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
added warning about equal signs, per request by GUYTU6J |
||
| Line 19: | Line 19: | ||
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. | ||
'''Note:''' An equal sign within the footnote text (or within a link) will cause MediaWiki to misinterpret it as a named parameter, and will result in an error. To fix this, simply put two pairs of curly brackets around the equal sign: {{tl|{{=}}}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:44, 8 June 2022
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:
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.
Note: An equal sign within the footnote text (or within a link) will cause MediaWiki to misinterpret it as a named parameter, and will result in an error. To fix this, simply put two pairs of curly brackets around the equal sign: {{=}}