Difference between revisions of "Template:Footnote"

From Second Life Wiki
Jump to navigation Jump to search
(This shouldn't break anything but will keep duplicate "handled" footnotes from appearing.)
Line 21: Line 21:
{{Footnote|handle=id}}                          - Inserts a link to a multi-use footnote.
{{Footnote|handle=id}}                          - Inserts a link to a multi-use footnote.
</pre>
</pre>
'''handle''' needs to be unique to the page, if it is not, the last create usage of it will make previous footnotes inaccessible.
'''handle''' needs to be unique to the page, if it is not, later redeclarations will be ignored.


Don't forget to include the <code><nowiki>{{Footnotes}}</nowiki></code> template where you want the table of footnotes. If you want multiple columns of footnotes use <code><nowiki>{{Footnotes|col=number_of_columns}}</nowiki></code>
Don't forget to include the <code><nowiki>{{Footnotes}}</nowiki></code> template where you want the table of footnotes. If you want multiple columns of footnotes use <code><nowiki>{{Footnotes|col=number_of_columns}}</nowiki></code>


</noinclude>
</noinclude>

Revision as of 22:26, 5 November 2013


Emblem-important.png Important!

This is one of the geekiest templates in this Wiki and it's an awesome piece of code.
Though finally, the Cite extension rendered it obsolete. Consider using <ref>reference</ref> and <references /> instead of this template.


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua[1][1][1].

  1. ^ http://www.lipsum.com/ Lorem Ipsum - All the facts - Lipsum generator

Syntax

{{Footnote|Footnote text}}                      - Creates a single use footnote
{{Footnote|Footnote text|Hover text}}           - Creates a single use footnote with different hover text
{{Footnote|Footnote text|handle=id}}            - Creates a multi-use footnote
{{Footnote|Footnote text|Hover text|handle=id}} - Creates a multi-use footnote with different hover text
{{Footnote|handle=id}}                          - Inserts a link to a multi-use footnote.

handle needs to be unique to the page, if it is not, later redeclarations will be ignored.

Don't forget to include the {{Footnotes}} template where you want the table of footnotes. If you want multiple columns of footnotes use {{Footnotes|col=number_of_columns}}