User:Milton Beychok/Sandbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Milton Beychok
No edit summary
imported>Milton Beychok
No edit summary
Line 1: Line 1:
Single citation of a reference or footnote
==Inserting references or footnotes ==
 
===Single citation of a reference or footnote===


At the point of citation in the article, enter the footnote or reference like this:
At the point of citation in the article, enter the footnote or reference like this:


    <ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref>
:<code><nowiki><ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref></nowiki></code>


You can include formatting and links in the footnote or reference in the usual way. The reference will become visible in the <references/> list at the bottom, if there is one.
You can include formatting and links in the footnote or reference in the usual way. The reference will become visible in the <nowiki><references/></nowiki> list at the bottom, if there is one.
[edit] Creating the list of References or Footnotes


At the point where you want the text of the footnotes or references to appear (usually at the end of the article in a Notes or References section), insert the tag:
===Creating the list of References or Footnotes===
At the point where you want the text of the footnotes or references to appear (usually at the end of the article in a '''Notes''' or '''References''' section), insert the tag:


    <references/>
:<code><nowiki><references/></nowiki></code>


The template {{Reflist}} is an alternative, mostly used if there are many footnotes.
The template {{tl|Reflist}} is an alternative, mostly used if there are many footnotes.
[edit] Multiple citations of the same reference or footnote
Shortcut:
WP:NAMEDREFS


To cite the same reference or footnote several times, identify it using the name parameter of the <ref> tag.
===Multiple citations of the same reference or footnote===
{{Shortcut|WP:NAMEDREFS}}
To cite the same reference or footnote several times, identify it using the <code>name</code> parameter of the <code><nowiki><ref></nowiki></code> tag.  


At one of the citation points (it makes sense to choose the first), enter the reference like this:
At one of the citation points (it makes sense to choose the first), enter the reference like this:


    <ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>
:<code><nowiki><ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref></nowiki></code>


Then at all the other citation points, just enter:
Then at all the other citation points, just enter:


    <ref name="Perry"/>
:<code><nowiki><ref name="Perry"/></nowiki></code>


You are free to pick any footnote name, subject to a few rules. The footnote name is internal and will not be displayed anywhere when the page is viewed. Footnote names are case sensitive and may not be a numeric integer. The quotes are optional unless the name or group includes a space, punctuation or other mark. Names and groups should be kept simple and restricted to the standard English alphabet and numerals.
You are free to pick any footnote name, subject to a few rules. The footnote name is internal and will not be displayed anywhere when the page is viewed. Footnote names are case sensitive and may not be a numeric integer. The quotes are optional unless the name or group includes a space, punctuation or other mark. Names and groups should be kept simple and restricted to the standard [[English alphabet]] and numerals.
[edit] Using templates to insert reference text


A number of templates, such as a generic {{citation}}, or more specific {{cite book}}, {{cite web}}, etc., are available to format the text between <ref> and </ref> tags in a more structured way. These are described at Wikipedia:Citation templates. Their use is optional: they do aid with consistent formatting, but on the other hand they can make editing more cumbersome
=== Using templates to insert reference text ===
A number of [[Help:Template|templates]], such as a generic {{tl|citation}}, or more specific {{tl|cite book}}, {{tl|cite web}}, etc., are available to format the text between <code><nowiki><ref></nowiki></code> and <code></ref></code> tags in a more structured way. These are described at [[Wikipedia:Citation templates]]. Their use is optional: they do aid with consistent formatting, but on the other hand they can make editing more cumbersome.

Revision as of 12:17, 30 July 2010

Inserting references or footnotes

Single citation of a reference or footnote

At the point of citation in the article, enter the footnote or reference like this:

<ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref>

You can include formatting and links in the footnote or reference in the usual way. The reference will become visible in the <references/> list at the bottom, if there is one.

Creating the list of References or Footnotes

At the point where you want the text of the footnotes or references to appear (usually at the end of the article in a Notes or References section), insert the tag:

<references/>

The template {{Reflist}} is an alternative, mostly used if there are many footnotes.

Multiple citations of the same reference or footnote

Template:Shortcut To cite the same reference or footnote several times, identify it using the name parameter of the <ref> tag.

At one of the citation points (it makes sense to choose the first), enter the reference like this:

<ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>

Then at all the other citation points, just enter:

<ref name="Perry"/>

You are free to pick any footnote name, subject to a few rules. The footnote name is internal and will not be displayed anywhere when the page is viewed. Footnote names are case sensitive and may not be a numeric integer. The quotes are optional unless the name or group includes a space, punctuation or other mark. Names and groups should be kept simple and restricted to the standard English alphabet and numerals.

Using templates to insert reference text

A number of templates, such as a generic {{citation}}, or more specific {{cite book}}, {{cite web}}, etc., are available to format the text between <ref> and </ref> tags in a more structured way. These are described at Wikipedia:Citation templates. Their use is optional: they do aid with consistent formatting, but on the other hand they can make editing more cumbersome.