Template:Cite: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary Tags: Mobile edit Advanced mobile edit |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{quote|}}}|"{{{quote}}}" – |}}{{#if:{{{author|}}}|{{{author}}} |}}{{#if:{{{date|}}}|({{{date}}}). |}}{{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}. |}}{{#if:{{{publisher|}}}|{{{publisher}}}. |}}{{#if:{{{isbn|}}}|ISBN {{{isbn}}}. |}}{{#if:{{{page|}}}|Page {{{page}}}. |}}{{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}. |}} {{#if:{{{archive|}}}|([{{{archive}}} Archived] {{{archivedate}}} via {{{archiver|Wayback Machine}}}.)|}} | <includeonly>{{#if:{{{quote|}}}|"{{{quote}}}" – |}}{{#if:{{{author|}}}|{{{author}}} |}}{{#if:{{{date|}}}|({{{date}}}). |}}{{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}. |}}{{#if:{{{publisher|}}}|{{{publisher}}}. |}}{{#if:{{{isbn|}}}|ISBN {{{isbn}}}. |}}{{#if:{{{page|}}}|Page {{{page}}}. |}}{{#if:{{{accessdate|}}}|Retrieved {{{accessdate}}}. |}} {{#if:{{{archive|}}}|([{{{archive}}} Archived] {{{archivedate}}} via {{{archiver|{{wp|Wayback Machine}}}}}.)|}} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
==Usage== | |||
Based on Wikipedia's {{wp|Template:Citation|citation template}}, this 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. | |||
<pre>{{cite |author = |date = |title = |url = |publisher = |isbn = |page = |accessdate = |quote = |archive = |archivedate = | archiver = }}</pre> | <pre>{{cite |author = |date = |title = |url = |publisher = |isbn = |page = |accessdate = |quote = |archive = |archivedate = | archiver = }}</pre> | ||
</noinclude> | |||
==Examples== | |||
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> | |||
==Parameters== | |||
*<code>|author=</code> - Name of author, listing last name then first name. | |||
*<code>|quote=</code> - Quote | |||
*<code>|date=</code> - Release or publication date of referenced source | |||
*<code>|title=</code> - Title of what is being cited. | |||
*<code>|publisher=</code> - Publisher of the source. | |||
*<code>|isbn=</code> - The book identifier, otherwise known as the {{wp|ISBN}}. | |||
*<code>|page=</code> - The page number being cited. | |||
*<code>|accessdate=</code> - The date when the source was cited. | |||
*<code>|archive=</code> - Web archive link | |||
*<code>|archivedate=</code> - Date the web page was archived. | |||
*<code>|archiver=</code> - The archival source. | |||
[[Category:Formatting templates]]</noinclude> |
Revision as of 12:37, February 7, 2024
Usage
Based on Wikipedia's citation template, this 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|title=''Donkey Kong Country: Tropical Freeze'' [[Prima Games|Prima]] Official Game Guide|page=26}}</ref>
Parameters
|author=
- Name of author, 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.