Difference between revisions of "Template:Cite core"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
m
m (Added documentation.)
Line 1: Line 1:
<cite style="font-style: normal;">{{#if:{{{quote|}}}|<span style="font-style: italic;">"{{{quote}}}"</span>{{#if:{{{quote author|}}}|&#32;&mdash; {{{quote author}}}|}}<br />|}}{{#if:{{{author|}}}|{{{author}}}{{#if:{{{date|}}}|&#32;({{datestamp|{{{date}}}}})|}}.|}}{{#if:{{{firstname|}}}{{{surname|}}}|{{{surname}}}, {{{firstname}}}{{#if:{{{date|}}}|&#32;({{datestamp|{{{date}}}}})|}}.|}} {{#if:{{{url|}}}|[{{{url}}} {{#if:{{{publisher|}}}|"{{{title|No title}}}"|{{{title}}}}}]}}{{#if:{{{format|}}}|&#32;({{{format}}})|}}{{#if:{{{episode commentary|}}}|[[Commentary{{#ifeq:{{{foranimatic|no}}}|yes|Animatic:}}:{{{episode commentary}}}|Commentary]] for{{#ifeq:{{{foranimatic|no}}}|yes|&#32;for the animatic of}} "[[{{{episode commentary}}}]]"|}}{{#if:{{{film commentary|}}}|[[Commentary{{#ifeq:{{{foranimatic|no}}}|yes|Animatic:}}:{{{film commentary}}}|Commentary]] for{{#ifeq:{{{foranimatic|no}}}|yes|&#32;for the animatic of}} ''[[{{{film commentary}}}]]''|}}{{#if:{{{game commentary|}}}|[[Commentary:Futurama (video game)|Commentary for the game]]|}}{{#if:{{{episode|}}}|{{#ifeq:{{{foranimatic|no}}}|yes|[[Animatic:{{{episode}}}|Animatic]] for }}"[[{{{episode}}}]]"|}}{{#if:{{{film|}}}|{{#ifeq:{{{foranimatic|no}}}|yes|[[Animatic:{{{film}}}|Animatic]] for }}''[[{{{film|}}}]]''|}}{{#if:{{{dvd location|}}}|{{{dvd location}}}|}}{{#if:{{{dvd which|}}}|&#32;on {{{dvd which}}}{{#if:{{{disc which}}}|, disc {{{disc which}}}|}}|{{#if:{{{dvd film|}}}|&#32;on [[{{{dvd film}}}#The DVD|''{{{dvd film}}}''{{'}}s DVD]]|}}}}. {{#if:{{{publisher|}}}|''{{{publisher}}}''.|{{#if:{{{site|}}}|({{{site}}})|}}}} {{#if:{{{author|}}}{{{firstname|}}}{{{surname|}}}||{{#if:{{{date|}}}|{{datestamp|{{{date}}}}}.|}}}} {{#if:{{{accessdate|}}}|Retrieved on {{datestamp|{{{accessdate}}}}}.|}}</cite>
<includeonly><cite style="font-style: normal;">{{#if:{{{quote|}}}|<span style="font-style: italic;">"{{{quote}}}"</span>{{#if:{{{quote author|}}}|&#32;&mdash; {{{quote author}}}|}}<br />|}}{{#if:{{{author|}}}|{{{author}}}{{#if:{{{date|}}}|&#32;({{datestamp|{{{date}}}}})|}}.|}}{{#if:{{{firstname|}}}{{{surname|}}}|{{{surname}}}, {{{firstname}}}{{#if:{{{date|}}}|&#32;({{datestamp|{{{date}}}}})|}}.|}} {{#if:{{{url|}}}|[{{{url}}} {{#if:{{{publisher|}}}|"{{{title|No title}}}"|{{{title}}}}}]}}{{#if:{{{format|}}}|&#32;({{{format}}})|}}{{#if:{{{episode commentary|}}}|[[Commentary{{#ifeq:{{{foranimatic|no}}}|yes|Animatic:}}:{{{episode commentary}}}|Commentary]] for{{#ifeq:{{{foranimatic|no}}}|yes|&#32;for the animatic of}} "[[{{{episode commentary}}}]]"|}}{{#if:{{{film commentary|}}}|[[Commentary{{#ifeq:{{{foranimatic|no}}}|yes|Animatic:}}:{{{film commentary}}}|Commentary]] for{{#ifeq:{{{foranimatic|no}}}|yes|&#32;for the animatic of}} ''[[{{{film commentary}}}]]''|}}{{#if:{{{game commentary|}}}|[[Commentary:Futurama (video game)|Commentary for the game]]|}}{{#if:{{{episode|}}}|{{#ifeq:{{{foranimatic|no}}}|yes|[[Animatic:{{{episode}}}|Animatic]] for }}"[[{{{episode}}}]]"|}}{{#if:{{{film|}}}|{{#ifeq:{{{foranimatic|no}}}|yes|[[Animatic:{{{film}}}|Animatic]] for }}''[[{{{film|}}}]]''|}}{{#if:{{{dvd location|}}}|{{{dvd location}}}|}}{{#if:{{{dvd which|}}}|&#32;on {{{dvd which}}}{{#if:{{{disc which}}}|, disc {{{disc which}}}|}}|{{#if:{{{dvd film|}}}|&#32;on [[{{{dvd film}}}#The DVD|''{{{dvd film}}}''{{'}}s DVD]]|}}}}. {{#if:{{{publisher|}}}|''{{{publisher}}}''.|{{#if:{{{site|}}}|({{{site}}})|}}}} {{#if:{{{author|}}}{{{firstname|}}}{{{surname|}}}||{{#if:{{{date|}}}|{{datestamp|{{{date}}}}}.|}}}} {{#if:{{{accessdate|}}}|Retrieved on {{datestamp|{{{accessdate}}}}}.|}}</cite></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 21:31, 24 February 2010

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]

  1. ^ Title.