Difference between revisions of "Template:OnlineCitation"

From BIONICLEsector01
(Removed the website and the bios, because of the clarifications...)
(Found it via web archive, it was in the 2006 story section, through "the gang is on the loose" image)
 
(19 intermediate revisions by 4 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=[[Mata Nui Saga|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=[[Toa Nuva Blog|TNB]]
+
|E=''[[Explore (BIONICLE.com)|Explore]]''. [[BIONICLE.com]].
|TR=[[The Rising|TR]]
+
|TMDoTT="[[The Many Deaths of Toa Tuyet]]."
|TT=[[The Truth|TT]]
+
|TK=''[[The Kingdom]]''.
|TMC=[[The Mutran Chronicles|TMC]]
+
|TNB=''[[Toa Nuva Blog]]''.
|BIA=[[Brothers In Arms|BIA]]
+
|TR=''[[The Rising]]''.
|EotS=[[Empire of the Skrall|EotS]]
+
|TT=''[[The Truth]]''.
|TPTB=[[The Powers That Be|TPTB]]
+
|TMC=''[[The Mutran Chronicles]]''.
|DroD=[[Dreams of Destruction|DroD]]
+
|BIA=''[[Brothers In Arms]]''.
|FoF=[[Federation of Fear|FoF]]
+
|EotS=''[[Empire of the Skrall]]''.
|DID=[[Dwellers In Darkness|DID]]
+
|TPTB=''[[The Powers That Be]]''.
|RoS=[[Reign of Shadows|RoS]]
+
|DroD=''[[Dreams of Destruction]]''.
|TYQ=[[The Yesterday Quest|TYQ]]
+
|FoF=''[[Federation of Fear]]''.
|ItD=[[Into the Darkness|ItD]]
+
|DID=''[[Dwellers In Darkness]]''.
|DM=[[Dark Mirror|DM]]
+
|RoS=''[[Reign of Shadows]]''.
|DW=[[Destiny War|DW]]
+
|TYQ=''[[The Yesterday Quest]]''.
|RotGB=[[Riddle of the Great Beings|RotGB]]
+
|ItD=''[[Into the Darkness]]''.
|ST=[[Sahmad's Tale|ST]]
+
|DM=''[[Dark Mirror]]''.
|DtpotGM=[[Discover the power of the Golden Masks!|DtpotGM]]
+
|DW=''[[Destiny War]]''.
|TdtLotSS=[[Take down the Lord of the Skull Spiders!|TdtLotSS]]
+
|RotGB=''[[Riddle of the Great Beings]]''.
|CCU=[[Club Code Umarak|CCU]]
+
|ST=''[[Sahmad's Tale]]''.
|MNOG=[[Mata Nui Online Game|MNOG]]
+
|DtpotGM="[[Discover the power of the Golden Masks!]]" LEGO Club.
|MNOG2=[[Mata Nui Online Game II: The Final Chronicle|MNOG2]]
+
|TdtLotSS="[[Take down the Lord of the Skull Spiders!]]" LEGO Club.
|VNOG=[[Voya Nui Online Game|VNOG]]
+
|CCU="[[Club Code Umarak|Club Code: UMARAK]]." LEGO Club.
|MLNBC=[[My LEGO Network BIONICLE Campaign|MLNBC]]
+
|MNOG=''[[Mata Nui Online Game]]''.
}}{{#if:{{{2|}}}|, Ch. {{{2}}}|}}<nowiki>]</nowiki></sup>
+
|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.