Difference between revisions of "Ref"

From Sega Retro

Line 23: Line 23:
 
{{#ifeq:{{#pos:{{{1}}}|.jpeg}}|||[[Category:External JPEG reference]]}}
 
{{#ifeq:{{#pos:{{{1}}}|.jpeg}}|||[[Category:External JPEG reference]]}}
 
{{#ifeq:{{#pos:{{{1}}}|.JPEG}}|||[[Category:External JPEG reference]]}}
 
{{#ifeq:{{#pos:{{{1}}}|.JPEG}}|||[[Category:External JPEG reference]]}}
{{#ifeq:{{#pos:{{{1}}}|.c}}|||[[Category:External source code reference]]}}
 
 
{{#ifeq:{{#pos:{{{1}}}|.cpp}}|||[[Category:External source code reference]]}}
 
{{#ifeq:{{#pos:{{{1}}}|.cpp}}|||[[Category:External source code reference]]}}
 
{{#ifeq:{{#pos:{{{1}}}|.h}}|||[[Category:External source code reference]]}}
 
{{#ifeq:{{#pos:{{{1}}}|.h}}|||[[Category:External source code reference]]}}
 
{{#ifeq:{{#pos:{{{1}}}|.hpp}}|||[[Category:External source code reference]]}}</div></includeonly>
 
{{#ifeq:{{#pos:{{{1}}}|.hpp}}|||[[Category:External source code reference]]}}</div></includeonly>

Revision as of 10:16, 18 September 2016

Usage

{{ref|http://segaretro.org}} returns a footnote symbol that looks like this:[1]






, and appends the website to the References section at the bottom of the page. If multiple references to the same URL are used in a single page, they will be combined into a single reference.

If the address contains an equals sign [=], add "1=" to the beginning of the address like so:

{{ref|1=http://segaretro.org/index.php?title=Example}}

See also

References

Since this template uses the <ref> tag, all pages that use this template will have an auto-generated references list appended to the end of the page. To prevent confusion, a <references/> tag should be added to the end of the page in a dedicated "References" section, such as this one.