Help:脚注
![]() | 模板参数错误!(代码36)
|
本頁解釋如何用下列模板撰寫數字註腳:
Link in text area | Link in footnote area |
---|---|
{{ref|<name>}} or {{ref num|<name>|<fixed number>}} | #{{note|<name>}} - followed by comment or citation |
{{ref label|<name>|<footnote number>|<backlink label>}} | {{note label|<name>|<footnote number>|<backlink label>}} (follows on the same line as an existing {{note}}, before the formal citation info) |
{{ref harvard|<name>|<Harvard reference>|<backlink label>}} | {{note label|<name>|<Harvard reference>|<backlink label>}} |
See Wikipedia:Template messages/Sources of articles for alternate and/or complementary templates that can be used for building source references.
如何用
The basic use of the "ref" and "note" templates is just choosing a one word descriptive name for your reference and:
- put {{ref|<name>}} where you want the footnote number to be
- put a numbered list at the bottom of your document # {{note|<name>}}.
Use a separate note for each reference.
The examples below use the basic "ref" and "note" templates twice. Additionally, the use of the "ref label" and "note label" templates is demonstrated for building a second reference to the same footnote.
Harvard referencing is supported with "ref harvard", used the same way as "ref label" except a reference term, often "Author Year", is used instead of a reference number.
範例
The text that follows uses following wiki-code to construct numbered footnotes:
- {{ref|guns}} - refers to a footnote with the name-tag "guns"
- {{ref|other}} - refers to a footnote with name-tag "other".
- {{ref label|other|2|a}} - second reference to the footnote with name-tag "other", displaying "2" as footnote number in the text and "a" as back reference in the footnote.
The corresponding footnotes use following wiki-code:
- #{{note|guns}} - footnote adding a commentary
- #{{note|other}}{{note label|other|2|a}} - single footnote, with a double text reference.
文字
Jerry wrote about guns
in his books. His critics said he was obsessed by them.The benefits of this method are that
- references are automatically numbered as are the notes (though it is possible to mess up the two sequences)
- even if the sequences get out of sync, it is easy to work out how to fix it.
- references occur as a small number in the text which does not disturb the flow of the writing
- there is no need for manual renumbering as had to be done with previous proposals
This method introduces some changes to the writing of pages where it is used
- external links should not be made through numbered links ([http://example.com]), instead the text of the link should be included ([http://example.com Example]). This is good style anyway.
- footnotes cannot be reused in different places. Separate notes have to be used.
This method has the following disadvantages:
- there can only be one sequence of notes from the text.
- every footnote number in the text refers to a separate note at the bottom: if you want to reuse a number so that it refers to the same footnote at the bottom, the {{ref_label}} variant is used.[2]
- it's not possible to test new footnotes whilst previewing (though you can test the back link, which should really confirm both)
註解
- ^ Don't read about guns. They're bad.
- ^ a It is encouraged that references use citation templates such as shown in Wikipedia:Template messages/Sources of articles.