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>
<sup>{{{Номер|}}}<a href="#ref-{{{Номер|auto}}}">[[#ref-{{{Номер|auto}}}|{{{Текст}}}]]</a></sup>
<span id="ref-{{{Номер|auto}}}"></span>
</includeonly>


[[Категория:Шаблоны]]
[[Category:Templates]]