Wikipedia:Citing sources/Example edits for different methods: Difference between revisions
Content deleted Content added
m change source to syntaxhighlight |
→Parenthetical references: noted that inline parenthetical referencing in article body text was deprecated in September 2020 per Special:PermanentLink/976895063#Deprecate parenthetical citations |
||
Line 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|
===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">
Line 790 ⟶ 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">
<syntaxhighlight lang="moin" style="border: none; background:white; margin: 0; padding:0; line-height: 130%; word-wrap: break-word;
white-space: -moz-pre-wrap;
Line 819 ⟶ 821:
====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">
<syntaxhighlight lang="xml+smarty">
Line 961 ⟶ 963:
===={{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 {{cite xxx}} and {{tl|citation}} families allow 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).
Alternatives to {{tl|harv}} are:
|