Difference between revisions of "Ref"
From Sonic Retro
(Created page with "<includeonly><sup><span class="plainlinks" style="font-size:0.95em;">[{{{1}}}]</span></sup></includeonly><noinclude> ==Usage== <tt><nowiki>{{ref|http://segaretro.org}}</nowiki...") |
GerbilSoft (talk | contribs) (Updated to use the ref tag.) |
||
Line 1: | Line 1: | ||
− | + | <noinclude> | |
==Usage== | ==Usage== | ||
− | <tt><nowiki>{{ref|http://segaretro.org}}</nowiki></tt> returns {{ref|http://segaretro.org}} | + | <tt><nowiki>{{ref|http://segaretro.org}}</nowiki></tt> returns a footnote{{ref|http://segaretro.org}}, and appends the website to the References section at the bottom of the page. |
− | If the address contains an equals sign | + | If the address contains an equals sign [=], add "1=" to the beginning of the address like so: |
<tt><nowiki>{{ref|</nowiki>'''1='''<nowiki>http://segaretro.org/index.php?title=Example}}</nowiki></tt> | <tt><nowiki>{{ref|</nowiki>'''1='''<nowiki>http://segaretro.org/index.php?title=Example}}</nowiki></tt> | ||
Line 10: | Line 10: | ||
* [[Template:Fileref]] for referencing files stored on the wiki and Retro CDN. | * [[Template:Fileref]] for referencing files stored on the wiki and Retro CDN. | ||
− | [[Category:Sonic Retro templates]]</noinclude> | + | ==References== |
+ | Since this template uses the <nowiki><ref></nowiki> 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 <nowiki><references/></nowiki> tag should be added to the end of the page in a dedicated "References" section, such as this one. | ||
+ | <references/> | ||
+ | |||
+ | [[Category:Sonic Retro templates]]</noinclude><includeonly>{{#tag: ref | {{{1}}} | name="{{{1}}}"}}</includeonly> |
Revision as of 13:06, 16 December 2015
Usage
{{ref|http://segaretro.org}} returns a footnote[1], and appends the website to the References section at the bottom of the page.
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
- Template:Fileref for referencing files stored on the wiki and Retro CDN.
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.