Help:References: Difference between revisions

From WikiMSK

No edit summary
Line 22: Line 22:
Then you can reuse it later in the article as follows
Then you can reuse it later in the article as follows


  <nowiki><ref name="refname"></ref></nowiki>
  <nowiki><ref name="refname"/></nowiki>


== Reference Templates ==
==Pubmed Referencing==
Another way of referencing is by using a '''reference template'''. Templates are a useful trick that simplify the work involved. While not necessary to understand the basics, it may be helpful to take a look at the [[:Help:Templates]] article for more background on how templates work.
To easily add a link to pubmed you can use the PMID code.
 
<nowiki><ref>{{#pmid:27349714}}</ref></nowiki>


A ''basic'' reference template looks like this: <code><nowiki>{{ref|text=This is a reference.}}</nowiki></code>. Notice that it's enclosed by double curly braces (<code>{{</code> and <code>}}</code>). The ''template name'' comes first ("ref"), followed by ''parameters'', all separated by vertical bars (<code>|</code>). Named parameters, like "text=" require the parameter name and equals sign along with your input, as shown above. Unnamed parameters (you'll see these below, in all caps) should be completely replaced by your input. When placed in the text of an article, it will be automatically rendered as a superscript, bracketed number: <code>{{ref |text=This is a reference.}}</code>. It links to the bottom of the page, where you'll see that same number along with the text: <references />
The bottom of the page will now produce:  


Below are reference templates for specific sources. These are a work in progress so please don't use them yet.
{{#pmid:27349714}}


=== Books ===
To add a name to be able to reuse it, first write it as below:
For most books, you can use the general book template (listed first). However, some books use more specific templates because of the way they are structured


;General Book {{t|book ref}}
<nowiki><ref>{{#pmid:27349714|Takeda2016}}</ref></nowiki>
: Looks like: <code><nowiki>{{book ref |AUTHOR|TITLE|EDITION|PLACE|PUBLISHER|YEAR|}}</nowiki></code>, where:
:* <code>AUTHOR</code> is the author name
:* <code>TITLE</code> is the full book name
:* <code>EDITION</code> is the edition
:* <code>PLACE</code> is the place of publication
:* <code>PUBLISHER</code>e"
:* <code>YEAR</code> is the year published


=== Websites ===
Then you reuse it later in the article just as before
;General URL {{t|url ref}}
: Looks like: <code><nowiki>{{url ref |url= |text= |site= |date=}}</nowiki></code>, where:
:* <code>url=</code> should be followed with the link URL ("http://...")
:* <code>text=</code> should be followed with a description of the information
:* <code>site=</code> should be followed with the name of the website
:* <code>date=</code> should be followed with the date of the information ("yyyy-mm-dd")


;Others
<nowiki><ref name="Takeda2016"/></nowiki>
:* '''Uptodate''' {{t|Utd ref}}}
:* '''Wikipedia''' {{t|Wp ref}}


=== Footnotes ===
== Reference Templates ==
Sometimes you may wish to provide a textual footnote. It's not a reference to some source--just a small note of clarification that maybe doesn't belong in the body of the article. To make a footnote, use the basic reference template described earlier on this page.  
Another way of referencing is by using a '''reference template'''. Templates are a useful trick that simplify the work involved. While not necessary to understand the basics, it may be helpful to take a look at the [[:Help:Templates]] article for more background on how templates work.


=== Additional Parameters ===
A ''basic'' reference template looks like this: <code><nowiki>{{ref|text=This is a reference.}}</nowiki></code>. Notice that it's enclosed by double curly braces (<code>{{</code> and <code>}}</code>). The ''template name'' comes first ("ref"), followed by ''parameters'', all separated by vertical bars (<code>|</code>). Named parameters, like "text=" require the parameter name and equals sign along with your input, as shown above. Unnamed parameters (you'll see these below, in all caps) should be completely replaced by your input. When placed in the text of an article, it will be automatically rendered as a superscript, bracketed number: <code>{{ref |text=This is a reference.}}</code>. It links to the bottom of the page, where you'll see that same number along with the text: <references />
Most reference templates can make use of additional parameters not mentioned above. Visit the template pages to learn about these other parameter options, if needed.


== Named References ==
If you're going use a particular reference multiple times, you may find '''named references''' useful. Just include the additional parameter <code>|name=</code> in the reference template. Whenever you want to reuse that reference, you use the basic {{t|ref}} template and omit all the other parameters besides <code>|name=</code>.  
If you're going use a particular reference multiple times, you may find '''named references''' useful. Just include the additional parameter <code>|name=</code> in the reference template. Whenever you want to reuse that reference, you use the basic {{t|ref}} template and omit all the other parameters besides <code>|name=</code>.  


''Example:'' Say you want to cite book X chapter 4. For the first reference use <code><nowiki>{{book ref|X|4|name=X4}}</nowiki></code>, and then for every other instance just use <code><nowiki>{{ref|name=X4}}</nowiki></code>.  
''Example:'' Say you want to cite book X chapter 4. For the first reference use <code><nowiki>{{book ref|X|4|name=X4}}</nowiki></code>, and then for every other instance just use <code><nowiki>{{ref|name=X4}}</nowiki></code>.  


In fact, you can ''really'' keep the article clean by putting long reference templates directly in the Notes section. Instead of <code><nowiki><references /></nowiki></code>, put all of your long citations (with names added) between <code><nowiki><references></nowiki></code> and <code><nowiki></references></nowiki></code> tags down in the Notes section. Then you can call them out in the body of the article with the names alone!
=== Footnotes ===
 
Sometimes you may wish to provide a textual footnote. It's not a reference to some source--just a small note of clarification that maybe doesn't belong in the body of the article. To make a footnote, use the basic reference template described earlier on this page.  
For example:
{| width=100% class=wikitable
|-
| width=50%|
<pre>
The Coppermind wiki is awesome.{{ref|name=coppermind}}
 
And here's another reference to that great website.{{ref|name=coppermind}}
 
== Notes ==
<references>
{{url ref|url=http://www.coppermind.net|text=A cool place.|site=Coppermind|date=2016-01-01|name=coppermind}}
</references>
</pre>
|
The Coppermind wiki is awesome.{{ref|name=coppermind}}
 
And here's another reference to that great website.{{ref|name=coppermind}}
 
'''Notes'''
<references>
{{url ref|url=http://www.coppermind.net|text=A cool place.|site=Coppermind|date=2016-01-01|name=coppermind}}
</references>
|}
 
== Reference Groups ==
Regular citations always belong in the Notes section, but there may be occasion to list certain references higher up in the article. Particularly in the case of footnotes. This is accomplished with reference groups.
 
Include the additional parameter <code>|group=</code> in the reference templates that you want placed in a special location. In the location you want these references listed, add the same parameter and input to the <code><nowiki><references /></nowiki></code> tag.
 
It looks like this:
{| width=100% class=wikitable
|-
| width=50%|
<pre>
The Coppermind wiki is awesome.{{ref|text=It really is.|group=note}} You should visit.{{ref|text=A normal reference.}}
 
<references group=note />
 
== Notes ==
<references />
</pre>
|
The Coppermind wiki is awesome.{{ref|text=It really is.|group=note}} You should visit.{{ref|text=A normal reference.}}
 
<references group=note />
 
''' Notes '''
<references />
|}


== Editorial Notations ==
== Editorial Notations ==

Revision as of 07:32, 13 July 2020

It's important to provide references to the books or other source material so that facts can be confirmed and proven trustwothy. This is particularly true when a strong statement is being made, or when a fact is not well known. This page will tell you everything you need to know about citing references and making notes.

It's okay if you are unable to provide references. See the #Editorial Notations section below for other ways you can help.

For more details, see Wikipedia's guidelines on References and Citation.

Also see ReferenCite For referencing help. You can get the citation text by going to pubmed, then click "cite" on the right.

References Section

Every page should have a Notes section at the very bottom. We want the references to appear there. This is done by including a <references /> tag first thing in the Notes section. If you don't put this code at the bottom it will still appear automatically. For more on article structure, see Help:Guidelines#Article_Structure.

Basic Referencing

One way of referencing is by using the ref tag.

<ref>reference details here</ref>

To reuse a reference, first give it a name

<ref name="refname">reference details here</ref>

Then you can reuse it later in the article as follows

<ref name="refname"/>

Pubmed Referencing

To easily add a link to pubmed you can use the PMID code.

<ref>{{#pmid:27349714}}</ref>

The bottom of the page will now produce:

Takeda et al.. Diagnostic Value of the Supine Napoleon Test for Subscapularis Tendon Lesions. Arthroscopy : the journal of arthroscopic & related surgery : official publication of the Arthroscopy Association of North America and the International Arthroscopy Association 2016. 32:2459-2465. PMID: 27349714. DOI. 

To add a name to be able to reuse it, first write it as below:

<ref>{{#pmid:27349714|Takeda2016}}</ref>

Then you reuse it later in the article just as before

<ref name="Takeda2016"/>

Reference Templates

Another way of referencing is by using a reference template. Templates are a useful trick that simplify the work involved. While not necessary to understand the basics, it may be helpful to take a look at the Help:Templates article for more background on how templates work.

A basic reference template looks like this: {{ref|text=This is a reference.}}. Notice that it's enclosed by double curly braces ({{ and }}). The template name comes first ("ref"), followed by parameters, all separated by vertical bars (|). Named parameters, like "text=" require the parameter name and equals sign along with your input, as shown above. Unnamed parameters (you'll see these below, in all caps) should be completely replaced by your input. When placed in the text of an article, it will be automatically rendered as a superscript, bracketed number: [1]. It links to the bottom of the page, where you'll see that same number along with the text:

  1. This is a reference.

If you're going use a particular reference multiple times, you may find named references useful. Just include the additional parameter |name= in the reference template. Whenever you want to reuse that reference, you use the basic {{ref}} template and omit all the other parameters besides |name=.

Example: Say you want to cite book X chapter 4. For the first reference use {{book ref|X|4|name=X4}}, and then for every other instance just use {{ref|name=X4}}.

Footnotes

Sometimes you may wish to provide a textual footnote. It's not a reference to some source--just a small note of clarification that maybe doesn't belong in the body of the article. To make a footnote, use the basic reference template described earlier on this page.

Editorial Notations

Not sure about a particular reference? You can still help us out by identifying statements that may need some attention. Just insert the following templates, exactly as shown, after the statement.

Request Citation {{cite}}
{{cite}} acts as a placeholder for future citation. It let's others know that the preceding fact needs a reference.
Request Clarification {{clarify}}
{{clarify}} lets others know that the preceding statement is unclear and needs some work.
Disputed Warning {{disputed}}
{{disputed}} warns the reader that the preceding information may be incorrect or unverified. If you see something that doesn't sound correct (especially if it has no reference), use this.


New Editor's Guide
Markup Basics References & Citations Images