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|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}{{#if:{{{format|}}}{{{language|}}}|<nowiki/> ({{#if:1|{{{format|}}} {{#if:{{{language|}}}|in {{{language}}}}}}})}}.}} {{#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}}}" –}} {{#if:{{{author|}}}{{{date|}}}|{{{author|}}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}.}} {{#if:{{{title|}}}|{{#if:{{{url|}}}|[{{{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|}}}|{{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. | ||
Line 18: | Line 18: | ||
*<code>|format=</code> - Format of what is being cited (e.g. PDF, Video). | *<code>|format=</code> - Format of what is being cited (e.g. PDF, Video). | ||
*<code>|language=</code> - Language of what is being cited (if non-English). | *<code>|language=</code> - Language of what is being cited (if non-English). | ||
*<code>|publisher=</code> - Publisher of the source. | *<code>|publisher=</code> - Publisher of the source (automatically italicized). | ||
*<code>|isbn=</code> - The book identifier, otherwise known as the {{wp|ISBN}}. | *<code>|isbn=</code> - The book identifier, otherwise known as the {{wp|ISBN}}. | ||
*<code>|page=</code> - The page number being cited. | *<code>|page=</code> - The page number being cited. |
Revision as of 18:13, 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=|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 what is being cited (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.|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).