Template:Cite: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if:1|{{#if:{{{quote|}}}|"{{{quote}}}" &ndash;}} {{#if:{{{author|}}}{{{date|}}}|{{{author|}}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}.}} {{#if:{{{title|}}}|{{#if:{{#if:{{{deadlink|}}}|{{{archive|}}}|{{{url|}}}}}|[{{#if:{{{deadlink|}}}|{{{archive}}}|{{{url}}}}} {{{title}}}]|{{{title}}}}}{{#if:{{{format|}}}|<nowiki/> ({{{format}}})}}.}} {{#if:{{{publisher|}}}|<span style="font-style:italic">{{{publisher}}}</span>{{#if:{{{language|}}}|<nowiki/> ({{{language}}})}}.}} {{#if:{{{isbn|}}}|ISBN [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]].}} {{#if:{{{page|}}}|Page {{{page}}}.}} {{#if:{{{deadlink|}}}||{{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}.}}}} {{#if:{{{archive|}}}|{{#if:{{{deadlink|}}}|Archived|([{{{archive}}} Archived]}} {{{archivedate|{{#if:{{#pos:{{{archive}}}|web.archive.org/web/}}|{{#time:F j, Y, H:i:s e|{{#sub:{{{archive}}}|{{#expr:{{#pos:{{{archive}}}|web/}}+4}}|14}}}}}}}}} {{#if:{{{deadlink|}}}|from the {{#if:{{{url|}}}|[{{{url}}} original]|original}}}} via {{{archiver|{{#if:{{#pos:{{{archive}}}|web.archive.org/web/}}|Wayback Machine|archive.today}}}}}.{{#if:{{{deadlink|}}}||)}}}} {{#if:{{{deadlink|}}}|{{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}.}}}}}}</includeonly><noinclude>
<includeonly>{{#if:1|{{#if:{{{quote|}}}|"{{{quote}}}" &ndash;}} {{#if:{{{author|}}}{{{date|}}}|{{{author|}}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}.}} {{#if:{{{title|}}}|{{#if:{{#if:{{{deadlink|}}}|{{{archive|}}}|{{{url|}}}}}|[{{#if:{{{deadlink|}}}|{{{archive}}}|{{{url}}}}} {{{title}}}]|{{{title}}}}}{{#if:{{{format|}}}|<nowiki/> ({{{format}}})}}.}} {{#if:{{{publisher|}}}|<span style="font-style:italic">{{{publisher}}}</span>{{#if:{{{language|}}}|<nowiki/> ({{{language}}})}}.}} {{#if:{{{isbn|}}}|ISBN [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]].}} {{#if:{{{page|}}}|Page {{{page}}}.}} {{#if:{{{deadlink|}}}||{{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}.}}}} {{#if:{{{archive|}}}|{{#if:{{{deadlink|}}}|Archived|([{{{archive}}} Archived]}} {{{archivedate|{{#if:{{#pos:{{{archive}}}|web.archive.org/web/}}|{{#time:F j, Y, H:i:s e|{{#sub:{{{archive}}}|{{#expr:{{#pos:{{{archive}}}|web/}}+4}}|14}}}}}}}}} {{#if:{{{deadlink|}}}|from the {{#if:{{{url|}}}|[{{{url}}} original]|original}}}} via {{{archiver|{{#if:{{#pos:{{{archive}}}|web.archive.org/web/}}|Wayback Machine|archive.today}}}}}.{{#if:{{{deadlink|}}}||)}}}} {{#if:{{{deadlink|}}}|{{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}.}}}}}}</includeonly><noinclude>
See [[MarioWiki:Citations]] for additional details on citing and using the reference system.
See [[MarioWiki:Citations]] for additional details on using the reference system.


== Usage ==
== Usage ==
Line 13: Line 13:


== Parameters ==
== Parameters ==
*<code>|quote=</code> - A quote being cited.
'''<u>Parameters for all citations:</u>'''<br>These parameters should always be included whenever possible.
*<code>|author=</code> - Name of author(s), listing last name then first name.
*'''Author''' (<code>author</code>): The full name in (Lastname, Firstname) format ''or'' the username of whoever wrote the content of the source.
*<code>|date=</code> - Release or publication date of referenced source.
*'''Date''' (<code>date</code>): The date the book or page was published, e.g. "January 1, 2000".
*<code>|title=</code> - Title of what is being cited.
*'''Title''' (<code>title</code>): The title of the source.
*<code>|url=</code> - URL of what is being cited.
*'''Publisher''' (<code>publisher</code>): The publisher of the book, or the website on which the web page was found.
*<code>|format=</code> - Format of URL if non-webpage (e.g. PDF).
 
*<code>|publisher=</code> - Publisher of the source (automatically italicized).
'''<u>Parameters for a specific citation type:</u>'''
*<code>|language=</code> - Language of the publication if non-English.
*'''ISBN''' (<code>isbn</code>): For physical books only, the {{wp|ISBN}} of the book.
*<code>|isbn=</code> - The book identifier, otherwise known as the {{wp|ISBN}}.
*'''Page''' (<code>page</code>): For physical books only, the page number on which the citation was found.
*<code>|page=</code> - The page number being cited.
*'''URL''' (<code>url</code>): For web pages only, the full URL to the page.
*<code>|accessdate=</code> - The date when the source was cited.
*'''Access date''' (<code>accessdate</code>): For web pages only, the date at which the source was accessed, e.g. "January 1, 2000". This is to preserve the state of the web page at that time, since unlike physical media, web pages can change at any point.
*<code>|archive=</code> - Web archive link.
*'''Format''' (<code>format</code>): For web links only, the format of the URL if non-webpage (e.g. PDF).
*<code>|deadlink=</code> - Set to <tt>yes</tt> to swap priority of the <code>url</code> and <code>archive</code> links.
*'''Dead link''' (<code>deadlink</code>): For web pages only, a feature which swaps priority of the URL and archive links.
*<code>|archivedate=</code> - Date the web page was archived. '''Omit parameter for Wayback Machine''' (date pulled from URL).
 
*<code>|archiver=</code> - The archival source. '''Omit parameter for Wayback Machine and archive.today''' (automatic).
'''<u>Optional parameters:</u>'''<br>These parameters should only be included if relevant to the citation.
*'''Quote''' (<code>quote</code>): A brief excerpt from the book or web page providing more context to the citation. Using quotes is encouraged because it allows readers to see evidence behind a claim quickly and directly on the wiki itself, rather than needing to seek out the evidence in question in order to prove that it has not been fabricated.
*'''Language''' (<code>language</code>): The language of the publication if non-English.
*'''Archive''' (<code>archive</code>): A link to a web archive of an online source.
*'''Archive date''' (<code>archivedate</code>): The date at which the URL was archived. '''Omit for Wayback Machine''', since the template automatically grabs the date from the URL.
*'''Archiver''' (<code>archiver</code>): The archival source. '''Omit for Wayback Machine and archive.today''', since the template automatically checks for these.


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 12:24, February 8, 2024

See MarioWiki:Citations for additional details on using the reference system.

Usage

Based on Wikipedia's citation template, this template can be used for a variety of citations across a variety of different works, let it be publications, web pages, and so forth. Remember to include it between the the <ref> and </ref> tags.

{{cite|quote=|author=|date=|title=|url=|format=|publisher=|language=|isbn=|page=|accessdate=|archive=|deadlink=|archivedate=|archiver=}}

Example

Citing a book for the Electrified Anemone's name:

<ref>{{cite|author=von Esmarch, Nick, and Cory van Grier|publisher=[[Prima Games]]|title=''Donkey Kong Country: Tropical Freeze'' Official Game Guide|isbn=978-0804162524|page=26}}</ref>

Parameters

Parameters for all citations:
These parameters should always be included whenever possible.

  • Author (author): The full name in (Lastname, Firstname) format or the username of whoever wrote the content of the source.
  • Date (date): The date the book or page was published, e.g. "January 1, 2000".
  • Title (title): The title of the source.
  • Publisher (publisher): The publisher of the book, or the website on which the web page was found.

Parameters for a specific citation type:

  • ISBN (isbn): For physical books only, the ISBN of the book.
  • Page (page): For physical books only, the page number on which the citation was found.
  • URL (url): For web pages only, the full URL to the page.
  • Access date (accessdate): For web pages only, the date at which the source was accessed, e.g. "January 1, 2000". This is to preserve the state of the web page at that time, since unlike physical media, web pages can change at any point.
  • Format (format): For web links only, the format of the URL if non-webpage (e.g. PDF).
  • Dead link (deadlink): For web pages only, a feature which swaps priority of the URL and archive links.

Optional parameters:
These parameters should only be included if relevant to the citation.

  • Quote (quote): A brief excerpt from the book or web page providing more context to the citation. Using quotes is encouraged because it allows readers to see evidence behind a claim quickly and directly on the wiki itself, rather than needing to seek out the evidence in question in order to prove that it has not been fabricated.
  • Language (language): The language of the publication if non-English.
  • Archive (archive): A link to a web archive of an online source.
  • Archive date (archivedate): The date at which the URL was archived. Omit for Wayback Machine, since the template automatically grabs the date from the URL.
  • Archiver (archiver): The archival source. Omit for Wayback Machine and archive.today, since the template automatically checks for these.