Tesseract:Style guide/References and citations

From the Tesseract Wiki, the wiki for all things Marvel Cinematic Universe
Jump to navigation Jump to search

References are notes which appear after a section of text and are linked with a specific part of the text. They are used for long explanations which cannot be worked into the paragraph naturally and for citations. There are two main types of reference:

Citations are used to provide sources to statements, usually pointing back to an official Jagex source (the Marvel website or social media accounts, or a producer statement) - though there are cases where other sources are cited (such as financial information).

Footnotes are used to provide a notes, explanations, or expanded discussion about a statement or value without cluttering a paragraph, or where a note normally couldn't be added (such as in a table).

Basic references[edit source]

The basic reference format should only be used for footnotes. Citations should use one of the citation templates, below.

The basic reference format is:

statement<ref>reference details</ref>

which will be shown in the text as:

statement[1]

On its own, inserting a reference does nothing significant. It is only when a reference list is inserted into the article that the reference details are visible. To insert a reference list, add:

<references />

to the article wherever the list should appear. This creates:

  1. ^ reference details

The superscript number will link to the reference details in the reference list below, and likewise, the caret in the reference list will link back to the reference in the text to which it corresponds. The reference should be inserted after the word or statement to which it refers, and any punctuation which follows the word, for instance:

This statement uses a reference.[1]
  1. ^ Reference!

Multiple references[edit source]

Each reference must fully enclosed in <ref>...</ref> tags, at which point additional references may be inserted later into the text. Each reference will automatically be numbered according to the order in which they appear. This is useful when a section of text requires multiple references, such as the following:

Lorem ipsum dolor sit amet, consectetur adipisicing[1] elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo[2] consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla[3] pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  1. ^ Ref 1
  2. ^ Ref 2
  3. ^ Ref 3

Formatting references[edit source]

The reference can be formatted just like any text. This includes text formatting, wiki links, and external links. As long as the formatting is contained entirely within the <ref>...</ref> tags, it will work exactly as normal. Some examples follow:

