模板:Footnote

来自人工智能助力教育知识百科
Kangjf讨论 | 贡献2019年9月11日 (三) 15:34的版本 (创建页面,内容为“<includeonly>{{#if:{{#if:{{{handle|}}}|{{#if:{{#var:fnu_{{{handle|}}}}}||{{{1|}}}}}|{{{1|}}}}}|{{#vardefine:footnotes|{{#var:footnotes}} <li id="footnote_{{#vardefin…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索


文件: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
<references/>

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}}