Difference between revisions of "Template:OnlineCitation"

From BIONICLEsector01
(Why wasn't this already added? This has information that was left out of the Metru Nui guide and the encyclopedia, like the matoran underworld)
(Found it via web archive, it was in the 2006 story section, through "the gang is on the loose" image)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<sup><nowiki>[</nowiki>{{#switch: {{{1}}}
+
<includeonly>{{#tag:ref
|D=[[Decadence by Dorek|D]]
+
|{{#if: {{{chapternumber|{{{2|}}}}}}|{{#if: {{{chaptername|}}}|"{{{chaptertype|Chapter}}} {{{chapternumber|{{{2|}}}}}}: {{{chaptername}}}{{#if: {{{nochapternameperiod|}}}||.}}"|"{{{chaptertype|Chapter}}} {{{chapternumber|{{{2|}}}}}}."}}|{{#if: {{{chaptername|}}}|"{{{chaptername}}}{{#if: {{{nochapternameperiod|}}}||.}}"|}}}}
|NOGLB=[[No One Gets Left Behind by Shadow-Nui|NOGLB]]
+
 
|P=[[Protection by InnerRayg|P]]
+
{{#switch: {{{1}}}
|TDR=[[The Dweller Report by SPIRIT|TDR]]
+
|D="[[Decadence by Dorek|Decadence]]."
|T=[[Tentacles by Turakii (Number) 1 Lavasurfer|T]]
+
|NOGLB="[[No One Gets Left Behind by Shadow-Nui|No One Gets Left Behind]]."
|H=[[Hope by Lady Kopaka|H]]
+
|P="[[Protection by InnerRayg|Protection]]."
|WoH=[[Wall of History (BIONICLE.com)|WoH]]
+
|TDR="[[The Dweller Report by SPIRIT|The Dweller Report]]."
|WoH6=[[Wall of History (BIONICLE.com)|WoH]], [[Wall of History (BIONICLE.com)#Island Wildlife on the Move|Ch. 6]]
+
|T="[[Tentacles by Turakii (Number) 1 Lavasurfer|Tentacles]]."
|WoH15=[[Wall of History (BIONICLE.com)|WoH]], [[Wall of History (BIONICLE.com)#Naming Day|Ch. 15]]
+
|H="[[Hope by Lady Kopaka|Hope]]."
|TB=[[Takanuva's Blog|TB]]
+
|WoH=''[[Wall of History (BIONICLE.com)|Wall of History]]''. [[BIONICLE.com]].
|MNS=[[Mata Nui Saga|MNS]]
+
|TB=''[[Takanuva's Blog]]''.
|E=[[Explore (BIONICLE.com)|E]]
+
|MNS=''[[Mata Nui Saga]]''.
|TMDoTT=[[The Many Deaths of Toa Tuyet|TMDoTT]]
+
|E=''[[Explore (BIONICLE.com)|Explore]]''. [[BIONICLE.com]].
|TK=[[The Kingdom|TK]]
+
|TMDoTT="[[The Many Deaths of Toa Tuyet]]."
|TNB=[[Toa Nuva Blog|TNB]]
+
|TK=''[[The Kingdom]]''.
|TR=[[The Rising|TR]]
+
|TNB=''[[Toa Nuva Blog]]''.
|TT=[[The Truth|TT]]
+
|TR=''[[The Rising]]''.
|TMC=[[The Mutran Chronicles|TMC]]
+
|TT=''[[The Truth]]''.
|BIA=[[Brothers In Arms|BIA]]
+
|TMC=''[[The Mutran Chronicles]]''.
|EotS=[[Empire of the Skrall|EotS]]
+
|BIA=''[[Brothers In Arms]]''.
|TPTB=[[The Powers That Be|TPTB]]
+
|EotS=''[[Empire of the Skrall]]''.
|DroD=[[Dreams of Destruction|DroD]]
+
|TPTB=''[[The Powers That Be]]''.
|FoF=[[Federation of Fear|FoF]]
+
|DroD=''[[Dreams of Destruction]]''.
|DID=[[Dwellers In Darkness|DID]]
+
|FoF=''[[Federation of Fear]]''.
|RoS=[[Reign of Shadows|RoS]]
+
|DID=''[[Dwellers In Darkness]]''.
|TYQ=[[The Yesterday Quest|TYQ]]
+
|RoS=''[[Reign of Shadows]]''.
|ItD=[[Into the Darkness|ItD]]
+
|TYQ=''[[The Yesterday Quest]]''.
|DM=[[Dark Mirror|DM]]
+
|ItD=''[[Into the Darkness]]''.
|DW=[[Destiny War|DW]]
+
|DM=''[[Dark Mirror]]''.
|RotGB=[[Riddle of the Great Beings|RotGB]]
+
|DW=''[[Destiny War]]''.
|ST=[[Sahmad's Tale|ST]]
+
|RotGB=''[[Riddle of the Great Beings]]''.
|DtpotGM=[[Discover the power of the Golden Masks!|DtpotGM]]
+
|ST=''[[Sahmad's Tale]]''.
|TdtLotSS=[[Take down the Lord of the Skull Spiders!|TdtLotSS]]
+
|DtpotGM="[[Discover the power of the Golden Masks!]]" LEGO Club.
|CCU=[[Club Code Umarak|CCU]]
+
|TdtLotSS="[[Take down the Lord of the Skull Spiders!]]" LEGO Club.
|MNOG=[[Mata Nui Online Game|MNOG]]
+
|CCU="[[Club Code Umarak|Club Code: UMARAK]]." LEGO Club.
|MNOG2=[[Mata Nui Online Game II: The Final Chronicle|MNOG2]]
+
|MNOG=''[[Mata Nui Online Game]]''.
|VNOG=[[Voya Nui Online Game|VNOG]]
+
|MNOG2=''[[Mata Nui Online Game II: The Final Chronicle]]''.
|MLNBC=[[My LEGO Network BIONICLE Campaign|MLNBC]]
+
|VNOG=''[[Voya Nui Online Game]]''.
|BTC=[[BIONICLEstory.com#Toa_Chamber|Toa Chamber]]
+
|MLNBC=[[My LEGO Network BIONICLE Campaign|''My LEGO Network'' BIONICLE Campaign]].
|DSP=[[BIONICLEstory.com#Deep_Sea_Port|Deep Sea Port]]
+
|BTC="[[BIONICLEstory.com#Toa_Chamber|Toa Chamber]]." [http://biomediaproject.com/bmp/files/sites/bioniclestory/2007-2/Launcher.html BIONICLEstory.com].
|B:M=[[BIONICLE: Mistika|B:M]]
+
|DSP="[[BIONICLEstory.com#Deep_Sea_Port|Deep Sea Port]]." [http://biomediaproject.com/bmp/files/sites/bioniclestory/2007-2/Launcher.html BIONICLEstory.com].
|MNMoT=[[Metru Nui Ministry of Tourism|MNMoT]]
+
|B:M=''[[BIONICLE: Mistika|Bionicle: Mistika]]''.
}}{{#if:{{{2|}}}|, [[{{{1}}}#Chapter {{{2}}}|Ch. {{{2}}}]]|}}<nowiki>]</nowiki></sup>
+
|MNMoT=[[Metru Nui Ministry of Tourism]].
 +
|PP="[http://biomediaproject.com/bmp/files/sites/bionicle/2006/Piraka/Launcher.html Piraka Profiles]." [[BIONICLE.com]]  
 +
|#default=Please specify a work to cite.}}
 +
|name={{{1|emptyref}}}{{#if: {{{chapternumber|{{{2|}}}}}}{{{chaptername|}}}|.ch{{{chapternumber|{{{2|}}}}}}{{{chaptername|}}}|}}}}</includeonly><noinclude>==Documentation==
 +
This template produces citations for miscellaneous online works including short stories, serials, and the Mata Nui Online Games.
 +
 
 +
===Parameters===
 +
{|class="prettytable"
 +
!Parameter
 +
!Function
 +
|-
 +
|(first parameter)
 +
|The abbreviation representing the piece of media being cited.
 +
|-
 +
|(second parameter) '''(optional)'''
 +
|Behaves the same as <code>chapternumber</code>. (This is used for backwards compatibility.)
 +
 
 +
|-
 +
|<code>chapternumber</code> '''(optional)'''
 +
|The number of the chapter to cite in the work.
 +
 
 +
Default: nothing
 +
|-
 +
|<code>chaptername</code> '''(optional)'''
 +
|The name of the chapter to cite in the work.
 +
 
 +
Default: nothing
 +
|-
 +
|<code>nochapternameperiod</code> '''(optional)'''
 +
|Give this parameter any value if <code>chaptername</code> ends in punctuation. This will tell the template not to place a period after <code>chaptername</code>.
 +
 
 +
Default: nothing
 +
|-
 +
|<code>chaptertype</code> '''(optional)'''
 +
|The term used for divisions of the work. For example, some works may be divided into "Books" instead of "Chapters," so you could set <code>chaptertype</code> to <code>Book</code> and the template would display "Book" wherever "Chapter" would usually go.
 +
 
 +
Default: <code>Chapter</code>
 +
|}
 +
 
 +
===Examples===
 +
* chapter number{{OnlineCitation|MNOG|chapternumber=2}}
 +
* chapter number (using 2nd parameter){{OnlineCitation|MNOG2|3}}
 +
* chapter number with customized <code>chaptertype</code>{{OnlineCitation|TNB|chapternumber=3|chaptertype=Entry}}
 +
* chapter name ending in punctuation{{OnlineCitation|WoH|chaptername=Disaster in Ga-Koro!|nochapternameperiod=true}}
 +
* using the same ref multiple times{{OnlineCitation|MNOG|chapternumber=2}}
 +
 
 +
{{reflist}}
 +
</noinclude>

Latest revision as of 16:38, 24 April 2021

Documentation

This template produces citations for miscellaneous online works including short stories, serials, and the Mata Nui Online Games.

Parameters

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

Default: nothing

chaptername (optional) The name of the chapter to cite in the work.

Default: nothing

nochapternameperiod (optional) Give this parameter any value if chaptername ends in punctuation. This will tell the template not to place a period after chaptername.

Default: nothing

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

Default: Chapter

Examples

  • chapter number[1]
  • chapter number (using 2nd parameter)[2]
  • chapter number with customized chaptertype[3]
  • chapter name ending in punctuation[4]
  • using the same ref multiple times[1]
  1. 1.0 1.1 "Chapter 2." Mata Nui Online Game.
  2. "Chapter 3." Mata Nui Online Game II: The Final Chronicle.
  3. "Entry 3." Toa Nuva Blog.
  4. "Disaster in Ga-Koro!" Wall of History. BIONICLE.com.