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|}}}|({{{date}}})}}.}} {{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}.}} {{#if:{{{publisher|}}}|''{{{publisher}}}''.}} {{#if:{{{isbn|}}}|{{wp|ISBN}} [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]].}} {{#if:{{{page|}}}|Page {{{page}}}.}} {{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}.}} {{#if:{{{archive|}}}|([{{{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}}}}}}}}} via {{{archiver|{{wp|Wayback Machine}}}}}.)}}}}</includeonly><noinclude>
<includeonly>{{#if:1|{{#if:{{{quote|}}}|"{{{quote}}}" &ndash;}} {{#if:{{{author|}}}{{{date|}}}|{{{author|}}}{{#if:{{{date|}}}| <nowiki/>({{{date}}})}}.}} {{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}.}} {{#if:{{{publisher|}}}|''{{{publisher}}}''.}} {{#if:{{{isbn|}}}|{{wp|ISBN}} [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]].}} {{#if:{{{page|}}}|Page {{{page}}}.}} {{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}.}} {{#if:{{{archive|}}}|([{{{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}}}}}}}}} via {{{archiver|{{wp|Wayback Machine}}}}}.)}}}}</includeonly><noinclude>
==Usage==
==Usage==
Based on Wikipedia's {{wp|Template:Citation|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 <code><nowiki><ref></nowiki></code> and <code><nowiki></ref></nowiki></code> tags.
Based on Wikipedia's {{wp|Template:Citation|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 <code><nowiki><ref></nowiki></code> and <code><nowiki></ref></nowiki></code> tags.

Revision as of 17:24, February 7, 2024

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=|publisher=|isbn=|page=|accessdate=|archive=|archivedate=|archiver=}}

Examples

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

  • |quote= - A quote being cited.
  • |author= - Name of authors, listing last name then first name.
  • |date= - Release or publication date of referenced source.
  • |title= - Title of what is being cited.
  • |url= - URL of what is being cited.
  • |publisher= - Publisher of the source.
  • |isbn= - The book identifier, otherwise known as the ISBN.
  • |page= - The page number being cited.
  • |accessdate= - The date when the source was cited.
  • |archive= - Web archive link.
  • |archivedate= - Date the web page was archived. Omit parameter for Wayback Machine (date pulled from URL).
  • |archiver= - The archival source. Omit parameter for Wayback Machine (default source).