Marvel's Spider-Man Wiki
Advertisement
Template documentation[view · edit · purge · links]

Template:Cite is used to create a shorthand citation to a release in the Marvel's Spider-Man series, as well as specific parts of said release. It anchor-links to a corresponding Template:Ref, which provides the fully formatted source used by the citation ({{ref}} can be used by any citation, regardless if it's a release, such as a website, book, video, etc.)

Template:Ref can also be used as a generic means of displaying a reference, like for the {{infobox file}}'s source parameter.

Template:Citations corresponds with {{cite}}, generating a list of every citation (including generic, non-{{cite}} <ref>s) used throughout the page.

For an introduction to this system, the difference between citations and references, as well as the Marvel's Spider-Man Wiki's policy concerning this system, see Verifiability § Citing sources.

This template depends on Module:Ref
This template uses Lua. To make adjustments to this template, edit the module page.

Usage

To use {{cite}}, {{citations}}, and {{ref}} together:

Lorem ipsum dolor sit amet.{{cite |<unnamed 1> |<unnamed 2> |mission= |script= |display= |file= |manual= |region= |name= |id=Example }}

==Citations==
{{citations}}

==References==
* {{ref |game=<unnamed 1> }}

For non-release sources (like a website, video, interview, tweet, etc.), a generic <ref> tag can be used along with an anchor-link to a {{ref}} with a corresponding id parameter. For example:

