Help:References: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
Line 21: Line 21:


==How to Cite Sources==
==How to Cite Sources==
<nowiki><ref> and <references /></nowiki> tags allow references to appear at the bottom of the article and linked to the associated statement. <nowiki><ref></nowiki> is used within the article body at the end of the statement that requires a source. <nowiki><references /></nowiki> is added at the end of the article in the <nowiki>==References==</nowiki> section. This section is always the last section, above any Navboxes and Categories.
{| class="wikitable" style="margin: auto;"
! Syntax || Result
|-
| <nowiki>...<ref>Reference Contents</ref></nowiki> || Adds "Reference Contents" to the References and places a link inline.
|-
| <nowiki>...<ref name="source1">Reference Contents</ref></nowiki> || Does the same as above and identifies this reference for further use.
|-
| <nowiki>...<ref name="source1" /></nowiki> || Recalls the reference contents from the first ref tag with this name.
|-
| <nowiki>==References==</nowiki><br><nowiki><references /></nowiki> || Adds a references section and lists all the references in the article defined with ref tags.
|}
Instead of typing the entire reference between the ref tags, we use {{Temlink|Cite}} to achieve consistent formatting. This template is overloaded to work with two different types of sources.
===Game Quotes===
In-game quotes can be pulled directly from the text dump to ensure that there are no typing or copy errors. Citing a game quote involves a few steps.
#Visit the game's text dump ("[Game's Subtitle] Text Dump", e.g. [[Ocarina of Time Text Dump]]) and locate the quote.
#At the beginning of the quote is a small '?'. Hover over this and the quote's ID is displayed as a tooltip.
#Now you can construct the citation by filling in the game, the quote ID, and the speaker in the following format:
<nowiki><ref>{{Cite|game|quoteID|[[Speaker]]}}</ref></nowiki>, e.g. <nowiki><ref>{{Cite|OoT|123|[[Navi]]}}</ref></nowiki>.
Linking to the speaker is optional. Place this after the statement in question, and <nowiki><references /></nowiki> will include the quote followed by the speaker and the game it's from, linked to that game's text dump.
===Other Sources===
Cite can be generalized to any source, any quote, and any speaker:
<nowiki>{{Cite| source | quote | speaker }}</nowiki>
If not a game abbreviation, the source is interpreted as a link to an internal or external source. Quote then is interpreted as an excerpt from the source instead of an ID. Quote and speaker are optional.
See {{Temlink|Cite}} for more details.