<ref>'''bold''' and ''italics'' and <span style="color: purple">pretty colors</span></ref>
<ref>[[TS:SG#Wiki-linking|Wikilinking]]</ref><
<ref>[http://www.marvel.com/ Marvel]</ref>

These produce:

Lorem ipsum dolor sit amet, consectetur adipisicing[1] elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo[2] consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla[3] pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  1. ^ bold and italics and pretty colors
  2. ^ Wikillinking
  3. ^ Marvel

However, reference tags cannot contain reference tags.

Multiple reference lists[edit source]

If you need to have more than one reference list in an article, you must add a separate <references /> for each list you want. Each <references /> will list all the references above it, until it reaches another <references /> (if there are any). It will list none of the references below it. The numbering starts over with each new list created, and the footnotes in previous/following lists are ignored. An example follows:

Lorem ipsum dolor sit amet, consectetur adipisicing[1] elit, sed do eiusmod tempor incididunt ut labore[2] et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco[3] laboris nisi ut aliquip ex ea commodo consequat.
  1. ^ Ref 1
  2. ^ Ref 2
  3. ^ Ref 3

Duis aute irure dolor in reprehenderit[1] in voluptate velit esse cillum dolore eu fugiat nulla[2] pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

  1. ^ Ref 5
  2. ^ Ref 6

Repeating a reference[edit source]

In order to use a reference more than once while having it appear only once in the reference list, the reference must be named. You do not need to name a reference if you do not intend to use it more than once, however. To name a reference, use the following format:

<ref name="reference name">reference details</ref>

The reference name will not be visible, so it does not need to be fancy. Once the reference is named the first time, it can be inserted again by adding:

<ref name="reference name" />

There is no close tag necessary for this particular formatting mark. References other than the named reference will be numbered and listed as usual, however the named reference will only have one number attached to it, and will only be listed once, no mater how many times it is repeated. This can be observed in the following passage of text:

Lorem ipsum dolor sit amet, consectetur adipisicing[1] elit, sed do eiusmod tempor incididunt ut labore[2] et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco[3] laboris nisi ut aliquip ex ea commodo consequat.Duis aute irure dolor in reprehenderit[2] in voluptate velit esse cillum dolore eu fugiat nulla[4] pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  1. ^ Ref 1
  2. ^ a b Ref 2
  3. ^ Ref 3
  4. ^ Ref 4

When a reference is repeated more than once, the caret that normally links to it is no longer active and, instead, each occurrence is linked to by a separate letter which appears after the caret.

Reference groups[edit source]

If you need multiple reference types - the most common use-case being notes on something on the page, and standard citations - you can separate them into groups using the group attribute. This group is visible (it is part of the superscript link), so make it short and relevant. (Technically, references without a defined group are part of the empty string group - group="".)

<ref group="notes">Note 1</ref>

The group attribute has to be defined is present in all references in that group, and in the final references statement.

<references group="notes" />

This can be combined with the name attribute; but you do need to include the group in reuses of the name, otherwise it will attempt to find the name in the ungrouped references - resulting in either a reference error, or using the wrong reference.

<ref group="notes" name="note1">Note 1</ref>

<ref group="notes" name="note1" />

Note that if you define a group, you need a references for that group, or there will be an error - the ungrouped references statement will not collect grouped references.

Lorem ipsum dolor sit amet, consectetur adipisicing[notes 1] elit, sed do eiusmod tempor incididunt ut labore[1] et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco[notes 2] laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit[2] in voluptate velit esse cillum dolore eu fugiat nulla[3] pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Notes
  1. ^ Ref 1
  2. ^ Ref 3
References
  1. ^ Ref 2
  2. ^ Ref 5
  3. ^ Ref 6

In general, citations should remain in the default group (i.e. no group), and notes should be separated into a group, if present.

Alternative reference definition[edit source]

Sometimes, placing references directly into text where they are used can make the markup very unclear and much harder to edit. In such an event, references can be defined in a different way - inside the <references> tag.

<references>
<ref name="ref1">Ref 1</ref>
<ref name="ref2">Ref 2</ref>
...
</references>

(This structure is still placed at the end of the page/section.) References are then used as if repeating them, by name only (i.e. <ref name="ref1" />). All references used in this way must be named. References are always numbered as they're used in the text, not as they're ordered in the references tag.

Lorem ipsum dolor sit amet, consectetur adipisicing[1] elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo[2] consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla[3] pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  1. ^ bold and italics and pretty colors
  2. ^ Wikillinking
  3. ^ Marvel

The two methods can be combined without issue.

Nesting[edit source]

See also: Wikipedia:Nesting footnotes

<ref> tags cannot be placed within <ref> tags. What if you want to cite a footnote?

To do so, we replace the <ref> tags with {{Refn}}. Refn works in the same way as a reference tag, but allows references to be used inside it (the innermost references don't have to also use Refn, but can for consistency). Nesting references in this way generally results in the inner reference being numbered above the outer reference - which is usually unwanted. So, avoid making notes on notes, or citations of citations - keep the groups separate. The usual use for this is citing a footnote.

Lorem ipsum dolor sit amet, consectetur adipisicing[2] elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo[3] consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla[4] pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Footnotes
  1. ^ footnote of footnote (see how this comes first)
  2. ^ footnote (see how this comes second)[1]
  3. ^ footnote 2[cite 1]
  4. ^ footnote 3[cite 2]
Citations
  1. ^ citation
  2. ^ citation in reftags

The standardised CiteX templates mentioned below all use the same method as Refn, so can all be safely nested.

Citations[edit source]

Citations are a special kind of reference which support a claim made in an article with an outside source. The most commonly used citation on the wiki is a link to an article on the official Marvel website. While normal references as explained above work fine for citing a source, it is better to use the {{CiteGeneral}}. Full details can be found on its template page, however the basic use is as follows:

{{CiteGeneral|url=|title=|author=|time=}}

The "url" parameter is the full web address (including the http://) to the web page you are citing. Be as specific as possible. This means linking to the section, if possible, instead of just the entire page. The "title" parameter is the title of the particular page you are citing. The "author" parameter is whoever created the work you are citing, which is almost always, in this wiki, Marvel or a Marvel employee.

There are also a number of reference templates formatted specifically for certain sections of the Marvel website which are most commonly cited. They are:

What should be cited[edit source]

  • Direct quotes (no exceptions)
  • Facts which are likely to be disputed

Citing from Discord[edit source]

Due to the nature of Discord as a chatroom-style site, citing from Discord is not preferred. It is acceptable to cite from Discord only if no other source is available. These citations can only be from official account.

When citing from Discord, a message link should be used. To generate one, turn on "Developer Mode" in Discord's appearance settings, right-click a message in Discord, and click "Copy Message Link". Screenshots of Discord messages are not acceptable as citations.

Positioning citation lists[edit source]

Lists of citations should be at the end of the article's content using a level 2 header, as follows:

==References==
{{Reflist}}

Reference lists should be put after the last bit of content, which is usually a "Trivia" section, but before sections such as "See also", "External links", and end-of-page templates such as {{Stub}}. An alternative to the {{Reflist}} template, is the <references /> tag, which produces larger text. This is typically worse-looking and should not be used. The template can only be used once per page, however, making the tag more preferable for footnotes in, for example, drop tables.

There are additional formatting options, although it is rarely necessary to use them.

Finding information[edit source]

To find information from in-game sources (dialogue, books, etc.) and livestream transcripts, we can restrict our search to the Transcript namespace. To do this, head to Special:Search. Right below the search bar, click on "Advanced". A checklist of namespaces will appear. Deselect "(Main)" (to avoid searching articles in the mainspace) and select "Transcript".

However, this search may still show pages which do not actually contain the search terms, but which transclude them from somewhere else, usually through a navbox. For example, it is possible for a Transcript page to transclude a navbox which contains the name "Marimbo", without that name actually being used anywhere in the transcript. To restrict results to only pages which actually contain the search terms, we'll want to put insource:"search term" in the search bar. But say you want to search for things related to Terran, and you have to do two searches, "Terra" and "Terran". We can do this in one search by using CirrusSearch. In this case, we would do insource:/terra/i. This will find pages with terms such as "Terra", "terra", "Terran", "Anti-Terran", etc. Anything that contains the case insensitive substring "terran". For more tricks, see the search cheatsheet.