Difference between revisions of "Template:Cite/doc"

From Nookipedia, the Animal Crossing wiki
(creating docs)
 
 
Line 1: Line 1:
 
==Usage==
 
==Usage==
<pre>{{Cite|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}}}</pre>
+
Necessary parameters:
 +
<pre>{{Cite|{{{1}}}|{{{2}}}|{{{3}}}}}</pre>
 +
Optional parameters:
 +
<pre>{{Cite|{{{1}}}|{{{translation}}}|{{{2}}}|{{{3}}}|{{{note}}}}}</pre>
  
 
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). <code><nowiki><ref></nowiki></code> tags must be added to make it appear as a reference.
 
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). <code><nowiki><ref></nowiki></code> tags must be added to make it appear as a reference.
  
 
===Parameters===
 
===Parameters===
Four parameters exist for this template.
+
Three parameters are necessary for this template.
  
The first parameter is the quotation text.
+
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. If there is no character, 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.
+
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 game that the line was said. 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 ''[[zeldawiki:The Legend of Zelda: A Link to the Past & Four Swords|A Link to the Past]]'', then type something indicating so as a forth parameter after the game.
+
The third parameter is the source in which the quote was said. For games, this should use the usual linking template (e.g. <nowiki>{{NL}}</nowiki>). This can be left blank, however in most cases a different citation template should be used for such a source.
  
===Example===
+
Optional named parameters are {{code|translation}} and {{code|note}}.
<pre>Example text.<nowiki><ref></nowiki>{{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}}}}<nowiki></ref></nowiki></pre>
+
 
Example text.<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>
+
{{code|translation}}: Used for the English translation if a quote is in another language.
 +
 
 +
{{code|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:
 +
 
 +
<pre>Some [[cranky]] [[villager]]s believe that [[K.K. Slider]]'s day job consists of being Phineas.<nowiki><ref></nowiki>{{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}}}}<nowiki></ref></nowiki></pre>
 +
 
 +
<pre>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.<nowiki><ref></nowiki>{{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></pre>
 +
 
 +
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>
  
 
{{Reflist}}
 
{{Reflist}}

Latest revision as of 23:39, December 13, 2022

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. "おのね、クリームソーダとかラムネぼっかり のんでたらからだが だんだんみずいろになってきたの! むかしほ これでも ちゃいろだったのにー。...でも、きれいでしょー?" (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 (Doubutsu no Mori e+, Japanese)