Lorem ipsum dolor sit amet.<ref name="Example">[[#Example|Example]], specific information</ref>

==Citations==
{{citations}}

==References==
* {{ref |id=Example |first= |last= |author= |day= |month= |year= |title= |url= |wikilink= |section= |additional-authors= |platform= |publisher= |isbn= |access-date= |archive-url= |archive-date= |brokenlink= }}

Note that "specific information" refers to a page number, video timestamp, section of a webpage, scene of a movie or video game, etc. This information should always be included in the citation, and not the reference. Citations can cite the same reference many different times but for different parts, so the reference should be as broad as possible.

The {{ref}} template can be used to reference any type of source. However, some sources are frequently referenced, and therefore shortcuts have been provided for them. See § Parameters ¶ Ref.

Parameters

Cite

Required

<unnamed 1>

The abbreviated codename of the release to be cited, as follows:

  • tpl produces The Precursor Legacy
  • dax produces Daxter
  • jak2 produces Jak II
  • jak3 produces Jak 3
  • jakx produces Jak X: Combat Racing
  • tlf produces The Lost Frontier
  • mov produces Jak and Daxter Trilogy

Note that the programming of subsequent parameters is often dependent on the value of this parameter, therefore it must always be given.

Optional

<unnamed 2>

Anything to be put after the release link (separated by a comma and a space). This may be used if no other pre-programmed parameter will work for the nature of the citation needed. Its output is a simple text string with no formatting.

Optional

script

This parameter both invokes a link to the script page of the release indicated by unnamed 1, as well as accepts a value for a specific section of said script. Ensure that the value of this parameter is copied directly from the respective script page so that the anchor target works.

Optional

mission

This parameter formats a link to the mission name specified.

Optional

display

Use this parameter in conjunction with the script or mission parameters if you wish for the link display to be different from the link's actual name.

Optional

manual

This parameter invokes a link to the manual associated with the game specified in unnamed 1, accepting the page number as a value. It requires a release specified in unnamed 1, as well as a region.

Semi-required

region

This parameter specifies the regional version of the game manual for the manual parameter. It is required only if manual is used. Accepted values are NTSC-U/C, PAL, and NTSC-J (see Module:Codename).

Optional

file

The cited file name of an asset from a game disc. In the case of the first three games, the *-ag.go-formatted version of the file name is preferred.

In the case of The Lost Frontier, the file name is determined by opening one of the .WAD files in a text editor and searching through CHARACTERS, LEVELS, SOUNDS, and SFX. You will not be able to see the file extension due to the unreadable format of the WAD file, thus only include the file name and the path. You do not need to include the entire path, just the top-level path name (e.g. CHARACTERS/JakFloatRadio).

Optional

id

A corresponding ID for use with a {{ref}} instance. While this can technically be anything, it is recommended to use the author and date.

Optional

name

The unique name of a citation so that it may be invoked elsewhere without repeating the other parameters.

Ref

Auto-fill

Before using any of the other parameters, if you simply wish to reference a release in the Marvel's Spider-Man series, you may set one of these parameters to that release's codename and the template will take care of the rest.

Optional

game, movie, series, episode, book ++

Auto-fills a work in the series based on the release's codename.

Optional

guide, db

Auto-fills a game guide or game's design bible based on the game's codename.

Optional

version

Switches between the version of the work to be auto-filled.

Core components

These parameters are core components for constructing any type of reference.

Optional

id

A unique ID for the reference that citations can link to.

Optional

year or year1 up to year10
(default: "n.d." )

The year that the material was originally released.

Optional

month or month1 up to month10

The month that the material was originally released.

Optional

day or day1 up to day10

The month that the material was originally released.

Optional

last or last1 up to last10

The last name of the author of the work being referenced, if the author is a person.

The last parameter should be treated differently depending on the type of work being referenced:

  • If a book, the author should be the specific writer, rather than the publishing house (e.g. Prima, Dark Horse, etc.)
  • If a website, the author should be the specific author of the website or page. If unavailable, use the name of the website.
  • If a movie, use the director, with the studio name being specified in additional-authors and the publisher in publisher (if the same, only use publisher).

Optional

author or author1 up to author10

The author of the work being cited.

The author parameter should be treated differently depending on the type of work being referenced:

  • If a game, the author should be the developer.
  • If a book, the author should be the specific writer and use last and first; however, author can be used if a group is used as the group's author.
  • If a website, the author should be the specific author of the website or page. If unavailable, use the name of the website.

Optional

author-link or author-link1 up to author-link10
(default: "A page on the wiki for the author to point to. Interwiki links can also be used, but not URL links." )

Description?

Required

title

The title of the source. Italicized by default. Note that for magazines, this should only include the name of the magazine, with the issue being provided in the date parameter.

For TV show episodes and songs off of a musical album, the title should be the TV show or album itself. The episode and song should be specified in the section parameter.

Optional

link

A page on the wiki for the title to point to. Interwiki links can also be used, but not URL links.

Required

entry

The title of the entry of the material being referenced. If the referenced material is an entry in a larger body of work (i.e. article title, comic book story arc, etc.), this should be used.

Optional

entry-link

A page on the wiki for the entry to point to. Interwiki links can also be used, but not URL links.

Optional

noitalictitle

Set this parameter to true for the title to not be italicized. Titles should only be italicized if they qualify as a "work", like with a game, movie, book, magazine, etc. Websites, wiki interviews, etc. should not be italicized.

Optional

additional-authors

Additional authors of the work being cited, if applicable. This can serve as a catch-all for any additional individuals or entities responsible for the creation and publication of the work.

Optional

publisher

The publisher of the work being cited.

Optional

media

The media type of the work being referenced. Can be all lowercase, as the first letter will be capitalized.

Optional

platform

The platform on or medium through which the work being cited was published, for example the specific video game console, website name (if different from publisher), etc.

Optional

extra

Any additional content to be placed at the end of the reference, separated by a period and a space.

Specific components

These parameters are only used for specific components for certain types of references. The majority of references will not need them.

Optional

season

The season of the episode being referenced. The full descriptor should be used in addition to the number, i.e. "Season 3" instead of simply "3", allowing links to or alternate names for the season if desired.

Optional

number

The season of the episode being referenced. The full descriptor should be used in addition to the number, i.e. "Number 3" instead of simply "3", allowing links to or alternate names for the season if desired.

Optional

location

A specific section or part of the work being cited, such as a chapter in a book, a section on a webpage, a folder, etc. The majority of references can simply reference the full work, but if only a specific section is cited, this can be used.

Optional

p

A specific page of the work being cited. The majority of references can simply reference the full work, but if only a specific page is cited, this can be used.

Optional

isbn

If a book, the International Standard Book Number of the work.

Optional

volume

The volume of the periodical work (i.e. magazine) being referenced.

Optional

issue

The issue of the periodical work (i.e. magazine) being referenced.

Semi-required

access-date

If the work being cited is or is hosted on a website, set this parameter to the date of using this template. This way if the link dies, a future editor may be able to find the correct archive based on the date.

Optional

url

An external URL for the entry name or title to point to.

Optional

archive-url

The URL to a backup or archive of a work. Only specify if you need to include a specific URL, as otherwise, one will be automatically generated based on the url parameter.

Semi-required

archive-date

The date of the backup or archive used (only required in combination with archive-url).

Optional

brokenlink

Set to true if the original, non-archive link has gone down. If so, the primary link used to wrap the title contents will be the archive URL, rather than the original.

Semi-required

tweet-id or youtube-id

The ID fragment from a tweet or YouTube video's URL, for use in combination with an author-id for a tweet or channel-id and channel for a video.

For Twitter, this is the string of numbers following /status/ in the URL. For YouTube, this is the string of numbers and letters following /watch?v= in the URL.

This parameter should only be used in exclusion of the url parameter.

Semi-required

author-id

The ID fragment of a Twitter account, for use in combination with a tweet-id.

Semi-required

channel

The name of the YouTube channel posting the referenced material.

Semi-required

channel-id

The ID fragment of a YouTube channel's URL, for use in combination with a youtube-id.

Miscellaneous

  • Non-release generic <ref>s should use a specific format. First, choose a shorthand "nickname" for the source (this is usually the last name of the author and the date, like "Smith 2022"). Then put any specific information after, separated by a comma and a space (like "Smith 2022, p. 1"). Next, surround the shorthand name with a link to an anchor ID. So altogether, <ref>[[#Smith 2001|Smith 2001]], p. 1</ref> and a {{ref |id=Smith 2001 |etc... }}.
  • When choosing how to format a reference, be mindful of the exact source you're referencing. For example, if you're citing a secret in a video game, you would source the video game, and not a YouTube video showing the secret. You could still link to the YouTube video as extra evidence, but the reference would be formatted as if you were referencing a game, because ultimately that is the true source of the information.
Advertisement