Difference between revisions of "Ref"

From Sega Retro

(guys, this one really shouldn't be happening)
Line 14: Line 14:
 
<references/>
 
<references/>
  
[[Category:Sega Retro templates]]</noinclude><includeonly>{{#tag: ref | {{{1}}} | name="{{{1}}}"}}{{#vardefine:ext|{{fileext|{{{1}}}}}}}{{#switch:{{#var:ext}}|txt=[[Category:External TXT reference]]|pdf=[[Category:External PDF reference]]}}</includeonly>
+
[[Category:Sega Retro templates]]</noinclude><includeonly>{{#tag: ref | {{{1}}} | name="{{{1}}}"}}{{#vardefine:ext|{{fileext|{{{1}}}}}}}{{#switch:{{#var:ext}}|txt=[[Category:External TXT reference]]|pdf=[[Category:External PDF reference]]|jpg=[[Category:External JPEG reference]]}}</includeonly>

Revision as of 12:39, 8 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.