模板:Footnote/doc
跳至導覽
跳至搜尋
This template inserts a footnote. It is a shortcut for <ref group="lower-alpha">...</ref>
. Make sure that MediaWiki:Cite link label group-lower-alpha exists (see base on Wikipedia); otherwise the footnotes are displayed as [lower-alpha 1] instead of [a].
Usage
Remember to add a new section "Footnotes" with {{footnotelist}} when transcluding this template in an article.
{{ footnote | <text> | name = <footnote identifier> }}
- First unnamed parameter
Footnote text.
- name
Optional, for reusing the footnote. When reusing it, the first unnamed parameter does not need to be specified again; the name is sufficient.
Examples
Code | Result |
---|---|
{{footnote|This is a footnote.}}
|
[a] |
Reusing{{footnote|name=important|Important detail.}} a footnote{{footnote|name=important}}.
|
Reusing[b] a footnote[b]. |