Wikipedia:Citing sources/Example edits for different methods: Difference between revisions

Content deleted Content added
Changed <div class=reference-small> to refbegin ...refend because former method is deprecated. See talk page.
syntaxhighlight lang="wikitext"
 
(19 intermediate revisions by 14 users not shown)
Line 10:
 
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="xmlwikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption.<ref name=Kummer2003><cite id=Kummer2003ch8>Kummer, Corby (2003). ''[http://books.google.com/books?id=qNLrJqgfg7wC The Joy of Coffee]'', [http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I Caffeine and Decaf], Houghton Mifflin Cookbooks, 151–170. ISBN:0618302409 Retrieved on February 23, 2008.</cite></ref>
 
Line 23:
== References ==
{{reflist}}
</syntaxhighlight>
</source>
</div>
 
Line 33:
 
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin:1em; padding: 4px">
<sourcesyntaxhighlight lang="xml+smartywikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption.<ref name=Kummer2003>{{
cite book
Line 42:
|url = http://books.google.com/books?id=qNLrJqgfg7wC
|chapter = Caffeine and Decaf
|chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I
|publisher = Houghton Mifflin Cookbooks
|pages = 151–170
|isbn = 0618302409
|accessdate access-date= 2008-02-23
}}</ref>
 
Line 63:
|doi = 10.1001/archinte.166.11.1190
|pmid = 16772246
|accessdate access-date= 2008-02-23
}}</ref> and [[gout]]. Some health effects are due to the [[caffeine]] content of coffee, as the benefits are only observed in those who drink caffeinated coffee, while others appear to be due to other components.<ref>{{
cite journal
Line 76:
|pages = 1311–1316
|pmid = 16801515
|accessdate access-date= 2008-02-23
}}</ref> For example, the [[antioxidant]]s in coffee prevent [[Radical (chemistry)|free radicals]] from causing cell damage.<ref>{{
cite web
Line 85:
|publisher = New York Times
|url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
|accessdate access-date= 2007-07-28
}}</ref>
Although caffeine has not been linked to any life-threatening disease, doctors and nurses routinely advise some patients to watch their caffeine intake or to eliminate it altogether.<ref>Op. Cit. {{Harvnb|Kummer|2003|p=152}}</ref> Research suggests that drinking caffeinated coffee can cause a temporary increase in the stiffening of arterial walls.<ref>{{
Line 100:
|pages = 227–231
|pmid = 11509481
|accessdate access-date= 2008-02-23
}}</ref> Excess coffee consumption may lead to a [[magnesium deficiency (medicine)|magnesium deficiency]] or [[hypomagnesaemia]],<ref>{{
cite journal
Line 115:
|doi = 10.1054/mehy.2000.1133
|pmid = 11425281
|accessdate access-date= 2008-02-23
}}</ref> and may be a risk factor for [[coronary heart disease]]. Some studies suggest that it may have a mixed effect on [[short-term memory]], by improving it when the information to be recalled is related to the current [[train of thought]], but making it more difficult to recall unrelated information.<ref>{{
cite web
Line 123:
|url = http://news.bbc.co.uk/2/hi/health/3909085.stm
|publisher = BBC News
|accessdate access-date= 2008-02-23
}}</ref> About 10% of people with a moderate daily intake (235 mg per day) reported increased depression and anxiety when caffeine was withdrawn,<ref>{{
cite journal
Line 136:
|doi = 10.1016/S0278-6915(02)00096-0
|pmid = 12204388
|accessdate access-date= 2008-02-23
}}</ref> and about 15% of the general population report having stopped caffeine use completely, citing concern about health and unpleasant side effects.<ref>{{
cite web
Line 144:
|url = http://www.caffeinedependence.org/caffeine_dependence.html#sources
|work = Information about Caffeine Dependence
|accessdate access-date= 2008-02-23
}}</ref> Nevertheless, the mainstream view of medical experts is that drinking three 8-ounce (236 ml) cups of coffee per day (considered average or moderate consumption) does not have significant health risks for adults.<ref>{{
cite web
Line 153:
|work = MedlinePlus Medical Encyclopedia
|publisher = The U.S. National Library of Medicine
|accessdate access-date= 2008-02-23
}}</ref>
 
== References ==
{{reflist}}
</syntaxhighlight>
</source>
</div>
 
