Help:References

From KeyWiki
Jump to navigation Jump to search

Content on KeyWiki should include references which will indicate the original source of the information. This page is a tutorial on how to add references.

Usage

The source is added as a footnote at the end of a sentence. The information is encloseed in <ref></ref> tags.

If there will be multiple citations of the same reference on the page, you can give the reference a name so that it only appears once in the References list. You must use quotes around the ref name if it includes a space, certain punctuation marks, or non-ASCII characters. <ref name="some_name">reference info</ref> To site the named reference again: <ref name="some_name"/>

Example

Say you want to cite a New York Times news story. You could write:

The television show Seinfeld has now gone off the air.

A reference should be added at the end of the sentence.

The television show Seinfeld has now gone off the air.<ref>[http://www.nytimes.com/1998/05/15/arts/television-review-seinfeld-goes-out-in-self-referential-style.html ''Ne York Times'' "Television review: Seinfeld goes out in self referential style," May 15, 1998]</ref>

That would appear like this: The television show Seinfeld has now gone off the air.[1]

Displaying references

Once you add a reference, you will need code at the bottom of the page to display the footnotes.

Add the following:

==References==
{{reflist}}

Which will display:

References

Template:Reflist Template:Help pages hnt