Help:References: Difference between revisions
From Halopedia, the Halo wiki
m (Copy+pasting! Yay!) |
m (→Basic Concept) |
||
Line 4: | Line 4: | ||
===Format=== | ===Format=== | ||
When citing sources, make sure that the URL/Source is formatted as so: | When citing sources, make sure that the URL/Source is formatted as so: | ||
*<code><nowiki><ref>[http://ADD_URL_HERE '''{Media Title}''': {Article/Chapter Title}, {Pages | *<code><nowiki><ref>[http://ADD_URL_HERE '''{Media Title}''': {Article/Chapter Title}, {Pages}</ref></nowiki></code> | ||
For articles within Halopedia, make sure it is formatted as so: | For articles within Halopedia, make sure it is formatted as so: | ||
*<code><nowiki><ref>[[ARTICLE TITLE|'''{Media Title}''']]: {Article/Chapter Title}, {Pages | *<code><nowiki><ref>[[ARTICLE TITLE|'''{Media Title}''']]: {Article/Chapter Title (Optional)}, {Pages}</ref></nowiki></code> | ||
===Reference Tags=== | ===Reference Tags=== |
Revision as of 16:24, March 25, 2010
On Halopedia you can add ref tags when citing sources. This uses the HTML <ref></ref> code.
Basic Concept
Format
When citing sources, make sure that the URL/Source is formatted as so:
<ref>[http://ADD_URL_HERE '''{Media Title}''': {Article/Chapter Title}, {Pages}</ref>
For articles within Halopedia, make sure it is formatted as so:
<ref>[[ARTICLE TITLE|'''{Media Title}''']]: {Article/Chapter Title (Optional)}, {Pages}</ref>
Reference Tags
The basic concept of the <ref> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section, which you indicate with the this tag <references/>.
If you don't include <references/> 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.[1] If you view the Wikicode of this page by clicking "Edit this page", you can see a working example of footnotes.
Multiple uses of the same footnote
To give a footnote a unique identifier, use <ref name="name"/>. You can then refer to the same footnote again by using a ref tag with the same name. The text inside the second tag doesn't matter, because the text already exists in the first reference. You can either copy the whole footnote, or you can use a terminated empty ref tag that looks like this: <ref name="name"/>.
In the following example, the same source is cited three times.
This is an example of multiple references to the same footnote.[4]
Such references are particularly useful when citing sources, if different statements come from the same source.[4]
A concise way to make multiple references is to use empty ref tags, which have a slash at the end. Although this may reduce redundant work, please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.[4]
Sources
- ^ An example source
- ^ E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
- ^ R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.
- ^ a b c Remember that when you refer to the same footnote multiple times, the text from the first reference is used. Cite error: Invalid
<ref>
tag; name "multiple" defined multiple times with different content
Columns
If you have a lot of references they can be placed in columns to save space and ease reading. Just add the following code:
{{reflist|NUMBER OF COLUMNS}}