17,230
edits
No edit summary |
(documentation) |
||
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: | ||
Line 9: | Line 9: | ||
| {{#vardefine:~ref~{{#var:thisnum}}~data|<!-- | | {{#vardefine:~ref~{{#var:thisnum}}~data|<!-- | ||
REFERENCE FORMATTING STARTS HERE; DO NOT EDIT ABOVE THIS LINE | |||
1=source | 2=quote | 3=speaker | 1=source | 2=quote | 3=speaker | ||
-->{{#ifeq: {{{source|{{{1}}}}}} | {{Zelda|{{{source|{{{1}}}}}}}} | -->{{#ifeq: {{{source|{{{1}}}}}} | {{Zelda|{{{source|{{{1}}}}}}}} | ||
Line 20: | Line 21: | ||
speaker -->{{#if: {{{speaker|{{{3|}}}}}}|{{S}}— {{{speaker|{{{3}}}}}}}}<!-- | speaker -->{{#if: {{{speaker|{{{3|}}}}}}|{{S}}— {{{speaker|{{{3}}}}}}}}<!-- | ||
source -->, ''[[{{Zelda|{{{source|{{{1}}}}}}}} Text Dump|{{Zelda|{{{source|{{{1}}}}}}}}]]''. | source -->, ''[[{{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}} | |||
For more information on using references, see [[Help:References]]. | |||
{{Cat|Formatting Templates}} |