Line 165:
 
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="xml+smartywikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption.<ref name=Kummer2003>{{cite book | last = Kummer | first = Corby | year = 2003 | title = The Joy of Coffee | url = http://books.google.com/books?id=qNLrJqgfg7wC | chapter = Caffeine and Decaf | chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I | publisher = Houghton Mifflin Cookbooks | isbn = 0618302409 | pages = 151–170 | accessdate access-date= 2008-02-23}}</ref>
 
Coffee appears to reduce the risk of [[Alzheimer's disease]], [[Parkinson's disease]], [[heart disease]], [[diabetes mellitus type 2]], [[cirrhosis]] of the [[liver]],<ref>{{cite journal | last = Klatsky | first = Arthur L. |author2=Morton, C. |author3=Udaltsova, N. |author4=Friedman, D. | date = 2006 | title = Coffee, Cirrhosis, and Transaminase Enzymes | url = http://archinte.ama-assn.org/cgi/content/full/166/11/1190 | journal = Archives of Internal Medicine | volume = 166 | issue = 11 | pages = 1190–1195 | doi = 10.1001/archinte.166.11.1190 | pmid = 16772246 | accessdate access-date= 2008-02-23}}</ref> and [[gout]]. Some health effects are due to the [[caffeine]] content of coffee, as the benefits are only observed in those who drink caffeinated coffee, while others appear to be due to other components.<ref>{{cite journal | author = Pereira, Mark A. |author2=Parker, D. |author3=Folsom, A.R. | year = 2006 | title = Coffee consumption and risk of type 2 diabetes mellitus: an 11-year prospective study of 28 812 postmenopausal women. | url = http://archinte.ama-assn.org/cgi/content/full/166/12/1311 | journal = Archives of Internal Medicine | volume = 166 | issue = 12 | pages = 1311–1316 | pmid = 16801515 | accessdate access-date= 2008-02-23}}</ref> For example, the [[antioxidant]]s in coffee prevent [[Radical (chemistry)|free radicals]] from causing cell damage.<ref>{{
cite web | last = Bakalar | first = Nicholas | date = 2006-08-15 | title = Coffee as a Health Drink? Studies Find Some Benefits | publisher = New York Times | url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
| accessdate access-date= 2007-07-28 }}</ref>
 
