Help:References: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
==Basic concept== | ==Basic concept== | ||
The basic concept of the <nowiki><ref></nowiki> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section, which you indicate with the the template {{Tl|Reflist}} under the title "<nowiki>==References==</nowiki>. If "Reflist" is not present at the end of the article, none of the footnotes will appear. | |||
This page itself uses footnotes, such as the one at the end of this sentence.<ref>An example source</ref> If you view the Wikicode of this page by clicking "Edit this page", you can see a working example of footnotes. | This page itself uses footnotes, such as the one at the end of this sentence.<ref>An example source</ref> If you view the Wikicode of this page by clicking "Edit this page", you can see a working example of footnotes. | ||
Some other examples: | |||
*At the end of the Canals, Gordon Freeman destroys a Hunter-Chopper.<ref name="HL2">''[[Half-Life 2]]''</ref> | *At the end of the Canals, Gordon Freeman destroys a Hunter-Chopper.<ref name="HL2">''[[Half-Life 2]]''</ref> | ||
*He also destroys a Hunter-Chopper in the Outlands.<ref name="HL2.2">''[[Half-Life 2: Episode Two]]''</ref> | *He also destroys a Hunter-Chopper in the Outlands.<ref name="HL2.2">''[[Half-Life 2: Episode Two]]''</ref> | ||
Please remember that footnotes are used on this wiki for sources only, not for comments, which belong to the main text. | |||
==Multiple uses of the same footnote== | ==Multiple uses of the same footnote== | ||