If you've seen a genuine article being vandalised, don't edit the change out unless it's minor or you have new information to add. Instead, edit a previous, non-vandalised version from the history or roll the article back to that edit - this way, information doesn't have to be constantly republished.
For cases of major vandalism or new articles being created with spam content, please post on User_talk:TeamCodex with the offending article so it can be brought to a Moderator's attention, if you cannot deal with it yourself.


From Gamescodex
Jump to: navigation, search

Articles on all Wikis are more believable, and less likely to be called into question, if most of the facts within the article can be backed up by reliable sources. So, when you add a fact into an article that some people may not believe, it's always good to add references.

[edit] What are references?

References, also called citations, are similar to footnotes in a book. When you put a reference next to a fact in an article, a small number appears, like this: [1]. By clicking that number, you are taken to the bottom of the page, where a list of all the sources used for this article can be found. This way, you can see where all the facts used in the article came from and check them out for yourself if you want to.

[edit] Adding references to an article

To add references to an article, first you need to be editing the article (or creating a new one). Then, find a fact in the article you think needs a reference. Once you've found it, the first thing you need to do is type <ref> immediately after the fact. Then you can simply type the name of the reference, and/or a link to the page it is found on if it is a web page (wiki formatting is also allowed). Finally, end the line with </ref>.


<ref>Example 1</ref>

Example with link:

<ref>[http://www.wikipedia.org Wikipedia]</ref>

[edit] Displaying the references

Although the numbers will always appear on the articles, they won't point anywhere unless a position for the references has been defined. To set where the references will appear, you just need to add <references/> where you want them to appear. The ideal location for this tag is right at the end of the article.

Wherever you put it, when the article is saved, a list of all the references will be placed there. The references will appear exactly as they were entered earlier in the article. For example, take a look at Example 1 earlier. If this was an actual reference, you would see this near the bottom of the page:

1. ↑ Example 1

...and if you were using the example with link, you may see something like this:

2. ↑ Wikipedia

For an example of how this works in an actual article, try clicking that [1] you saw earlier and see what happens!

Note: If an article contains references, you MUST include <references/> somewhere in the article. Otherwise, they won't work when clicked on, and this error message will appear at the end of the article:

Cite error: <ref> tags exist, but no <references/> tag was found

In the future, we hope to make it such that you will not usually need to use the <references/> tag yourself - it will be added to the end of each article automatically. This is not currently possible, however, so please don't forget to add it in when the article requires it!

[edit] Additional Examples

  1. This is another example!

Personal tools