Шаблон:Refn
Материал из проекта «Повелитель Тайн Вики»
Дополнительные действия
Документация шаблона (для шаблона выше, иногда скрытого или невидимого)
Примечание: части шаблона или весь шаблон могут быть не видны без заданных значений.
Примечание: части шаблона или весь шаблон могут быть не видны без заданных значений.
| Шаблон | Документация | Использование |
Description
Use this to add notes to references.
Usage
Add the template to the sentences you wish to add a citation. The <ref> tags are not required, however you can use them inside the note itself.
{{refn
|<!---Contents of the note-->
|name=
|group=
}}
Use this template with Reflist for a Notes section by adding the name of the note's group parameter to the same parameter inside Reflist. The name parameter refers to the name to call on a specific note if it's used more than once; if used, only one copy of the note requires content.
Example
An example.{{refn|group=note|name=first|A note.<ref>An included reference.</ref>}}
Another example.{{refn|group=note|Another note.<ref>Another included reference.</ref>}}
A third example.{{refn|group=note|The third note.<ref>The reference in the third note.</ref>}}
Repeating the first example.{{refn|group=note|name=first}}
===Notes===
{{reflist|group=note}}
===References===
{{reflist}}
Result
An example.[Прим. 1] Another example.[Прим. 2] A third example.[Прим. 3] Repeating the first example.[Прим. 1]
Notes
References
Чтобы изменить этот текст, перейдите на Template:Refn/doc (как это работает?)