Jump to content

Template:References: Difference between revisions

From Philosophical Research
archive wikidata references test - created: 2026-01-01T17:26:41H
 
semi-current demo
Line 1: Line 1:
<includeonly><onlyinclude><div class="mw-references-wrap"><ol class="references">{{{1|}}}</ol></div></onlyinclude></includeonly><!--
-->
__TOC__
__TOC__
== Early tests ==
(originally tested here:) https://www.wikidata.org/wiki/User:Reversedragon3/RefsTest
<pre><nowiki>
(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>[</nowiki></span>{{{1|}}}<span class="cite-bracket"><nowiki>]</nowiki></span>]</sup>(/onlyinclude)
</nowiki></pre>
== Demo ==
== Demo ==
<pre><nowiki>
<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>[</nowiki></span>{{{1|}}}<span class="cite-bracket"><nowiki>]</nowiki></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.<!--
According to Rosa Luxemburg, borders are a lie.{{ref|name=abc|1|0}}
--><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 <nowiki>[</nowiki>1<nowiki>]</nowiki>]</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.<!--
Trotsky has claimed that borders are necessary, but as we can see from Luxemburg, they only materially cause problems.{{ref|name=abc|1|1}}
--><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 <nowiki>[</nowiki>1<nowiki>]</nowiki>]</sup> {{Project:Sandbox|f=ref|name=abc|1|1}}
This is to say that uniting everyone into a global civilization will not cause problems.{{ref|name=def|2|0}}{{ref|name=wd|3|0}}
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 <nowiki>[</nowiki>2<nowiki>]</nowiki>]</sup> {{Project:Sandbox|f=ref|name=def|2|0}}
</nowiki></pre>


== Refs ==
== References ==
<pre><nowiki>
<div class="mw-references-wrap"><ol class="references">
<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-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>
Line 39: Line 15:
<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>
<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>
</ol></div>
</nowiki></pre>


=== refs template ===
=== refs template ===
<pre><nowiki>
{{references|
<div class="mw-references-wrap"><ol class="references">
{{refdef|1|name=abc|J0=1|"Legitimate article". Luxemburg, R. (1926).}}
{{Project:Sandbox|f=CiteNote|name=abc|1|J0=y|J1=y|"Legitimate article". Luxemburg, R. (1926).}}
{{refdef|2|name=def|J0=0|"Why the collected works of Lenin don't need to be updated". Trotsky, L. (1928).}}
{{Project:Sandbox|f=CiteNote|name=def|2|J0=y|"Why the collected works of Lenin don't need to be updated". Trotsky, L. (1928).}}
{{refdef|3|name=wd|J0=0|These templates were originally tested on [https://www.wikidata.org/wiki/User:Reversedragon3/RefsTest wikidata.org].}}
</ol></div>
}}
</nowiki></pre>
 
== Templates called ==
 
* [[Template:references]]
* [[Template:ref]]
* [[Template:RefJumpLink]]
* [[Template:refdef]]
 


=== refs tag ===
[[Category:Templates for markup]]
<pre><nowiki>
<references><ref name="abc">"Legitimate article". Luxemburg, R. (1926).</ref></references>
</nowiki></pre>

Revision as of 08:55, 21 January 2026

Demo

According to Rosa Luxemburg, borders are a lie. [1]

Trotsky has claimed that borders are necessary, but as we can see from Luxemburg, they only materially cause problems. [1] This is to say that uniting everyone into a global civilization will not cause problems. [2] [3]

References

  1. Jump up to: 1.0 Jump up to: 1.1 "Legitimate article". Luxemburg, R. (1926).
  2. Jump up to: 2.0 "Why the collected works of Lenin don't need to be updated". Trotsky, L. (1928).

refs template

  1. Jump up to: 1.0 Jump up to: 1.1 "Legitimate article". Luxemburg, R. (1926).
  2. Jump up to: 2.0 "Why the collected works of Lenin don't need to be updated". Trotsky, L. (1928).
  3. Jump up to: 3.0 These templates were originally tested on wikidata.org.

Templates called