Template:References: Difference between revisions

m
QOL edits
(extended the tutorial for the rest of the reference functionality.)
m (QOL edits)
Line 1: Line 1:
<noinclude>{{Wiki Ops}}Now that references and citations can be added to your wiki pages, we've adopted a standard format to cite sims, FNS news articles, and so forth.
<noinclude>{{Wiki Ops}}Now that references and citations can be added to your wiki pages, we've adopted a standard format to cite sims, FNS news articles, and other URLs.


To cite something, you add '''<nowiki><ref></nowiki>''' and '''<nowiki></ref></nowiki>''' tags around the source, and it then places a footnote in the article once you add the '''<nowiki>{{References}}</nowiki>''' template at the bottom of the page. You would write your source like any other external link on the wiki, so first the URL and then the name of the link, all in single brackets.
To cite something, you add '''<nowiki><ref></nowiki>''' and '''<nowiki></ref></nowiki>''' tags around the source and add '''<nowiki>{{References}}</nowiki>''' template at the bottom of the page. This automatically places a citation footnote onto the page. Write your source like any other external link on the wiki, so first the URL and then the name of the link, all in single brackets.
 
Importantly, if you want to cite a reference multiple times, you can give it a name - '''<nowiki><ref name="Miller"></nowiki>''', and each time you want to use that reference, just add that to the tag., but make sure to not use a full ref tag, just use '''<nowiki><ref name="Miller" /></nowiki>'''.


If you want multiple types of references, you can add in '''<nowiki><ref group="groupname"></nowiki>''' to separate references, which might be useful if you want to add notes that are not references in the same page as actual references.  
If you want multiple types of references, you can add in '''<nowiki><ref group="groupname"></nowiki>''' to separate references, which might be useful if you want to add notes that are not references in the same page as actual references.  


Importantly, if you want to cite a reference multiple times, you can give it a name - '''<nowiki><ref name="Miller"></nowiki>''', and each time you want to use that reference, just add that to the tag., but make sure to not use a full ref tag, just use '''<nowiki><ref name="Miller" /></nowiki>'''.
===Preferred style===
 
===Preferred citations===
There are multiple ways you can cite sources. After adding information, immediately include your source after your fullstop.
There are multiple ways you can cite sources. After adding information, immediately include your source after your fullstop.