Difference between revisions of "Template:MediaCitation"

From BIONICLEsector01
(I might remove the useless non-canon stuff from here (not the BH or the BtG VNOG 'cause these have addition info/rahi cited from the games themselves) but I think there's little info which came from the CDs that was ommitted from the Encyclopedias or o...)
(Tags: mobile edit, mobile web edit)
(Update to use ref tags. I assigned titles italics (or not) pretty arbitrarily. Feel free to change them as needed)
Line 1: Line 1:
<sup><nowiki>[</nowiki>{{#switch: {{{1}}}
+
<includeonly>{{#tag:ref
|QftT=[[BIONICLE: Quest for the Toa|QftT]]
+
|{{#if: {{{episodenumber|{{{2|}}}}}}|{{#if: {{{episodename|}}}|"{{{episodetype|Episode}}} {{{episodenumber|{{{2|}}}}}}: {{{episodename}}}."|"{{{episodetype|Episode}}} {{{episodenumber|{{{2|}}}}}}."}}|{{#if: {{{episodename|}}}|"{{{episodename}}}."|}}}}
|TMMPCD=[[Toa Mata Mini Promo CD|TMMPCD]]
+
 
|TMNPCD=[[Toa Mata Nestlé Promo CD|TMNPCD]]
+
{{#switch: {{{1}}}
|TLOMN=[[BIONICLE: The Legend of Mata Nui|TLOMN]]
+
|QftT=''[[BIONICLE: Quest for the Toa]]''
|PP=[[Power Pack|PP]]
+
|TMMPCD=[[Toa Mata Mini Promo CD]]
|02SA=[[Bohrok Promo Animations#2002 Synopsis Animation|02SA]]
+
|TMNPCD=[[Toa Mata Nestlé Promo CD]]
|BSPCD=[[Bohrok Swarms Promo CD|BSPCD]]
+
|TLOMN=''[[BIONICLE: The Legend of Mata Nui]]''
|BOA=[[Bohrok Online Animations|BOA]]
+
|PP=[[Power Pack]]
|TNMPCDs=[[Toa Nuva Mini Promo CDs|TNMPCDs]]
+
|02SA=[[Bohrok Promo Animations#2002 Synopsis Animation|2002 Synopsis Animation]]
|BKMPCDs=[[Bohrok-Kal Mini Promo CDs|BKMPCDs]]
+
|BSPCD=[[Bohrok Swarms Promo CD]]
|BKOA=[[Bohrok-Kal Online Animations|BKOA]]
+
|BOA=[[Bohrok Online Animations]]
|RMPCDs=[[Rahkshi Mini Promo CDs|RMPCDs]]
+
|TNMPCDs=[[Toa Nuva Mini Promo CDs]]
|B:MoL=[[BIONICLE: Mask of Light|B:MoL]]
+
|BKMPCDs=[[Bohrok-Kal Mini Promo CDs]]
|TLC=[[The Legend Continues|TLC]]
+
|BKOA=[[Bohrok-Kal Online Animations]]
|B2:LoMN=[[BIONICLE 2: Legends of Metru Nui|B2:LoMN]]
+
|RMPCDs=[[Rahkshi Mini Promo CDs]]
|TMeMPCD=[[Toa Metru Mini Promo CDs|TMeMPCD]]
+
|B:MoL=''[[BIONICLE: Mask of Light]]''
|VTMMPCD=[[Vakama's Toa Metru Mini Promo CD|VTMMPCD]]
+
|TLC=[[The Legend Continues]]
|NoTMMPCD=[[Nokama's Toa Metru Mini Promo CD|NoTMMPCD]]
+
|B2:LoMN=''[[BIONICLE 2: Legends of Metru Nui]]''
|MTMMPCD=[[Matau's Toa Metru Mini Promo CD|MTMMPCD]]
+
|TMeMPCD=[[Toa Metru Mini Promo CDs]]
|OTMMPCD=[[Onewa's Toa Metru Mini Promo CD|OTMMPCD]]
+
|VTMMPCD=[[Vakama's Toa Metru Mini Promo CD]]
|WTMMPCD=[[Whenua's Toa Metru Mini Promo CD|WTMMPCD]]
+
|NoTMMPCD=[[Nokama's Toa Metru Mini Promo CD]]
|NuTMMPCD=[[Nuju's Toa Metru Mini Promo CD|NuTMMPCD]]
+
|MTMMPCD=[[Matau's Toa Metru Mini Promo CD]]
|VOA=[[Vahki Online Animations|VOA]]
+
|OTMMPCD=[[Onewa's Toa Metru Mini Promo CD]]
|MoS=[[BIONICLE: Maze of Shadows|MoS]]
+
|WTMMPCD=[[Whenua's Toa Metru Mini Promo CD]]
|TSftMoL=[[The Search for the Mask of Light|TSftMoL]]
+
|NuTMMPCD=[[Nuju's Toa Metru Mini Promo CD]]
|B3:WoS=[[BIONICLE 3: Web of Shadows|B3:WoS]]
+
|VOA=[[Vahki Online Animations]]
|TIMPCD=[[Toa Inika Mini Promo CD|TIMPCD]]
+
|MoS=''[[BIONICLE: Maze of Shadows]]''
|BMPCD=[[Barraki Mini Promo CD|BMPCD]]
+
|TSftMoL=''[[The Search for the Mask of Light]]''
|BCFtD=[[Barraki: Creeps From the Deep|BCFtD]]
+
|B3:WoS=''[[BIONICLE 3: Web of Shadows]]''
|BTM=[[BIONICLE: Toa Mahri|BTM]]
+
|TIMPCD=[[Toa Inika Mini Promo CD]]
|PMM=[[Phantoka Mini Movie|PMM]]
+
|BMPCD=[[Barraki Mini Promo CD]]
|TRoMN=[[The Rise of Mata Nui|TRoMN]]
+
|BCFtD=''[[Barraki: Creeps From the Deep]]''
|B:TLR=[[BIONICLE: The Legend Reborn|B:TLR]]
+
|BTM=''[[BIONICLE: Toa Mahri]]''
|BH=[[BIONICLE Heroes|BH]]
+
|PMM=[[Phantoka Mini Movie]]
|BtG=[[BIONICLE: The Game|BtG]]
+
|TRoMN=''[[The Rise of Mata Nui]]''
|BMA=[[BIONICLE: Matoran Adventures|BMA]]
+
|B:TLR=''[[BIONICLE: The Legend Reborn]]''
|CTM=[[Command The Toa Mahri - The Final Challenge|CTM]]
+
|BH=''[[BIONICLE Heroes]]''
|MR=[[Metus' Revenge|MR]]
+
|BtG=''[[BIONICLE: The Game]]''
|2015=[[2015 Online Animations|15A]]
+
|BMA=''[[BIONICLE: Matoran Adventures]]''
|JTO=[[The Journey to One|JTO]]
+
|CTM=''[[Command The Toa Mahri - The Final Challenge]]''
|MoCr=[[BIONICLE: Mask of Creation|MoCr]]
+
|MR=''[[Metus' Revenge]]''
|QftM=[[BIONICLE: Quest for the Masks|QftM]]
+
|2015=[[2015 Online Animations]]
|MNE03=[[Mata Nui Explorer (2003)|MNE03]]
+
|JTO=''[[The Journey to One]]''
}}{{#if:{{{2|}}}|, Ep. {{{2}}}|}}<nowiki>]</nowiki></sup>
+
|MoCr=''[[BIONICLE: Mask of Creation]]''
 +
|QftM=''[[BIONICLE: Quest for the Masks]]''
 +
|MNE03=''[[Mata Nui Explorer (2003)|Mata Nui Explorer]]''
 +
|#default=Please specify a work to cite}}{{#if: {{{time|}}}|, {{{time}}}|{{#if: {{{starttime|}}}|, {{{starttime}}}-{{{endtime}}}|}}}}.
 +
|name={{{1|emptyref}}}{{#if: {{{episodenumber|{{{2|}}}}}}{{{episodename|}}}|.ep{{{episodenumber|{{{2|}}}}}}{{{episodename|}}}|}}{{#if: {{{time|}}}|.t{{{time}}}|{{#if: {{{starttime|}}}|.t{{{starttime}}}-{{{endtime}}}|}}}}}}</includeonly><noinclude>==Documentation==
 +
This template produces citations for miscellaneous works including video games, animations, and CDs.
 +
 
 +
===Parameters===
 +
{|class="prettytable"
 +
!Parameter
 +
!Function
 +
|-
 +
|(first parameter)
 +
|The abbreviation representing the piece of media being cited.
 +
|-
 +
|(second parameter) '''(optional)'''
 +
|Behaves the same as <code>episodenumber</code>. (This is used for backwards compatibility.)
 +
 
 +
|-
 +
|<code>episodenumber</code> '''(optional)'''
 +
|The number of the episode to cite in the work.
 +
 
 +
Default: nothing
 +
|-
 +
|<code>episodename</code> '''(optional)'''
 +
|The name of the episode to cite in the work.
 +
 
 +
Default: nothing
 +
|-
 +
|<code>episodetype</code> '''(optional)'''
 +
|The term used for divisions of the work. For example, some works may be divided into "Books" instead of "Episodes," so you could set <code>episodetype</code> to <code>Book</code> and the template would display "Book" wherever "Episode" would usually go.
 +
 
 +
Default: <code>Episode</code>
 +
|-
 +
|<code>time</code> '''(optional)'''
 +
|The timestamp to cite in the work.
 +
 
 +
If citing a time interval, use <code>starttime</code> and <code>endtime</code> instead.
 +
 
 +
Default: nothing
 +
|-
 +
|<code>starttime</code> '''(optional)'''
 +
|The start time of the time interval to cite in the work.
 +
 
 +
If citing just one time, use <code>time</code> instead.
 +
 
 +
Default: nothing
 +
|-
 +
|<code>endtime</code> '''(optional; required if <code>starttime</code> is specified)'''
 +
|The end time of the time interval to cite in the work.
 +
 
 +
If citing just one time, use <code>time</code> instead.
 +
 
 +
Default: nothing
 +
|}
 +
 
 +
===Examples===
 +
* episode number{{MediaCitation|BOA|episodenumber=2}}
 +
* episode number (using 2nd parameter){{MediaCitation|BKOA|3}}
 +
* time{{MediaCitation|B3:WoS|time=1:01:30}}
 +
* start time and end time{{MediaCitation|B:MoL|starttime=3:03|endtime=3:11}}
 +
* episode number and episode name{{MediaCitation|TSftMoL|episodenumber=5|episodename=Nuju's Finding}}
 +
* using the same ref multiple times{{MediaCitation|BOA|episodenumber=2}}
 +
 
 +
{{reflist}}
 +
</noinclude>

Revision as of 19:03, 22 May 2020

Documentation

This template produces citations for miscellaneous works including video games, animations, and CDs.

Parameters

Parameter Function
(first parameter) The abbreviation representing the piece of media being cited.
(second parameter) (optional) Behaves the same as episodenumber. (This is used for backwards compatibility.)
episodenumber (optional) The number of the episode to cite in the work.

Default: nothing

episodename (optional) The name of the episode to cite in the work.

Default: nothing

episodetype (optional) The term used for divisions of the work. For example, some works may be divided into "Books" instead of "Episodes," so you could set episodetype to Book and the template would display "Book" wherever "Episode" would usually go.

Default: Episode

time (optional) The timestamp to cite in the work.

If citing a time interval, use starttime and endtime instead.

Default: nothing

starttime (optional) The start time of the time interval to cite in the work.

If citing just one time, use time instead.

Default: nothing

endtime (optional; required if starttime is specified) The end time of the time interval to cite in the work.

If citing just one time, use time instead.

Default: nothing

Examples

  • episode number[1]
  • episode number (using 2nd parameter)[2]
  • time[3]
  • start time and end time[4]
  • episode number and episode name[5]
  • using the same ref multiple times[1]