Although caffeine has not been linked to any life-threatening disease, doctors and nurses routinely advise some patients to watch their caffeine intake or to eliminate it altogether.<ref>Op. Cit. {{Harvnb|Kummer|2003|p=152}}</ref> Research suggests that drinking caffeinated coffee can cause a temporary increase in the stiffening of arterial walls.<ref>{{cite journal | last = Mahmud | first = A. |author2=Feely, J. | year = 2001 | title = Acute Effect of Caffeine on Arterial Stiffness and Aortic Pressure Waveform | url = http://hyper.ahajournals.org/cgi/content/full/38/2/227 | journal = Hypertension | volume = 38 | issue = 2 | pages = 227–231 | pmid = 11509481 | accessdate access-date= 2008-02-23}}</ref> Excess coffee consumption may lead to a [[magnesium deficiency (medicine)|magnesium deficiency]] or [[hypomagnesaemia]],<ref>{{cite journal | author = Johnson, S. | date = 2001 | title = The multifaceted and widespread pathology of magnesium deficiency | url = http://www.george-eby-research.com/html/wide-mag-deficiency-path.pdf | format = PDF | journal = Medical Hypotheses | volume = 56 |issue = 2 |pages = 163–170 |publisher = Harcourt Publishers Ltd |doi = 10.1054/mehy.2000.1133 | pmid = 11425281 |accessdate access-date= 2008-02-23}}</ref> and may be a risk factor for [[coronary heart disease]]. Some studies suggest that it may have a mixed effect on [[short-term memory]], by improving it when the information to be recalled is related to the current [[train of thought]], but making it more difficult to recall unrelated information.<ref>{{cite web |author=Lesk, Valerie |date = 2004-07-20 | title = A coffee can make you forgetful | url = http://news.bbc.co.uk/2/hi/health/3909085.stm | publisher = BBC News | accessdate access-date= 2008-02-23}}</ref> About 10% of people with a moderate daily intake (235 mg per day) reported increased depression and anxiety when caffeine was withdrawn,<ref>{{cite journal |author = Smith, A. | year = 2002 | title = Effects of caffeine on human behavior | url = http://www.erowid.org//references/refs_view.php?A=ShowDocPartFrame&ID=6685&DocPartID=6196 | journal = Food and Chemical Toxicology | volume = 40 | issue = 9 | pages = 1243-1255 | doi = 10.1016/S0278-6915(02)00096-0 | pmid = 12204388 | accessdate access-date= 2008-02-23}}</ref> and about 15% of the general population report having stopped caffeine use completely, citing concern about health and unpleasant side effects.<ref>{{cite web | author = Johns Hopkins University School of Medicine |year = 2003| title = Use and Common Sources of Caffeine | url = http://www.caffeinedependence.org/caffeine_dependence.html#sources | work = Information about Caffeine Dependence | accessdate access-date= 2008-02-23 }}</ref> Nevertheless, the mainstream view of medical experts is that drinking three 8-ounce (236 ml) cups of coffee per day (considered average or moderate consumption) does not have significant health risks for adults.<ref>{{cite web | author = Haines, Cynthia Dennison | year = 2007 | title = Caffeine in the diet | url = http://www.nlm.nih.gov/medlineplus/ency/article/002445.htm | work = MedlinePlus Medical Encyclopedia | publisher = The U.S. National Library of Medicine | accessdate access-date= 2008-02-23}}</ref>
 
== References ==
{{reflist}}
</syntaxhighlight>
</source>
</div>
 
Line 185:
 
<div style="margin: 1em; padding: 1em; border:1px solid #999">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption.<ref>{{cite book | last = Kummer | first = Corby | year = 2003 | title = The Joy of Coffee | url = http://books.google.com/books?id=qNLrJqgfg7wC | chapter = Caffeine and Decaf | chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I | publisher = Houghton Mifflin Cookbooks | isbn = 0618302409 | accessdate access-date= 2008-02-23 | pages = 151–170 | ref = DisambiguateKummer}}</ref>
 
Coffee appears to reduce the risk of [[Alzheimer's disease]], [[Parkinson's disease]], [[heart disease]], [[diabetes mellitus type 2]], [[cirrhosis]] of the [[liver]],<ref>{{cite journal | last = Klatsky | first = Arthur L. |author2=Morton, C. |author3=Udaltsova, N. |author4=Friedman, D. | date = 2006 | title = Coffee, Cirrhosis, and Transaminase Enzymes | url = http://archinte.ama-assn.org/cgi/content/full/166/11/1190 | journal = Archives of Internal Medicine | volume = 166 | issue = 11 | pages = 1190–1195 | doi = 10.1001/archinte.166.11.1190 | pmid = 16772246 | accessdate access-date= 2008-02-23}}</ref> and [[gout]]. Some health effects are due to the [[caffeine]] content of coffee, as the benefits are only observed in those who drink caffeinated coffee, while others appear to be due to other components.<ref>{{cite journal | author = Pereira, Mark A. |author2=Parker, D. |author3=Folsom, A.R. | year = 2006 | title = Coffee consumption and risk of type 2 diabetes mellitus: an 11-year prospective study of 28 812 postmenopausal women. | url = http://archinte.ama-assn.org/cgi/content/full/166/12/1311 | journal = Archives of Internal Medicine | volume = 166 | issue = 12 | pages = 1311–1316 | pmid = 16801515 | accessdate access-date= 2008-02-23}}</ref> For example, the [[antioxidant]]s in coffee prevent [[Radical (chemistry)|free radicals]] from causing cell damage.<ref>{{
cite web | last = Bakalar | first = Nicholas | date = 2006-08-15 | title = Coffee as a Health Drink? Studies Find Some Benefits | publisher = New York Times | url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
| accessdate access-date= 2007-07-28 }}</ref>
 
Although caffeine has not been linked to any life-threatening disease, doctors and nurses routinely advise some patients to watch their caffeine intake or to eliminate it altogether.<ref>Op. Cit. {{Harvnb|Kummer|2003|p=152|Ref=DisambiguateKummer}}</ref> Research suggests that drinking caffeinated coffee can cause a temporary increase in the stiffening of arterial walls.<ref>{{cite journal | last = Mahmud | first = A. |author2=Feely, J. | year = 2001 | title = Acute Effect of Caffeine on Arterial Stiffness and Aortic Pressure Waveform | url = http://hyper.ahajournals.org/cgi/content/full/38/2/227 | journal = Hypertension | volume = 38 | issue = 2 | pages = 227–231 | pmid = 11509481 | accessdate access-date= 2008-02-23}}</ref> Excess coffee consumption may lead to a [[magnesium deficiency (medicine)|magnesium deficiency]] or [[hypomagnesaemia]],<ref>{{cite journal | author = Johnson, S. | date = 2001 | title = The multifaceted and widespread pathology of magnesium deficiency | url = http://www.george-eby-research.com/html/wide-mag-deficiency-path.pdf | format = PDF | journal = Medical Hypotheses | volume = 56 |issue = 2 |pages = 163–170 |publisher = Harcourt Publishers Ltd |doi = 10.1054/mehy.2000.1133 | pmid = 11425281 |accessdate access-date= 2008-02-23}}</ref> and may be a risk factor for [[coronary heart disease]]. Some studies suggest that it may have a mixed effect on [[short-term memory]], by improving it when the information to be recalled is related to the current [[train of thought]], but making it more difficult to recall unrelated information.<ref>{{cite web |author=Lesk, Valerie |date = 2004-07-20 | title = A coffee can make you forgetful | url = http://news.bbc.co.uk/2/hi/health/3909085.stm | publisher = BBC News | accessdate access-date= 2008-02-23}}</ref> About 10% of people with a moderate daily intake (235 mg per day) reported increased depression and anxiety when caffeine was withdrawn,<ref>{{cite journal |author = Smith, A. | year = 2002 | title = Effects of caffeine on human behavior | url = http://www.erowid.org//references/refs_view.php?A=ShowDocPartFrame&ID=6685&DocPartID=6196 | journal = Food and Chemical Toxicology | volume = 40 | issue = 9 | pages = 1243-1255 | doi = 10.1016/S0278-6915(02)00096-0 | pmid = 12204388 | accessdate access-date= 2008-02-23}}</ref> and about 15% of the general population report having stopped caffeine use completely, citing concern about health and unpleasant side effects.<ref>{{cite web | author = Johns Hopkins University School of Medicine |year = 2003| title = Use and Common Sources of Caffeine | url = http://www.caffeinedependence.org/caffeine_dependence.html#sources | work = Information about Caffeine Dependence | accessdate access-date= 2008-02-23 }}</ref> Nevertheless, the mainstream view of medical experts is that drinking three 8-ounce (236 ml) cups of coffee per day (considered average or moderate consumption) does not have significant health risks for adults.<ref>{{cite web | author = Haines, Cynthia Dennison | year = 2007 | title = Caffeine in the diet | url = http://www.nlm.nih.gov/medlineplus/ency/article/002445.htm | work = MedlinePlus Medical Encyclopedia | publisher = The U.S. National Library of Medicine | accessdate access-date= 2008-02-23}}</ref>
 
;References
Line 205:
 
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="xmlwikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption.<ref name=Kummer2003ch8>Kummer 2003.</ref>
 
Line 228:
* Pereira, Mark A.; Parker, D.; Folsom, A.R. (2006), [http://archinte.ama-assn.org/cgi/content/full/166/12/1311 "Coffee consumption and risk of type 2 diabetes mellitus: an 11-year prospective study of 28 812 postmenopausal women."], ''Archives of Internal Medicine'' '''166''' (12): 1311–1316,
{{refend}}
</syntaxhighlight>
</source>
</div>
 
Line 262:
This is an example edit mode representation showing use of shortened notes including wikilinks from the notes to the references written freehand. Note that an editorial choice has been made here to specify the page number range of the cited chapter in the initial "Kummer 2003" Ref, and to specify a specific page number in the second Ref, rather than to re-use a named Ref without specifying page numbers as was done above.
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="xml+smartywikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption.<ref>[[#refKummer2003|Kummer 2003]] pp.151–170.</ref>
 
Line 285:
* {{wikicite |ref=refSmith2002 |reference=Smith, A. (2002), [http://www.erowid.org//references/refs_view.php?A=ShowDocPartFrame&ID=6685&DocPartID=6196 "Effects of caffeine on human behavior"], ''Food and Chemical Toxicology'' '''40''' (9): 1243-1255, doi:10.1016/S0278-6915(02)00096-0, PMID 12204388, retrieved 2008-02-23}}
{{refend}}
</syntaxhighlight>
</source>
</div>
 
Line 291:
This is an example edit mode representation showing use of shortened notes including wikilinks from the notes to the references using citations. The body text is the same as the example above (shortened notes with wikilinks to references written freehand). Note how the citations in the references section do not need to be wrapped in the wikicite template however, as the templates all support the reference anchor parameter.
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="xml+smartywikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption.<ref>[[#refKummer2003|Kummer 2003]] pp.151–170.</ref>
 
Line 311:
|publisher = New York Times
|url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
|accessdate access-date= 2007-07-28
}}
*{{cite web
Line 320:
|url = http://news.bbc.co.uk/2/hi/health/3909085.stm
|publisher = BBC News
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 330:
|work = MedlinePlus Medical Encyclopedia
|publisher = The U.S. National Library of Medicine
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 339:
|url = http://www.caffeinedependence.org/caffeine_dependence.html#sources
|work = Information about Caffeine Dependence
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 355:
|doi = 10.1054/mehy.2000.1133
|pmid = 11425281
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 371:
|doi = 10.1001/archinte.166.11.1190
|pmid = 16772246
|accessdate access-date= 2008-02-23
}}
*{{cite book
Line 380:
|url = http://books.google.com/books?id=qNLrJqgfg7wC
|chapter = Caffeine and Decaf
|chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I
|publisher = Houghton Mifflin Cookbooks
|isbn = 0618302409
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 398:
|pages = 227–231
|pmid = 11509481
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 412:
|pages = 1311–1316
|pmid = 16801515
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 426:
|doi = 10.1016/S0278-6915(02)00096-0
|pmid = 12204388
|accessdate access-date= 2008-02-23
}}
{{refend}}
</syntaxhighlight>
</source>
</div>
 
===={{anchor|harvnb}}{{anchor|sfn}}Shortened notes linked with {{tl|sfn}} and citation templates====
 
This is an example edit mode representation showing use of shortened notes written using {{tl|sfn}} with citation templates.<!--i.e., construed to look similar when viewed on the page. If you're actually IN edit mode it'll look different with the <div> and <pre> tags used to make the construction work--> Templates in the <nowiki>{{Citecite *xxx}}</nowiki> family need to have the parameterand {{codetl|ref{{=}}harvcitation}} addedfamilies to them, which allowsallow linking from {{tl|sfn}} via matching author last names and year (part of date). Overriding ref parameter CITEREF''SurnameYear'' may also be used (e.g. when coauthor names mismatch). When using the generic {{tl|Citation}} template, {{code|ref{{=}}harv}} does not need to be specified, as the {{code|ref}} parameter automatically defaults to {{code|harv}}.
 
A template call like <code><nowiki>{{sfn|Smith|2007|p=25}}</nowiki></code> is equivalent to <code><nowiki><ref>{{harvnb|Smith|20082007|p=25}}.</ref></nowiki></code>, except that it automatically combines identical footnotes. (To get the equivalent effect using the {{tl|harvnb}} construction, you'd need to add matching {{code|name{{=}}}} parameters to the footnotes to be combined.) The longer form can be used if more control is needed.
 
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="xml+smartywikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption.{{sfn|Kummer|2003|pp=151–170}}
 
Line 452:
{{refbegin}}
*{{cite web
|ref = harv
|last = Bakalar
|first = Nicholas
Line 459 ⟶ 458:
|publisher = New York Times
|url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
|accessdate access-date= 2007-07-28
}}
*{{cite web
|ref = harv
|last = Lesk
|first = Valerie
Line 469 ⟶ 467:
|url = http://news.bbc.co.uk/2/hi/health/3909085.stm
|publisher = BBC News
|accessdate access-date= 2008-02-23
}}
*{{cite web
|ref = harv
|last = Haines
|first = Cynthia Dennison
Line 480 ⟶ 477:
|work = MedlinePlus Medical Encyclopedia
|publisher = The U.S. National Library of Medicine
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 489 ⟶ 486:
|url = http://www.caffeinedependence.org/caffeine_dependence.html#sources
|work = Information about Caffeine Dependence
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Johnson
|first = S.
Line 506 ⟶ 502:
|doi = 10.1054/mehy.2000.1133
|pmid = 11425281
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Klatsky
|first = Arthur L.
Line 522 ⟶ 517:
|doi = 10.1001/archinte.166.11.1190
|pmid = 16772246
|accessdate access-date= 2008-02-23
}}
*{{cite book
|ref = harv
|last = Kummer
|first = Corby
Line 532 ⟶ 526:
|url = http://books.google.com/books?id=qNLrJqgfg7wC
|chapter = Caffeine and Decaf
|chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I
|publisher = Houghton Mifflin Cookbooks
|isbn = 0618302409
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Mahmud
|first = A.
Line 551 ⟶ 544:
|pages = 227–231
|pmid = 11509481
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Pereira
|first = Mark A.
Line 569 ⟶ 561:
|pages = 1311–1316
|pmid = 16801515
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Smith
|first = A.
Line 584 ⟶ 575:
|doi = 10.1016/S0278-6915(02)00096-0
|pmid = 12204388
|accessdate access-date= 2008-02-23
}}
{{refend}}
</syntaxhighlight>
</source>
</div>
 
Line 608 ⟶ 599:
{{refbegin}}
*{{cite web
|ref = harv
|last = Bakalar
|first = Nicholas
Line 615 ⟶ 605:
|publisher = New York Times
|url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
|accessdate access-date= 2007-07-28
}}
*{{cite web
|ref = harv
|last = Lesk
|first = Valerie
Line 625 ⟶ 614:
|url = http://news.bbc.co.uk/2/hi/health/3909085.stm
|publisher = BBC News
|accessdate access-date= 2008-02-23
}}
*{{cite web
|ref = harv
|last = Haines
|first = Cynthia Dennison
Line 636 ⟶ 624:
|work = MedlinePlus Medical Encyclopedia
|publisher = The U.S. National Library of Medicine
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 645 ⟶ 633:
|url = http://www.caffeinedependence.org/caffeine_dependence.html#sources
|work = Information about Caffeine Dependence
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Johnson
|first = S.
Line 662 ⟶ 649:
|doi = 10.1054/mehy.2000.1133
|pmid = 11425281
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Klatsky
|first = Arthur L.
Line 678 ⟶ 664:
|doi = 10.1001/archinte.166.11.1190
|pmid = 16772246
|accessdate access-date= 2008-02-23
}}
*{{cite book
|ref = harv
|last = Kummer
|first = Corby
Line 688 ⟶ 673:
|url = http://books.google.com/books?id=qNLrJqgfg7wC
|chapter = Caffeine and Decaf
|chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I
|publisher = Houghton Mifflin Cookbooks
|isbn = 0618302409
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Mahmud
|first = A.
Line 707 ⟶ 691:
|pages = 227–231
|pmid = 11509481
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Pereira
|first = Mark A.
Line 725 ⟶ 708:
|pages = 1311–1316
|pmid = 16801515
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Smith
|first = A.
Line 740 ⟶ 722:
|doi = 10.1016/S0278-6915(02)00096-0
|pmid = 12204388
|accessdate access-date= 2008-02-23
}}
{{refend}}
Line 753 ⟶ 735:
==Parenthetical references== <!--edit page rather than section if browser misbehaves here-->
 
This style of citation was a type of referencing used on Wikipedia until September 2020, when a [[Special:PermanentLink/976895063#Deprecate parenthetical citations|community discussion]] reached a consensus to [[deprecation|deprecate]] this format of citation.
[[WP:Parenthetical references|Parenthetical references]] are conceptually very much like shortened footnotes, but insert the shortened reference inline into the text rather than in a footnote. The advantages are that the source of the reference is shown more clearly, and getting to the full citation takes only one click rather than two with shortened footnotes (one to reach the shortened footnote, a second to reach the full citation). The disadvantage, though, is that the references clutter up the article text, and for this reason, parenthetical references are not nearly as common as shortened footnotes in Wikipedia articles.
 
Inline [[WP:Parenthetical references|Parentheticalparenthetical references]] are conceptually very much like shortened footnotes, but insert the shortened reference inline into the article body text rather than in a footnote. The advantages are that the source of the reference is shown more clearly, and getting to the full citation takes only one click rather than two with shortened footnotes (one to reach the shortened footnote, a second to reach the full citation). The disadvantage, though, is that the references clutter up the article text, and for this reason, parenthetical references are not nearly as common as shortened footnotes in Wikipedia articles.
 
===Parenthetical references with references written freehand===
This is an example edit mode representation showing use of inline parenthetical references, written freehand. Done this way, there is no linking from the references to the citation, so the user has to manually scroll down to find the citation.
 
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="trac-wikiwikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption (Kummer 2003, pp. 151–170).
 
Line 779 ⟶ 763:
* Pereira, Mark A.; Parker, D.; Folsom, A.R. (2006), [http://archinte.ama-assn.org/cgi/content/full/166/12/1311 "Coffee consumption and risk of type 2 diabetes mellitus: an 11-year prospective study of 28 812 postmenopausal women."], ''Archives of Internal Medicine'' '''166''' (12): 1311–1316,
{{refend}}
</syntaxhighlight>
</source>
</div>
 
Line 808 ⟶ 792:
===Parenthetical references with wikilinks===
====Parenthetical references with wikilinks to references written freehand====
This is an example edit mode representation showing use of inline parenthetical references including wikilinks from the notes to the references written freehand. <div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="moinwikitext" style="border: none; background:white; margin: 0; padding:0; line-height: 130%; word-wrap: break-word;
white-space: -moz-pre-wrap;
white-space: -o-pre-wrap;
Line 833 ⟶ 817:
* {{wikicite |ref=refSmith2002 |reference=Smith, A. (2002), [http://www.erowid.org//references/refs_view.php?A=ShowDocPartFrame&ID=6685&DocPartID=6196 "Effects of caffeine on human behavior"], ''Food and Chemical Toxicology'' '''40''' (9): 1243-1255, doi:10.1016/S0278-6915(02)00096-0, PMID 12204388, retrieved 2008-02-23}}
{{refend}}
</syntaxhighlight>
</source>
</div>
 
====Parenthetical references with wikilinks using citation templates====
This is an example edit mode representation showing use of inline parenthetical references including wikilinks from the notes to the references using citations. The body text is the same as the example above (parenthetical references with wikilinks to references written freehand). Note how the citations in the references section do not need to be wrapped in the wikicite template however, as the templates all support the reference anchor parameter.
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="xml+smartywikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption ([[#refKummer2003|Kummer 2003]], pp.151–170).
 
Line 856 ⟶ 840:
|publisher = New York Times
|url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
|accessdate access-date= 2007-07-28
}}
*{{cite web
Line 865 ⟶ 849:
|url = http://news.bbc.co.uk/2/hi/health/3909085.stm
|publisher = BBC News
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 875 ⟶ 859:
|work = MedlinePlus Medical Encyclopedia
|publisher = The U.S. National Library of Medicine
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 884 ⟶ 868:
|url = http://www.caffeinedependence.org/caffeine_dependence.html#sources
|work = Information about Caffeine Dependence
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 900 ⟶ 884:
|doi = 10.1054/mehy.2000.1133
|pmid = 11425281
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 916 ⟶ 900:
|doi = 10.1001/archinte.166.11.1190
|pmid = 16772246
|accessdate access-date= 2008-02-23
}}
*{{cite book
Line 925 ⟶ 909:
|url = http://books.google.com/books?id=qNLrJqgfg7wC
|chapter = Caffeine and Decaf
|chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I
|publisher = Houghton Mifflin Cookbooks
|isbn = 0618302409
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 943 ⟶ 927:
|pages = 227–231
|pmid = 11509481
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 957 ⟶ 941:
|pages = 1311–1316
|pmid = 16801515
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 971 ⟶ 955:
|doi = 10.1016/S0278-6915(02)00096-0
|pmid = 12204388
|accessdate access-date= 2008-02-23
}}
{{refend}}
</syntaxhighlight>
</source>
</div>
 
===={{anchor|harv}}Parenthetical references linked with {{tl|harv}} and citation templates====
 
This is an example edit mode representation showing use of inline parenthetical references written using {{tl|harv}} with citation templates.<!--i.e. construed to look similar when viewed on the page. If you're actually IN edit mode it'll look different with the <div> and <pre> tags used to make the construction work--> Templates in the <nowiki>{{Citecite *xxx}}</nowiki> family need to have the parameterand {{codetl|ref{{=citation}}harv}} added to them, whichfamilies allowsallow linking from {{tl|harv}} via matching author last names and year (part of date). Overriding ref parameter CITEREF''SurnameYear'' may also be used (e.g. when coauthor names mismatch). When using the generic {{tl|Citation}} template, {{code|ref{{=}}harv}} does not need to be specified, as the {{code|ref}} parameter automatically defaults to {{code|harv}}.
 
Alternatives to {{tl|harv}} are:
Line 987 ⟶ 971:
 
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
<sourcesyntaxhighlight lang="xml+smartywikitext">
Scientific studies have examined the relationship between coffee consumption and an array of medical conditions. Findings are contradictory as to whether coffee has any specific health benefits, and results are similarly conflicting regarding negative effects of coffee consumption {{harv|Kummer|2003|pp=151–170}}.
 
Line 997 ⟶ 981:
{{refbegin}}
*{{cite web
|ref = harv
|last = Bakalar
|first = Nicholas
Line 1,004 ⟶ 987:
|publisher = New York Times
|url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
|accessdate access-date= 2007-07-28
}}
*{{cite web
|ref = harv
|last = Lesk
|first = Valerie
Line 1,014 ⟶ 996:
|url = http://news.bbc.co.uk/2/hi/health/3909085.stm
|publisher = BBC News
|accessdate access-date= 2008-02-23
}}
*{{cite web
|ref = harv
|last = Haines
|first = Cynthia Dennison
Line 1,025 ⟶ 1,006:
|work = MedlinePlus Medical Encyclopedia
|publisher = The U.S. National Library of Medicine
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 1,034 ⟶ 1,015:
|url = http://www.caffeinedependence.org/caffeine_dependence.html#sources
|work = Information about Caffeine Dependence
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Johnson
|first = S.
Line 1,051 ⟶ 1,031:
|doi = 10.1054/mehy.2000.1133
|pmid = 11425281
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Klatsky
|first = Arthur L.
Line 1,067 ⟶ 1,046:
|doi = 10.1001/archinte.166.11.1190
|pmid = 16772246
|accessdate access-date= 2008-02-23
}}
*{{cite book
|ref = harv
|last = Kummer
|first = Corby
Line 1,077 ⟶ 1,055:
|url = http://books.google.com/books?id=qNLrJqgfg7wC
|chapter = Caffeine and Decaf
|chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I
|publisher = Houghton Mifflin Cookbooks
|isbn = 0618302409
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Mahmud
|first = A.
Line 1,096 ⟶ 1,073:
|pages = 227–231
|pmid = 11509481
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Pereira
|first = Mark A.
Line 1,114 ⟶ 1,090:
|pages = 1311–1316
|pmid = 16801515
|accessdate access-date= 2008-02-23
}}
*{{cite journal
|ref = harv
|last = Smith
|first = A.
Line 1,129 ⟶ 1,104:
|doi = 10.1016/S0278-6915(02)00096-0
|pmid = 12204388
|accessdate access-date= 2008-02-23
}}
{{refend}}
</syntaxhighlight>
</source>
</div>
 
Line 1,157 ⟶ 1,132:
|publisher = New York Times
|url = http://www.nytimes.com/2006/08/15/health/nutrition/15coff.html?ex=1313294400&en=d420f19ee1c77365&ei=5088&partner=rssnyt&emc=rss
|accessdate access-date= 2007-07-28
}}
*{{cite web
Line 1,166 ⟶ 1,141:
|url = http://news.bbc.co.uk/2/hi/health/3909085.stm
|publisher = BBC News
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 1,176 ⟶ 1,151:
|work = MedlinePlus Medical Encyclopedia
|publisher = The U.S. National Library of Medicine
|accessdate access-date= 2008-02-23
}}
*{{cite web
Line 1,185 ⟶ 1,160:
|url = http://www.caffeinedependence.org/caffeine_dependence.html#sources
|work = Information about Caffeine Dependence
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 1,201 ⟶ 1,176:
|doi = 10.1054/mehy.2000.1133
|pmid = 11425281
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 1,217 ⟶ 1,192:
|doi = 10.1001/archinte.166.11.1190
|pmid = 16772246
|accessdate access-date= 2008-02-23
}}
*{{cite book
Line 1,226 ⟶ 1,201:
|url = http://books.google.com/books?id=qNLrJqgfg7wC
|chapter = Caffeine and Decaf
|chapterurl chapter-url= http://books.google.com/books?id=qNLrJqgfg7wC&pg=PA151&sig=zL7_XqPYPeBVq8vs3ukYFuwjn2I
|publisher = Houghton Mifflin Cookbooks
|isbn = 0618302409
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 1,244 ⟶ 1,219:
|pages = 227–231
|pmid = 11509481
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 1,258 ⟶ 1,233:
|pages = 1311–1316
|pmid = 16801515
|accessdate access-date= 2008-02-23
}}
*{{cite journal
Line 1,272 ⟶ 1,247:
|doi = 10.1016/S0278-6915(02)00096-0
|pmid = 12204388
|accessdate access-date= 2008-02-23
}}
{{refend}}