Difference between revisions of "Ref"
From NEC Retro
(updated to match Sega Retro's version) |
Ccawley2011 (talk | contribs) |
||
Line 19: | Line 19: | ||
}}{{RefSiteCheck|{{{1|}}}{{{2|}}}}}{{incvar|refcount}}{{clearvar|quote}}</includeonly><noinclude> | }}{{RefSiteCheck|{{{1|}}}{{{2|}}}}}{{incvar|refcount}}{{clearvar|quote}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
− | <tt><nowiki>{{ref|http://necretro.org}}</nowiki></tt> returns {{ref|http://necretro.org}} | + | <tt><nowiki>{{ref|http://necretro.org}}</nowiki></tt> returns a footnote symbol that looks like this:{{ref|http://necretro.org}}, 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 | + | If the address contains an equals sign [=], add "1=" to the beginning of the address like so: |
<tt><nowiki>{{ref|</nowiki>'''1='''<nowiki>http://necretro.org/index.php?title=Example}}</nowiki></tt> | <tt><nowiki>{{ref|</nowiki>'''1='''<nowiki>http://necretro.org/index.php?title=Example}}</nowiki></tt> | ||
Line 27: | Line 27: | ||
==See also== | ==See also== | ||
* [[Template:Fileref]] for referencing files stored on the wiki and Retro CDN. | * [[Template:Fileref]] for referencing files stored on the wiki and Retro CDN. | ||
+ | |||
+ | <!-- | ||
+ | ==Examples== | ||
+ | *{{ref|http://www.google.com|quote=this is a quote}} | ||
+ | --> | ||
==References== | ==References== |
Revision as of 15:59, 31 December 2021
Usage
{{ref|http://necretro.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://necretro.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.