Template:Footnote: Difference between revisions
Начало |
m DP moved page Template:Сноска to Template:Footnote without leaving a redirect |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Needs Improvement|Template is not working. A plugin needs to be installed.}} | |||
<noinclude> | <noinclude> | ||
== | == Documentation == | ||
This template creates clickable footnotes. Use it in the text for a number, and add the text with an anchor in the "Notes" section. | |||
Usage example: | |||
<pre> | <pre> | ||
{{ | This statement is based on data{{Footnote|Number=1}}. | ||
| | |||
== Notes == | |||
# <span id="ref-1"></span> See the official website. | |||
</pre> | </pre> | ||
Result: | |||
This statement is based on data[1]. | |||
== Notes == | |||
# See the official website. | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly>[[#ref-{{{Number|auto}}}|[{{{Number|auto}}}]]]</includeonly> | ||
</includeonly> | |||
[[ | [[Category:Templates]] | ||