Difference between revisions of "Template:Cite"

From Nookipedia, the Animal Crossing wiki
(Fixed incorrect hyperlink.)
(adding category, moving docs to seperate page)
Line 1: Line 1:
"<i>{{{1}}}</i>" — {{{2}}} {{#ifeq:{{{3|}}}|{{Void}}|{{Void}}|(}}<i>{{{3|}}}</i><noinclude>(<i>[[Animal Crossing:{{{3}}}|{{{3}}}]]</i>)</noinclude>{{#ifeq:{{{3|}}}|{{Void}}|{{Void}}|{{#ifeq:{{{4|}}}|{{Void}}| {{Void}}| &ensp;{{{4}}}}})}}<noinclude>
+
<includeonly>"<i>{{{1}}}</i>" — {{{2}}} {{#ifeq:{{{3|}}}|{{Void}}|{{Void}}|(}}<i>{{{3|}}}</i>{{#ifeq:{{{3|}}}|{{Void}}|{{Void}}|{{#ifeq:{{{4|}}}|{{Void}}| {{Void}}| &ensp;{{{4}}}}})}}</includeonly><noinclude>{{Documentation}}[[Category:Reference templates]]</noinclude>
<!-- The above noincude tags are for display purposes for this template page only. They serve no other functional purpose.-->
 
==Usage==
 
This template is used to cite spoken in-game text as a reference for a particular statement or assertion (see [[Help:Citing sources|this page]] for additional information).<br>'''It should be used in-between <nowiki><ref> </ref></nowiki> tags:'''<br><br>
 
<b><nowiki>{{cite</nowiki>|</b><small>quotation text</small><b>|</b><small>person speaking</small><b>|</b><small>game in which text appears</small><b><nowiki>}}</nowiki></b>
 
 
 
For the "person speaking" option, text will appear exactly as typed (plain text) by default. Links should be added manually if required or appropriate, using the normal method of enclosing the name in square brackets. Links may also be piped if required.
 
 
 
If the page referred to by the ''person speaking'' option does not exist, then the template will assume that it is a either a very minor character or a description of the specific person and will not make a link.
 
 
 
If the quote does not originate from a game, then leaving the game option blank will remove the game link. If something is put in the game option that does not correspond to any game, then it is assumed to be an external link to the source.
 
 
 
If the game of the quote is a remake of the original and does not have its own page, such as the [[Game Boy Advance]] remake of ''[[The Legend of Zelda: A Link to the Past|A Link to the Past]]'', then type something indicating so as a forth parameter after the game.
 
 
 
==Currently Functional Links==
 
This section list the links that will function correctly. To use them, type exactly what is displayed <u><b>in the link</b></u> in one of the lists below.
 
 
 
===Games===
 
The following game links are functional. In addition to typing what is displayed below,you can also type in their abbreviations, shown below them, to use them. The preferred abbreviation is listed first, any other abbreviations that will be listed after the preferred one. If an alternate name will work, it will be listed after the abbreviations.
 
 
 
__NOTOC__
 
</noinclude>
 

Revision as of 17:32, November 20, 2022

Template documentation (view)


Usage

Necessary parameters:

{{Cite|{{{1}}}|{{{2}}}|{{{3}}}}}

Optional parameters:

{{Cite|{{{1}}}|{{{translation}}}|{{{2}}}|{{{3}}}|{{{note}}}}}

This template is used to cite spoken in-game text as a reference for a particular statement or assertion (see this page for additional information). <ref> tags must be added to make it appear as a reference.

Parameters

Three parameters are necessary for this template.

The first parameter is the quotation text, not including quotation marks.

The second is the character speaking this exact text, where it will appear exactly as typed (plain text) by default. Links should be added manually if required or appropriate, using the normal method of enclosing the name in square brackets. Links may also be piped if required.

The third parameter is the source in which the quote was said. For games, this should use the usual linking template (e.g. {{NL}}). This can be left blank, however in most cases a different citation template should be used for such a source.

Optional named parameters are translation and note.

translation: Used for the English translation if a quote is in another language.

note: A note on the source. If the quote is translated, the note should include the original language.

Examples

Here are two examples as they would be written in the source editor followed by how they appear on the page, from the pages Phineas and Bluebear respectively:

Some [[cranky]] [[villager]]s believe that [[K.K. Slider]]'s day job consists of being Phineas.<ref>{{Cite|No one knows where he comes from or why he does it, but sometimes there's a guy who hands out prizes. My theory is that this is K.K. Slider's day job, <catchphrase>!|[[Cranky]] villagers in the [[city]]|{{CF|short}}}}</ref>
The letter received from Bluebear upon scanning her [[e-Reader card]] at the [[post office]]'s eTM in {{DnMe+}} states that she used to be brown, but drank so much cream soda and {{Wp|Ramune}} that she turned light blue.<ref>{{Cite|おのね、クリームソーダとかラムネぼっかり のんでたらからだが だんだんみずいろになってきたの! むかしほ これでも ちゃいろだったのにー。...でも、きれいでしょー?|translation=You know, I've had so much cream soda and Ramune that my body has turned a light blue! I used to be brown. ...but it's beautiful, isn't it?|Bluebear|{{DnMe+}}|note=Japanese}}</ref></nowiki>

Some cranky villagers believe that K.K. Slider's day job consists of being Phineas.[1]

The letter received from Bluebear upon scanning her e-Reader card at the post office's eTM in Doubutsu no Mori e+ states that she used to be brown, but drank so much cream soda and Ramune that she turned light blue.[2]

  1. "No one knows where he comes from or why he does it, but sometimes there's a guy who hands out prizes. My theory is that this is K.K. Slider's day job, <catchphrase>!" — Cranky villagers in the city (City Folk)
  2. "おのね、クリームソーダとかラムネぼっかり のんでたらからだが だんだんみずいろになってきたの! むかしほ これでも ちゃいろだったのにー。...でも、きれいでしょー?" — Bluebear (Doubutsu no Mori e+)