Difference between revisions of "Template:Cite core"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
m (Removed old way.)
m (As per the documentation.)
Line 11: Line 11:
-->{{#if:{{{url|}}}||{{#if:{{{title|}}}|{{#ifeq:{{{forcommentary|no}}}|yes|[[Commentary:{{#ifeq:{{{foranimatic|no}}}|yes|Animatic:}}{{{title}}}|Commentary]] for {{#ifeq:{{{foranimatic|no}}}|yes|animatic of}}&#32;}}{{#ifeq:{{{foranimatic|no}}}|yes|[[Animatic:{{{title}}}|Animatic]] for&#32;}}{{#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&#32;}}[[Futurama (video game)|the game]]}}}}}}<!--
-->{{#if:{{{url|}}}||{{#if:{{{title|}}}|{{#ifeq:{{{forcommentary|no}}}|yes|[[Commentary:{{#ifeq:{{{foranimatic|no}}}|yes|Animatic:}}{{{title}}}|Commentary]] for {{#ifeq:{{{foranimatic|no}}}|yes|animatic of}}&#32;}}{{#ifeq:{{{foranimatic|no}}}|yes|[[Animatic:{{{title}}}|Animatic]] for&#32;}}{{#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&#32;}}[[Futurama (video game)|the game]]}}}}}}<!--
DVD:
DVD:
-->{{#if:{{{dvd location|}}}|{{{dvd location}}}|}}{{#if:{{{dvd volume|}}}|&#32;on [[Volume {{{dvd volume}}}]]{{#if:{{{disc which}}}|, disc {{{disc which}}}|}}|}}{{#if:{{{dvd special|}}}|&#32;on ''[[{{{dvd special}}}]]''|}}{{#if:{{{dvd film|}}}|&#32;on [[{{{dvd film}}}#The DVD|''{{{dvd film}}}''{{'}}s DVD]]|}}. <!--
-->{{#if:{{{dvd location|}}}|{{{dvd location}}}|}}{{#if:{{{dvd volume|}}}|&#32;on [[Volume {{{dvd volume}}}]]{{#if:{{{dvd disc|}}}|, disc {{{dvd disc}}}|}}|}}{{#if:{{{dvd special|}}}|&#32;on ''[[{{{dvd special}}}]]''|}}{{#if:{{{dvd film|}}}|&#32;on [[{{{dvd film}}}#The DVD|''{{{dvd film}}}''{{'}}s DVD]]|}}. <!--
Publisher details:
Publisher details:
-->{{#if:{{{publisher|}}}|''{{{publisher}}}''.|{{#if:{{{site|}}}|({{{site}}})|}}}} <!--
-->{{#if:{{{publisher|}}}|''{{{publisher}}}''.|{{#if:{{{site|}}}|({{{site}}})|}}}} <!--

Revision as of 15:46, 25 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.