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}}}" –}} {{#if:{{{author|}}}{{{date|}}}|{{{author|}}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}.}} {{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{#if:{{{deadlink|}}}|{{{archive}}}|{{{url}}}}} {{{title}}}]|{{{title}}}}}{{#if:{{{format|}}}{{{language|}}}|<nowiki/> ({{#if:1|{{{format|}}} {{#if:{{{language|}}}|in {{{language}}}}}}})}}.}} {{#if:{{{publisher|}}}|<span style="font-style:italic">{{{publisher}}}</span>.}} {{#if:{{{isbn|}}}|ISBN [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]].}} {{#if:{{{page|}}}|Page {{{page}}}.}} {{#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 [{{{url}}} original]}} via {{{archiver|Wayback Machine}}}.)}}}}</includeonly><noinclude> | <includeonly>{{#if:1|{{#if:{{{quote|}}}|"{{{quote}}}" –}} {{#if:{{{author|}}}{{{date|}}}|{{{author|}}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}.}} {{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{#if:{{{deadlink|}}}|{{{archive}}}|{{{url}}}}} {{{title}}}]|{{{title}}}}}{{#if:{{{format|}}}{{{language|}}}|<nowiki/> ({{#if:1|{{{format|}}} {{#if:{{{language|}}}|in {{{language}}}}}}})}}.}} {{#if:{{{publisher|}}}|<span style="font-style:italic">{{{publisher}}}</span>.}} {{#if:{{{isbn|}}}|ISBN [[Special:BookSources/{{{isbn}}}|{{{isbn}}}]].}} {{#if:{{{page|}}}|Page {{{page}}}.}} {{#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|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 22:59, 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=|format=|language=|publisher=|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
|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.|format=
- Format of URL if non-webpage (e.g. PDF, video).|language=
- Language of what is being cited if non-English.|publisher=
- Publisher of the source (automatically italicized).|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.|deadlink=
- Set to a value such as yes to swap priority of theurl
andarchive
links.|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).