Difference between revisions of "Template:Ref"

From ISFDB
Jump to navigation Jump to search
(Show # as ref #)
(Use wikilink)
Line 1: Line 1:
<span class="reference plainlinksneverexpand" id="ref_{{{1}}}"><sup>[{{fullurl:{{FULLPAGENAME}}}}#endnote_{{{1|}}} {{{1|}}}]</sup></span><noinclude>
+
<span class="reference plainlinksneverexpand" id="ref_{{{1}}}"><sup>[[#endnote_{{{1|}}}|{{{1|}}}]]</sup></span><noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
{{{{PAGENAME}}/doc}}
 
{{{{PAGENAME}}/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 17:14, 13 September 2008

[[#endnote_|]]

Usage is {{ref|#}} at those points in the article where you want to cite a reference. You can site the same reference more than once if needed. You will need to manage the footnote or reference numbering or tags within an article yourself. The tags are not limited to numbers though using 1, 2, 3, ... is traditional.

To create the footnotes use {{note|#}} followed by the footnote text.
This is an example of some text with a reference.{{ref|1}}
...
== Footnotes ==
{{note|1}} Footnote text for the example.
The result is:
This is an example of some text with a reference.1
...
Footnotes
1. ^  Footnote text for the example.