Template:Ref: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
('source' is required.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:thisnum|{{#if: {{#var:~ref~{{{ | {{#vardefine:thisnum|{{#if: {{#var:~ref~{{{name|}}}~num}}|{{#var:~ref~{{{name|}}}~num}}|{{++|~ref~count}}}}}}<!-- | ||
Inline Reference: | Inline Reference: | ||
--><sup id="cite_ref-{{#var:thisnum}}{{#if:{{{ | --><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 10: | Line 10: | ||
Reference Formatting: | Reference Formatting: | ||
-->{{#ifeq: {{{source}}} | {{Zelda|{{{source}}}}} | 1=source | 2=quote | 3=speaker | ||
-->{{#ifeq: {{{source|{{{1}}}}}} | {{Zelda|{{{source|{{{1}}}}}}}} | |||
| <!-- not from a game | | <!-- not from a game | ||
quote -->{{#if: {{{quote|}}}|"<i>{{{quote|}}}</i>"}}<!-- | quote -->{{#if: {{{quote|{{{2|}}}}}}|"<i>{{{quote|{{{2}}}}}}</i>"}}<!-- | ||
speaker -->{{#if: {{{speaker|}}}|{{#if:{{{quote|}}}|{{S}}—{{S}}}}{{{speaker}}}}}<!-- | speaker -->{{#if: {{{speaker|{{{3|}}}}}}|{{#if:{{{quote|{{{2|}}}}}}|{{S}}—{{S}}}}{{{speaker|{{{3}}}}}}}}<!-- | ||
source -->{{#if: {{{quote|}}}{{{speaker|}}}|,{{S}}}}{{{source}}} | source -->{{#if: {{{quote|{{{2|}}}}}}{{{speaker|{{{3|}}}}}}|,{{S}}}}{{{source|{{{1}}}}}} | ||
| <!-- from a game | | <!-- from a game | ||
quote -->"<i>{{Foreach|{{{quote|}}}|Dump|2|{{{source|}}}}}</i>"<!-- | quote -->"<i>{{Foreach|{{{quote|{{{2|}}}}}}|Dump|2|{{{source|{{{1}}}}}}}}</i>"<!-- | ||
speaker -->{{#if: {{{speaker|}}}|{{S}}— {{{speaker}}}}}<!-- | speaker -->{{#if: {{{speaker|{{{3|}}}}}}|{{S}}— {{{speaker|{{{3}}}}}}}}<!-- | ||
source -->, ''[[{{Zelda|{{{source|}}}}} Text Dump|{{Zelda|{{{source}}}}}]]''. | source -->, ''[[{{Zelda|{{{source|{{{1}}}}}}}} Text Dump|{{Zelda|{{{source|{{{1}}}}}}}}]]''. | ||
}}}}}} | }}}}}} |