Difference between revisions of "Template:OnlineCitation"

From BIONICLEsector01
(Added: Dark Mirror, Destiny War, Riddle of the Great Beings, Sahmad's Tale, Discover the power of the Golden Masks!, Take down the Lord of the Skull Spiders!, and the Club Code Umarak)
(Found it via web archive, it was in the 2006 story section, through "the gang is on the loose" image)
 
(39 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<sup><nowiki>[</nowiki>{{#switch: {{{1}}}
+
<includeonly>{{#tag:ref
|D=[[Saga Guides/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=[[Saga Guides/No One Gets Left Behind by Shadow-Nui|NOGLB]]
+
 
|P=[[Saga Guides/Protection by InnerRayg|P]]
+
{{#switch: {{{1}}}
|TDR=[[Saga Guides/The Dweller Report by SPIRIT|TDR]]
+
|D="[[Decadence by Dorek|Decadence]]."
|T=[[Saga Guides/Tentacles by Turakii (Number) 1 Lavasurfer|T]]
+
|NOGLB="[[No One Gets Left Behind by Shadow-Nui|No One Gets Left Behind]]."
|H=[[Saga Guides/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]]."
|TB=[[Takanuva's Blog|TB]]
+
|T="[[Tentacles by Turakii (Number) 1 Lavasurfer|Tentacles]]."
|MNS=[[MNS]]
+
|H="[[Hope by Lady Kopaka|Hope]]."
|E=[[Explore (BIONICLE.com)|E]]
+
|WoH=''[[Wall of History (BIONICLE.com)|Wall of History]]''. [[BIONICLE.com]].
|TMDoTT=[[The Many Deaths of Toa Tuyet|TMDoTT]]
+
|TB=''[[Takanuva's Blog]]''.
|TK=[[The Kingdom|TK]]
+
|MNS=''[[Mata Nui Saga]]''.
|TNB=[[TNB]]
+
|E=''[[Explore (BIONICLE.com)|Explore]]''. [[BIONICLE.com]].
|TMC=[[TMC]]
+
|TMDoTT="[[The Many Deaths of Toa Tuyet]]."
|BIA=[[BIA]]
+
|TK=''[[The Kingdom]]''.
|EotS=[[EotS]]
+
|TNB=''[[Toa Nuva Blog]]''.
|TPTB=[[TPTB]]
+
|TR=''[[The Rising]]''.
|DroD=[[DroD]]
+
|TT=''[[The Truth]]''.
|FoF=[[FoF]]
+
|TMC=''[[The Mutran Chronicles]]''.
|DID=[[DID]]
+
|BIA=''[[Brothers In Arms]]''.
|RoS=[[RoS]]
+
|EotS=''[[Empire of the Skrall]]''.
|TYQ=[[TYQ]]
+
|TPTB=''[[The Powers That Be]]''.
|ItD=[[ItD]]
+
|DroD=''[[Dreams of Destruction]]''.
|DM=[[DM]]
+
|FoF=''[[Federation of Fear]]''.
|DW=[[DW]]
+
|DID=''[[Dwellers In Darkness]]''.
|RotGB=[[RotGB]]
+
|RoS=''[[Reign of Shadows]]''.
|ST=[[ST]]
+
|TYQ=''[[The Yesterday Quest]]''.
|DtpotGM=[[Discover the power of the Golden Masks!|DtpotGM]]
+
|ItD=''[[Into the Darkness]]''.
|TdtLotSS=[[Take down the Lord of the Skull Spiders!|TdtLotSS]]
+
|DM=''[[Dark Mirror]]''.
|CCU=[[Club Code Umarak|CCU]]
+
|DW=''[[Destiny War]]''.
}}{{#if:{{{2|}}}|, p.{{{2}}}|}}<nowiki>]</nowiki>
+
|RotGB=''[[Riddle of the Great Beings]]''.
 +
|ST=''[[Sahmad's Tale]]''.
 +
|DtpotGM="[[Discover the power of the Golden Masks!]]" LEGO Club.
 +
|TdtLotSS="[[Take down the Lord of the Skull Spiders!]]" LEGO Club.
 +
|CCU="[[Club Code Umarak|Club Code: UMARAK]]." LEGO Club.
 +
|MNOG=''[[Mata Nui Online Game]]''.
 +
|MNOG2=''[[Mata Nui Online Game II: The Final Chronicle]]''.
 +
|VNOG=''[[Voya Nui Online Game]]''.
 +
|MLNBC=[[My LEGO Network BIONICLE Campaign|''My LEGO Network'' BIONICLE Campaign]].
 +
|BTC="[[BIONICLEstory.com#Toa_Chamber|Toa Chamber]]." [http://biomediaproject.com/bmp/files/sites/bioniclestory/2007-2/Launcher.html BIONICLEstory.com].
 +
|DSP="[[BIONICLEstory.com#Deep_Sea_Port|Deep Sea Port]]." [http://biomediaproject.com/bmp/files/sites/bioniclestory/2007-2/Launcher.html BIONICLEstory.com].
 +
|B:M=''[[BIONICLE: Mistika|Bionicle: Mistika]]''.
 +
|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.