Difference between revisions of "Template:Ref"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
<span class="reference"><sup id="ref_{{{1}}}" class="plainlinksneverexpand">[{{fullurl:{{FULLPAGENAME}}}}#endnote_{{{1}}}]</sup></span><noinclude>[[Category:Templates|Ref]]</noinclude>
+
<sup class="reference plainlinks nourlexpansion" {{#ifeq:{{{noid}}}|noid||id="ref_{{{1}}}"}}>{{#if:{{{2|}}}|[[#endnote_{{{1}}}|{{{2}}}]]|[{{fullurl:{{FULLPAGENAME}}}}#endnote_{{anchorencode:{{{1|}}}}}]}}</sup><noinclude>
 +
 
 +
This template manually creates a superscript link to point to a manually-curated reference list.
 +
 
 +
This is not the technically-thoughtful way to do so; instead, consider using <code>&lt;ref&gt;</code> to insert a reference, and a <code>&lt;references/&gt;</code> at the end of article to list..
 +
 
 +
{{documentation}}
 +
[[Category:Templates|Ref]]
 +
</noinclude>

Latest revision as of 10:31, 23 April 2023

[1]

This template manually creates a superscript link to point to a manually-curated reference list.

This is not the technically-thoughtful way to do so; instead, consider using <ref> to insert a reference, and a <references/> at the end of article to list..

Template:Documentation