17,260
edits
(Created page with "{{#vardefine:thisnum|{{#if: {{#var:~ref~{{{name|}}}~num}}|{{#var:~ref~{{{name|}}}~num}}|{{++|~ref~count}}}}}}<!-- Inline Reference: --><sup id="cite_ref-{{#var:thisnum}}{{#if...") |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:thisnum|{{#if: {{#var:~ref~{{{name|}}}~num}}|{{#var:~ref~{{{name|}}}~num}}|{{++|~ref~count}}}}}}<!-- | <onlyinclude>{{#vardefine:thisnum|{{#if: {{#var:~ref~{{{name|}}}~num}}|{{#var:~ref~{{{name|}}}~num}}|{{++|~ref~count}}}}}}<!-- | ||
Inline Reference: | Inline Reference: | ||
--><sup id="cite_ref-{{#var:thisnum}}{{#if:{{{name|}}}|-{{++|~ref~{{ | --><sup id="cite_ref-{{#var:thisnum}}{{#if:{{{name|}}}|-{{++|~ref~{{!!=|~ref~{{{name}}}~num|{{#var:thisnum}}}}~count}}}}" class="reference">[[{{FULLPAGENAME}}#cite_note-{{#var:thisnum}}|[{{#var:thisnum}}]]]</sup><!-- | ||
List Note: | List Note: | ||
Line 9: | Line 9: | ||
| {{#vardefine:~ref~{{#var:thisnum}}~data|<!-- | | {{#vardefine:~ref~{{#var:thisnum}}~data|<!-- | ||
REFERENCE FORMATTING STARTS HERE; DO NOT EDIT ABOVE THIS LINE | |||
-->{{#ifeq: {{{1 | |||
<!--not from a game--> | 1=source | 2=quote | 3=speaker | ||
<!--from a game-->|"<i>{{ | -->{{#ifeq: {{{source|{{{1}}}}}} | {{Zelda|{{{source|{{{1}}}}}}}} | ||
| <!-- not from a game | |||
quote -->{{#if: {{{quote|{{{2|}}}}}}|"<i>{{{quote|{{{2}}}}}}</i>"}}<!-- | |||
speaker -->{{#if: {{{speaker|{{{3|}}}}}}|{{#if:{{{quote|{{{2|}}}}}}|{{S}}—{{S}}}}{{{speaker|{{{3}}}}}}}}<!-- | |||
source -->{{#if: {{{quote|{{{2|}}}}}}{{{speaker|{{{3|}}}}}}|,{{S}}}}{{{source|{{{1}}}}}} | |||
| <!-- from a game | |||
quote -->{{#if: {{{quote|{{{2|}}}}}}|"<i>{{Dump|{{{source|{{{1}}}}}}|{{{quote|{{{2|}}}}}}}}</i>"}}<!-- | |||
speaker -->{{#if: {{{speaker|{{{3|}}}}}}|{{S}}— {{{speaker|{{{3}}}}}}}}<!-- | |||
source -->{{#if: {{{quote|{{{2|}}}}}}{{{speaker|{{{3|}}}}}}|,{{S}}}}''[[{{Zelda|{{{source|{{{1}}}}}}}} Text Dump|{{Zelda|{{{source|{{{1}}}}}}}}]]''. | |||
}}}}}}</onlyinclude> | |||
==Purpose== | |||
'''References''' are used to support claims with sources of information. This template is placed after facts and organizes the source information to be displayed at the bottom of the article. | |||
==Usage== | |||
{{Usage|name{{=}}|source|quote|speaker}} | |||
{{Usage/Param|name|If the reference is used more than once, give the first instance a name. Further instances need only provide this name and not repeat the associated information.|optional}} | |||
{{Usage/Param|source|A link to where the information can be found. If a game abbreviation is provided, Ref will automatically link to that game's text dump.}} | |||
{{Usage/Param|quote|A brief quotation from the source. If a game abbreviation was provided for source, then this parameter is the quote ID or IDs found in that game's text dump.|optional}} | |||
{{Usage/Param|speaker|The speaker of the given quote, or who is otherwise cited as the source of the information. Link it to its article if it has one.|optional}} | |||
Articles that use this template should include {{Temlink|References}} at the bottom. | |||
For more information on using references, see [[Help:References]]. | |||
{{Cat|Formatting Templates}} |