Wikipedia:Citing sources/Example edits for different methods: Difference between revisions
Content deleted Content added
→Rendering for parenthetical references with wikilinks: no notes, so get rid of section |
lots of cleanups |
||
Line 622:
</div>
All three of the above shortened notes with wikilinks examples would render exactly the same.
'''Rendering:'''<!--This rendering is produced by copying the content for the
<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.
Coffee appears to reduce the risk of [[Alzheimer's disease]], [[Parkinson's disease]], [[heart disease]], [[diabetes mellitus type 2]], [[cirrhosis]] of the [[liver]],
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.
{{Fake heading|Notes}}
Line 776:
==Parenthetical references== <!--edit page rather than section if browser misbehaves here-->
[[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.
===Parenthetical references with references written freehand===
Line 816:
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 (Kummer 2003, p. 152). Research suggests that drinking caffeinated coffee can cause a temporary increase in the stiffening of arterial walls (Mahmud 2001). Excess coffee consumption may lead to a [[magnesium deficiency (medicine)|magnesium deficiency]] or [[hypomagnesaemia]] (Johnson 2001) and may be a risk factor for [[Coronary_heart_disease|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 (BBC 2004). About 10% of people with a moderate daily intake (235 mg per day) reported increased depression and anxiety when caffeine was withdrawn (Smith 2002), and about 15% of the general population report having stopped caffeine use completely, citing concern about health and unpleasant side effects (Johns Hopkins 2003). 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 (Haines 2007).
{{Fake heading|References}}
Line 849 ⟶ 846:
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 ([[#refKummer2003|Kummer 2003]], p.152). Research suggests that drinking caffeinated coffee can cause a temporary increase in the stiffening of arterial walls ([[#refMahmud2001|Mahmud 2001]]). Excess coffee consumption may lead to a [[magnesium deficiency (medicine)|magnesium deficiency]] or [[hypomagnesaemia]] ([[#refJohnson2001|Johnson 2001]]), and may be a risk factor for [[Coronary_heart_disease|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 ([[#refBBC2004|BBC 2004]]). About 10% of people with a moderate daily intake (235 mg per day) reported increased depression and anxiety when caffeine was withdrawn ([[#refSmith2002|Smith 2002]]), and about 15% of the general population report having stopped caffeine use completely, citing concern about health and unpleasant side effects ([[#refJohnsHopkins2003|Johns Hopkins 2003]]). 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 ([[#refHaines2007|Haines 2007]]).
== References ==
Line 882 ⟶ 876:
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 ([[#refKummer2003|Kummer 2003]], p.152). Research suggests that drinking caffeinated coffee can cause a temporary increase in the stiffening of arterial walls ([[#refMahmud2001|Mahmud 2001]]). Excess coffee consumption may lead to a [[magnesium deficiency (medicine)|magnesium deficiency]] or [[hypomagnesaemia]] ([[#refJohnson2001|Johnson 2001]]), and may be a risk factor for [[Coronary_heart_disease|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 ([[#refBBC2004|BBC 2004]]). About 10% of people with a moderate daily intake (235 mg per day) reported increased depression and anxiety when caffeine was withdrawn ([[#refSmith2002|Smith 2002]]), and about 15% of the general population report having stopped caffeine use completely, citing concern about health and unpleasant side effects ([[#refJohnsHopkins2003|Johns Hopkins 2003]]). 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 ([[#refHaines2007|Haines 2007]]).
== References ==
Line 1,018 ⟶ 1,009:
</div>
===={{anchor|
This is an example edit mode representation showing use of 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>{{Cite *}}</nowiki> family need to have the parameter {{code|ref{{=}}harv}} added to them, which allows 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:
*Template {{tl|harvnb}} omits the parentheses ("brackets") and can be used to [[WP:CITE#Bundling citations|bundle citations]] together inside a single surrounding pair of parens.
*Template {{tl|harvtxt}} moves the last name outside of the parens ("brackets") and is useful when you want to use the author name as the subject or object of a phrase, e.g. "According to Smith (2009, p. 25), …".
*Templates {{tl|harvcol}}, {{tl|harvcolnb}} and {{tl|harvcoltxt}} are similar but use a colon to separate the page number instead of an abbreviation like "p.". Hence, the output of {{tl|harvcoltxt}} would look something like "According to Smith (2009:25), …".
<div style="height: 400px; overflow:auto; border: 1px solid DarkSeaGreen; background:white; margin: 1em; padding: 4px">
Line 1,032 ⟶ 1,026:
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}}.
Coffee appears to reduce the risk of [[Alzheimer's disease]], [[Parkinson's disease]], [[heart disease]], [[diabetes mellitus type 2]], [[cirrhosis]] of the [[liver]] {{harv|Klatsky|2006}}, 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
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 {{harv|Kummer|2003|p=152}}. Research suggests that drinking caffeinated coffee can cause a temporary increase in the stiffening of arterial walls {{harv|Mahmud|Feely|2001}}. Excess coffee consumption may lead to a [[magnesium deficiency (medicine)|magnesium deficiency]] or [[hypomagnesaemia]] {{harv|Johnson|2001}}, and may be a risk factor for [[Coronary_heart_disease|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 {{harv|Lesk|2004}}. About 10% of people with a moderate daily intake (235 mg per day) reported increased depression and anxiety when caffeine was withdrawn {{harv|Smith|2002}}, and about 15% of the general population report having stopped caffeine use completely, citing concern about health and unpleasant side effects {{harv|Johns Hopkins|2003}}. 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 {{harv|Haines|2007}}.
== References ==
Line 1,180 ⟶ 1,171:
</div>
All three of the above parenthetical references with
'''Rendering:'''<!--This rendering is produced by copying the content for the
<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 {{harv|Kummer|2003|pp=151–170}}.
Coffee appears to reduce the risk of [[Alzheimer's disease]], [[Parkinson's disease]], [[heart disease]], [[diabetes mellitus type 2]], [[cirrhosis]] of the [[liver]] {{harv|Klatsky|2006}}, 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
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 {{harv|Kummer|2003|p=152}}. Research suggests that drinking caffeinated coffee can cause a temporary increase in the stiffening of arterial walls {{harv|Mahmud|Feely|2001}}. Excess coffee consumption may lead to a [[magnesium deficiency (medicine)|magnesium deficiency]] or [[hypomagnesaemia]] {{harv|Johnson|2001}}, and may be a risk factor for [[Coronary_heart_disease|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 {{harv|Lesk|2004}}. About 10% of people with a moderate daily intake (235 mg per day) reported increased depression and anxiety when caffeine was withdrawn {{harv|Smith|2002}}, and about 15% of the general population report having stopped caffeine use completely, citing concern about health and unpleasant side effects {{harv|Johns Hopkins|2003}}. 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 {{harv|Haines|2007}}.
{{Fake heading|References}}
|