Template:References
Appearance
Early tests
(originally tested here:) https://www.wikidata.org/wiki/User:Reversedragon3/RefsTest
(onlyinclude){{Project:Sandbox|name=abc|1|0|article=Legitimate article|authors=Luxemburg, R|date=1926}} <li id="cite_note-{{{name|}}}"><span class="mw-cite-backlink plainlinks" title="Jump up">[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_ref-{{{name|}}}_{{{1|}}}-{{{2|}}} ↑] <span class="reference-text">{{#if:{{{article|}}}|<span class="article">"{{{article|}}}". </span>}}{{#if:{{{authors|}}}|<span class="authors">{{{authors|}}}. </span>}}{{#if:{{{date|}}}|<span class="date">({{{date|}}}). </span>}}{{{3|}}}</span></li>(/onlyinclude)
(onlyinclude){{RefEntry|name=abc|1|0}} <li id="cite_note-{{{name|}}}"><span class="mw-cite-backlink plainlinks" title="Jump up">[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_ref-{{{name|}}}_{{{1|}}}-{{{2|}}} ↑] <span class="reference-text">{{{3|}}}</span></li>(/onlyinclude)
(onlyinclude){{JumpUpLink|name=abc|1|0}} <sup id="cite_ref-{{{name|}}}_{{{2|}}}" class="mw-cite-targeted-backlink plainlinks" title="Jump up">[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_ref-{{{name|}}}_{{{2|}}} <span class="cite-accessibility-label">Jump up to: </span>{{{1|}}}.{{{2|}}}]</sup> (/onlyinclude)
(onlyinclude){{Project:Sandbox|f=ref|name=abc|1|0}} <sup id="cite_ref-{{{name|}}}_{{{1|}}}-{{{2|0}}}" class="reference plainlinks"><span class="spacer"> </span>[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_note-{{{name|}}} <span class="cite-bracket"><nowiki>[</span>{{{1|}}}<span class="cite-bracket">]</span>]</sup>(/onlyinclude)
</nowiki>
Demo
<includeonly><onlyinclude>{{#switch:{{{f|}}}
| ref = <sup id="cite_ref-{{{name|}}}_{{{1|}}}-{{{2|0}}}" class="reference plainlinks"><span class="spacer"> </span>[{{SERVER}}{{ARTICLEPATH}}#cite_note-{{{name|}}} <span class="cite-bracket"><nowiki>[</span>{{{1|}}}<span class="cite-bracket">]</span>]</sup>
| JumpUpLink = <sup id="cite_ref-{{{name|}}}_{{{2|}}}" class="mw-cite-targeted-backlink plainlinks" title="Jump up">[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_ref-{{{name|}}}_{{{2|}}} <span class="cite-accessibility-label">Jump up to: </span>{{{1|}}}.{{{2|}}}] </sup>
| CiteNote = <li id="cite_note-{{{name|}}}">↑ <span class="mw-cite-backlink">{{#if:{{{J0|}}}|{{Project:Sandbox|f=JumpUpLink|name={{{name|}}}|0}}}}{{#if:{{{J1|}}}|{{Project:Sandbox|f=JumpUpLink|name={{{name|}}}|1}}}}<span class="reference-text">{{{2|}}}</span></span></li>
| references = <div class="mw-references-wrap"><ol class="references">{{{1|}}}</ol></div>
}}</onlyinclude></includeonly>
According to Rosa Luxemburg, borders are a lie.<!--
--><sup id="cite_ref-abc_0" class="reference plainlinks"><span class="spacer"> </span>[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_note-abc [1]]</sup> {{Project:Sandbox|f=ref|name=abc|1|0}}
Trotsky has claimed that borders are necessary, but as we can see from Luxemburg, they only materially cause problems.<!--
--><sup id="cite_ref-abc_1" class="reference plainlinks"><span class="spacer"> </span>[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_note-abc [1]]</sup> {{Project:Sandbox|f=ref|name=abc|1|1}}
This is to say that uniting everyone into a global civilization will not cause problems.<!--
--><sup id="cite_ref-def" class="reference plainlinks"><span class="spacer"> </span>[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_note-def [2]]</sup> {{Project:Sandbox|f=ref|name=def|2|0}}
</nowiki>
Refs
<div class="mw-references-wrap"><ol class="references"> <li id="cite_note-abc">↑ <span class="mw-cite-backlink"><sup id="cite_ref-abc_0" class="mw-cite-targeted-backlink plainlinks" title="Jump up">[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_ref-abc_0 <span class="cite-accessibility-label">Jump up to: </span>1.0]</sup> <sup id="cite_ref-abc_1" class="mw-cite-targeted-backlink plainlinks" title="Jump up">[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_ref-abc_1 <span class="cite-accessibility-label">Jump up to: </span>1.1]</sup> <span class="reference-text">"Legitimate article". Luxemburg, R. (1926).</span></span></li> <li id="cite_note-def">↑ <span class="mw-cite-backlink"><sup id="cite_ref-def_0" class="mw-cite-targeted-backlink plainlinks" title="Jump up">[https://www.mediawiki.org/w/index.php?title=Project:Sandbox&action=submit#cite_ref-def_0 <span class="cite-accessibility-label">Jump up to: </span>2.0]</sup> <span class="reference-text">"Why the collected works of Lenin don't need to be updated". Trotsky, L. (1928).</span></span></span></li> </ol></div>
refs template
<div class="mw-references-wrap"><ol class="references">
{{Project:Sandbox|f=CiteNote|name=abc|1|J0=y|J1=y|"Legitimate article". Luxemburg, R. (1926).}}
{{Project:Sandbox|f=CiteNote|name=def|2|J0=y|"Why the collected works of Lenin don't need to be updated". Trotsky, L. (1928).}}
</ol></div>
refs tag
<references><ref name="abc">"Legitimate article". Luxemburg, R. (1926).</ref></references>