Template:Cite: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(visual aid and helps distinguish the parameters)
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{quote|}}}|"{{{quote}}}" &ndash;&nbsp;|}}{{#if:{{{author|}}}|{{{author}}}.&nbsp;|}}{{#if:{{{date|}}}|({{{date}}}).&nbsp;|}}{{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}.&nbsp;|}}{{#if:{{{publisher|}}}|{{{publisher}}}.&nbsp;|}}{{#if:{{{isbn|}}}|{{wp|ISBN}} [[wikipedia:Special:BookSources?isbn={{{isbn}}}|{{{isbn}}}]].&nbsp;|}}{{#if:{{{page|}}}|Page {{{page}}}.&nbsp;|}}{{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}.&nbsp;|}} {{#if:{{{archive|}}}|([{{{archive}}} Archived] {{{archivedate}}} via {{{archiver|{{wp|Wayback Machine}}}}}.)|}}
<includeonly>{{#if:{{{quote|}}}|"{{{quote}}}" &ndash;&nbsp;|}}{{#if:{{{author|}}}|{{{author}}}.&nbsp;|}}{{#if:{{{date|}}}|({{{date}}}).&nbsp;|}}{{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}.&nbsp;|}}{{#if:{{{publisher|}}}|{{{publisher}}}.&nbsp;|}}{{#if:{{{isbn|}}}|{{wp|ISBN}} [https://en.wikipedia.org/wiki/Special:BookSources?isbn={{{isbn}}} {{{isbn}}}].&nbsp;|}}{{#if:{{{page|}}}|Page {{{page}}}.&nbsp;|}}{{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}.&nbsp;|}} {{#if:{{{archive|}}}|([{{{archive}}} Archived] {{{archivedate}}} via {{{archiver|{{wp|Wayback Machine}}}}}.)|}}
</includeonly><noinclude>
</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.
Line 10: Line 9:
Citing a book for the [[Electrified Anemone]]'s name:
Citing a book for the [[Electrified Anemone]]'s name:


<code><nowiki>{{cite|author=von Esmarch, Nick, and Cory van Grier|title=''Donkey Kong Country: Tropical Freeze'' [[Prima Games|Prima]] Official Game Guide|page=26}}</ref></nowiki></code>
<code><nowiki>{{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></nowiki></code>


==Parameters==
==Parameters==
*<code>|author=</code> - Name of author, listing last name then first name.
*<code>|author=</code> - Name of authors, listing last name then first name.
*<code>|quote=</code> - Quote
*<code>|quote=</code> - Quote
*<code>|date=</code> - Release or publication date of referenced source
*<code>|date=</code> - Release or publication date of referenced source

Revision as of 12:58, 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 |author = |date = |title = |url = |publisher = |isbn = |page = |accessdate = |quote = |archive = |archivedate = | archiver = }}

Examples

Citing a book for the Electrified Anemone's name:

{{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

  • |author= - Name of authors, listing last name then first name.
  • |quote= - Quote
  • |date= - Release or publication date of referenced source
  • |title= - Title 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.
  • |archiver= - The archival source.