Difference between revisions of "Template:Cite core"
Jump to navigation
Jump to search
m |
m Tag: Manual revert |
||
(27 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><cite style="font-style: normal;"><!-- | <includeonly><cite style="font-style: normal;"><!-- | ||
Quote: | Quote: | ||
-->{{#if:{{{quote|}}}|<span | -->{{#if:{{{quote 2|}}}|<!-- | ||
Multiple quotes: | |||
-->{{{speaker|{{{quote author}}}}}}: <span class="cite-quote">"{{{quote}}}"</span><br />{{{speaker 2}}}: <span class="cite-quote">"{{{quote 2}}}"</span>{{#if:{{{quote 3|}}}|<br />{{{speaker 3}}}: <span class="cite-quote">"{{{quote 3}}}"</span>{{#if:{{{quote 4|}}}|<br />{{{speaker 4}}}: <span class="cite-quote">"{{{quote 4}}}"</span>{{#if:{{{quote 5|}}}|<br />{{{speaker 5}}}: <span class="cite-quote">"{{{quote 5}}}"</span>{{#if:{{{quote 6|}}}|<br />{{{speaker 6}}}: <span class="cite-quote">"{{{quote 6}}}"</span>{{#if:{{{quote 7|}}}|<br />{{{speaker 7}}}: <span class="cite-quote">"{{{quote 7}}}"</span>{{#if:{{{quote 8|}}}|<br />{{{speaker 8}}}: <span class="cite-quote">"{{{quote 8}}}"</span>{{#if:{{{quote 9|}}}|<br />{{{speaker 9}}}: <span class="cite-quote">"{{{quote 9}}}"</span>|}}|}}|}}|}}|}}|}}|}}<br />{{#ifeq:{{{forcommentary|no}}}|yes|{{#if:{{{title|}}}| ([[Transcript:Commentary:{{{title}}}|Transcript]]).<br />|}}|}}<!-- | |||
A single quote: | |||
-->|{{#if:{{{quote|}}}|<span class="cite-quote">"{{{quote}}}"</span>{{#if:{{{quote author|{{{speaker|}}}}}}| — {{{quote author|{{{speaker}}}}}}|}}{{#ifeq:{{{forcommentary|no}}}|yes|{{#if:{{{title|}}}| ([[Transcript:Commentary:{{{title}}}|Transcript]])|}}|}}<br />|}}}}<!-- | |||
Author/speaker: | Author/speaker: | ||
-->{{#if:{{{author|{{{ | -->{{#if:{{{author|}}}|{{list|{{{author}}}|{{{author 2|}}}|{{{author 3|}}}|{{{author 4|}}}|{{{author 5|}}}|{{{author 6|}}}|{{{author 7|}}}|{{{author 8|}}}|{{{author 9|}}}}}<!-- | ||
Date applied to the author, | Date applied to the author, | ||
-->{{#if:{{{date|}}}| ({{datestamp|{{{date}}}}})|}}.|}}{{#if:{{{firstname|}}}{{{surname|}}}|{{{surname}}}, {{{firstname}}}{{#if:{{{date|}}}| ({{datestamp|{{{date}}}}})|}}.|}} <!-- | -->{{#if:{{{date|}}}| ({{datestamp|{{{date}}}}})|}}.|}} <!--{{#if:{{{firstname|}}}{{{surname|}}}|{{{surname}}}, {{{firstname}}}{{#if:{{{date|}}}| ({{datestamp|{{{date}}}}})|}}.|}} <!-- | ||
URL: | URL: | ||
-->{{#if:{{{url|}}}|[{{{url}}} {{#if:{{{publisher|}}}|"{{{title|No title}}}"|{{{title}}}}}]}} | -->{{#if:{{{url|}}}|[{{{url}}} {{#if:{{{publisher|}}}|"{{{title|No title}}}"|{{{title}}}}}]}}{{#if:{{{format|}}}| ({{{format}}})|}}<!-- | ||
Episodes/films/comics: | Episodes/films/comics: | ||
-->{{#if:{{{url|}}}||{{#if:{{{title|}}}|{{#ifeq:{{{forcommentary|no}}}|yes|[[Commentary:{{#ifeq:{{{foranimatic|no}}}|yes|Animatic:}}{{{title}}} | -->{{#if:{{{url|}}}||{{#if:{{{title|}}}|{{#ifeq:{{{forcommentary|no}}}|yes|[[Commentary:{{#ifeq:{{{foranimatic|no}}}|yes|Animatic:}}{{{title}}} {{#if:{{{special commentary|}}}|({{{special commentary}}} commentary)|}}|{{#if:{{{special commentary|}}}|{{ucfirst:{{{special commentary}}}}} commentary|Commentary}}]] for {{#ifeq:{{{foranimatic|no}}}|yes|[[Animatic:{{{title}}}|animatic]] of}} |{{#ifeq:{{{foranimatic|no}}}|yes|[[Animatic:{{{title}}}|Animatic]] for }}}}{{#ifeq:{{{isepisode|no}}}|yes|"[[{{{title}}}]]"}}{{#ifeq:{{{isfilm|no}}}|yes|''[[{{{title}}}]]''}}{{#ifeq:{{{iscomic|no}}}|yes|"[[{{{title}}}]]"}}|{{#ifeq:{{{isgame|no}}}|yes|{{{#ifeq:{{{forcommentary|no}}}|yes|[[Commentary:Futurama (video game)|Commentary]] for }}[[Futurama (video game)|the game]]}}}}}}<!-- | ||
DVD: | DVD: | ||
-->{{#if:{{{dvd location|}}}|{{{dvd location}}}|}}{{#if:{{{dvd | -->{{#if:{{{dvd location|}}}|{{{dvd location}}}|}}{{#if:{{{dvd volume|}}}| on [[Volume {{{dvd volume}}}]]{{#if:{{{dvd disc|}}}|, disc {{{dvd disc}}}|}}|}}{{#if:{{{dvd special|}}}| on ''[[{{{dvd special}}}]]''|}}{{#if:{{{dvd film|}}}| on [[{{{dvd film}}}#The DVD|the DVD]]|}}. <!-- | ||
Publisher details: | Publisher details: | ||
-->{{#if:{{{publisher|}}}|''{{{publisher}}}''.|{{#if:{{{site|}}}|({{{site}}})|}}}} <!-- | -->{{#if:{{{publisher|}}}|''{{{publisher}}}''.|{{#if:{{{site|}}}|({{{site}}}.)|}}}} <!-- | ||
Date if no author: | Date if no author: | ||
-->{{#if:{{{author|}}}{{{firstname|}}}{{{surname|}}}||{{#if:{{{date|}}}|{{datestamp|{{{date}}}}}.|}}}} <!-- | -->{{#if:{{{author|}}}{{{firstname|}}}{{{surname|}}}||{{#if:{{{date|}}}|{{datestamp|{{{date}}}}}.|}}}} <!-- | ||
Access date: | Access date: | ||
-->{{#if:{{{accessdate|}}}|Retrieved on {{datestamp|{{{accessdate}}}}}.|}}</cite></includeonly><noinclude>{{documentation}}</noinclude> | -->{{#if:{{{accessdate|}}}|Retrieved on {{datestamp|{{{accessdate}}}}}.|}}</cite></includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 00:34, 21 February 2022
Documentation for {{cite core}}
Use
For use with the cite templates, this builds up the basis for all cite templates, so there is a unified standard beyond all cite templates.
Usage
This template comes with a lot of built-in parameters. If none are supplied, it will at its present state, simply return a full-stop ('.').
- quote
- A quotation related to the cite.
- quote author
- An author to the quotation (author/speaker) is assumed when they are the same person.
- author/speaker
- The author/speaker of a news story, commentary, etc.
- firstname
- Instead of author/speaker, the first name (along with surname) can be used.
- surname
- The surname of the author/speaker; see firstname.
- date
- The date of related to the city, in format YYYY-MM-DD.
- accessdate
- The date of access to the website in question, so users may reflect on last time the link was certain to work, in format YYYY-MM-DD.
- url
- The URL to a news story, etc.
- title
- The title to the URL or to the media, e.g. film or episode or comic
- publisher
- The publisher of a news article.
- site
- The site being linked to.
- format
- The format of the link, e.g. an image
- isgame
- (Values: yes/no, Default: no) Determine whether it is about the game (can be used together with forcommentary).
- isepisode
- (Values: yes/no, Default: no) Determine whether it is about an episode (must be used together with title and can be used together with forcommentary and foranimatic).
- isfilm
- (Values: yes/no, Default: no) Determine whether it is about a film (must be used together with title and can be used together with forcommentary and foranimatic).
- forcommentary
- (Values: yes/no, Default: no) Determine whether the links are for a commentary (can be used together with foranimatic, though commentary have precedence over animatics).
- foranimatic
- (Values: yes/no, Default: no) Determine whether the links are for an animatic episode/film/etc.
- dvd location
- The location of something on a DVD, e.g. DVD menu.
- dvd volume
- Which DVD volume, e.g. One.
- dvd disc
- The disc within a volume the episode/content is located.
- dvd special
- Which DVD special, e.g. Monster Robot Maniac Fun Collection.
- dvd film
- The DVD of a film, where the content is located.
Examples
Some text.<ref>{{cite core |title=Title|url=https://example.org/ }}</ref>
Some text.[1]