Difference between revisions of "Template:Footnote"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
<span title="{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}"> | <span title="{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}">{{#tag:ref|{{{1}}}|{{#if:{{{handle|}}}{{{name|}}}|name="{{{handle|}}}{{{name|}}}"}}}}</span><noinclude> | ||
{{hint | |||
|mode=important | |||
|desc=This is one of the geekiest templates in this Wiki and it's an awesome piece of code.<br>Though finally, the [http://www.mediawiki.org/wiki/Extension:Cite/Special:Cite.php Cite] extension rendered it obsolete. Consider using <nowiki><ref>reference</ref></nowiki> and <nowiki><references /></nowiki> instead of this template. | |||
}} | |||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua{{{{FULLPAGENAME}}|handle=lipsum|http://www.lipsum.com/ Lorem Ipsum - All the facts - Lipsum generator}}{{{{FULLPAGENAME}}|handle=lipsum|http://www.lipsum.com/ Lorem Ipsum - All the facts - Lipsum generator}}{{{{FULLPAGENAME}}|handle=lipsum}}. | |||
{{Footnotes}} | |||
===Syntax=== | |||
<pre> | |||
{{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. | |||
</pre> | |||
'''handle''' needs to be unique to the page, if it is not, the last create usage of it will make previous footnotes inaccessible. | |||
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> |
Revision as of 06:48, 11 May 2009
Important! | |
This is one of the geekiest templates in this Wiki and it's an awesome piece of code. |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua[2][3][4].
- ↑ {{{1}}}
- ↑ http://www.lipsum.com/ Lorem Ipsum - All the facts - Lipsum generator
- ↑ http://www.lipsum.com/ Lorem Ipsum - All the facts - Lipsum generator
- ↑ {{{1}}}
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, the last create usage of it will make previous footnotes inaccessible.
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}}