Difference between revisions of "Template:Erratum/doc"
imported>Headbomb (→Cleanup category: ==See also== *{{tl|Retracted}}) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories and interwikis go at the bottom of this page. --> | <!-- Categories and interwikis go at the bottom of this page. --> | ||
| + | |||
| + | ==Required parameters== | ||
| + | |||
| + | {{tl|Erratum}} requires an identifier link to the errata: {{para|bibcode}} (for [[bibcode]]s), {{para|doi}} (for [[digital object identifiers|DOI]]s), {{para|pmc}} (for [[PMCID|PMCID]]s), and {{para|pmid}} (for [[PubMed Identifier|PMID]]s) are supported. | ||
| + | |||
| + | Failing that, {{tlx|Erratum|https://...}} is also supported for a [[URL|generic web link]]. | ||
== Usage == | == Usage == | ||
| + | |||
This template is used to mark citations with [[errata]]/[[corrigenda]]. | This template is used to mark citations with [[errata]]/[[corrigenda]]. | ||
Using | Using | ||
| Line 10: | Line 17: | ||
If the errata does not affect the relevant material (e.g. a correction to author names and affiliated, a correction that affects a passage unrelated to the material supported by the citation), then use | If the errata does not affect the relevant material (e.g. a correction to author names and affiliated, a correction that affects a passage unrelated to the material supported by the citation), then use | ||
| − | *<code><nowiki>{{ | + | *<code><nowiki>{{erratum|doi=10.1234/0123456789|checked=yes}}</nowiki></code> |
which gives | which gives | ||
*Smith, J. (2008). "Foobar." ''Journal of Barfoo''. '''5''':12. {{erratum|doi=10.1234/0123456789|checked=yes}} | *Smith, J. (2008). "Foobar." ''Journal of Barfoo''. '''5''':12. {{erratum|doi=10.1234/0123456789|checked=yes}} | ||
If the errata affects the relevant material, then update the article accordingly before marking the erratum as checked. | If the errata affects the relevant material, then update the article accordingly before marking the erratum as checked. | ||
| − | |||
| − | |||
| − | |||
The template works with citation templates too, for example | The template works with citation templates too, for example | ||
<pre> | <pre> | ||
| − | *{{cite journal |last1=Gallouzi |first1=I. E. |last2=Brennan |first2=C. M. |last3=Steitz |first3=J. A. |title=Protein ligands mediate the CRM1-dependent export of HuR in response to heat shock | + | *{{cite journal |last1=Gallouzi |first1=I. E. |last2=Brennan |first2=C. M. |last3=Steitz |first3=J. A. |title=Protein ligands mediate the CRM1-dependent export of HuR in response to heat shock |journal=RNA |date=September 2001 |volume=7 |issue=9 |pages=1348-61 |pmc=1370177 |pmid=11565755}} {{erratum|pmid=14561890|pmc=1287062|checked=yes}}</pre> |
gives | gives | ||
| − | *{{cite journal |last1=Gallouzi |first1=I. E. |last2=Brennan |first2=C. M. |last3=Steitz |first3=J. A. |title=Protein ligands mediate the CRM1-dependent export of HuR in response to heat shock | + | *{{cite journal |last1=Gallouzi |first1=I. E. |last2=Brennan |first2=C. M. |last3=Steitz |first3=J. A. |title=Protein ligands mediate the CRM1-dependent export of HuR in response to heat shock |journal=RNA |date=September 2001 |volume=7 |issue=9 |pages=1348-61 |pmc=1370177 |pmid=11565755}} {{erratum|pmid=14561890|pmc=1287062|checked=yes}} |
| + | |||
Do not use this template in the fields of citation templates such as {{cs1}} and {{cs2}}, as the HTML markup will be rendered in the metadata for that field. | Do not use this template in the fields of citation templates such as {{cs1}} and {{cs2}}, as the HTML markup will be rendered in the metadata for that field. | ||
| − | ==Cleanup | + | ==Cleanup and tracking categories== |
| − | Pages containing this template will be placed in the category [[:Category:Articles citing publications with errata]] | + | |
| + | Pages containing this template will be placed in the category [[:Category:Articles citing publications with errata]]. Pages containing unchecked errata will instead be placed in [[:Category:Articles unintentionally citing publications with errata]]. Ideally this last category should be empty. | ||
==See also== | ==See also== | ||
| Line 34: | Line 40: | ||
{{Inline tags}} | {{Inline tags}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here; interwikis go in Wikidata. --> | <!-- Categories go here; interwikis go in Wikidata. --> | ||
[[Category:Inline citation and verifiability dispute templates]] | [[Category:Inline citation and verifiability dispute templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 01:33, 25 April 2020
| 40px | This is a documentation subpage for Template:Erratum. It contains usage information, categories and other content that is not part of the original template page. |
Required parameters
{{Erratum}} requires an identifier link to the errata: |bibcode= (for bibcodes), |doi= (for DOIs), |pmc= (for PMCIDs), and |pmid= (for PMIDs) are supported.
Failing that, {{Erratum|https://...}} is also supported for a generic web link.
Usage
This template is used to mark citations with errata/corrigenda. Using
Smith, J. (2008). "Foobar." ''Journal of Barfoo''. '''5''':12. {{erratum|doi=10.1234/0123456789}}
gives
- Smith, J. (2008). "Foobar." Journal of Barfoo. 5:12. (Erratum: doi:10.1234/0123456789Template:Only in print. If the erratum has been checked and does not affect the cited material, please replace
{{Erratum|...}}with{{Erratum|...|checked=yes}}.)
If the errata does not affect the relevant material (e.g. a correction to author names and affiliated, a correction that affects a passage unrelated to the material supported by the citation), then use
{{erratum|doi=10.1234/0123456789|checked=yes}}
which gives
- Smith, J. (2008). "Foobar." Journal of Barfoo. 5:12. (Erratum: doi:10.1234/0123456789Template:Only in print)
If the errata affects the relevant material, then update the article accordingly before marking the erratum as checked. The template works with citation templates too, for example
*{{cite journal |last1=Gallouzi |first1=I. E. |last2=Brennan |first2=C. M. |last3=Steitz |first3=J. A. |title=Protein ligands mediate the CRM1-dependent export of HuR in response to heat shock |journal=RNA |date=September 2001 |volume=7 |issue=9 |pages=1348-61 |pmc=1370177 |pmid=11565755}} {{erratum|pmid=14561890|pmc=1287062|checked=yes}}
gives
- Gallouzi, I. E.; Brennan, C. M.; Steitz, J. A. (September 2001). "Protein ligands mediate the CRM1-dependent export of HuR in response to heat shock". RNA. 7 (9): 1348–61. PMC 1370177. PMID 11565755. (Erratum: Template:Pmc,Template:SpTemplate:Pmid)
Do not use this template in the fields of citation templates such as Citation Style 1 and Citation Style 2, as the HTML markup will be rendered in the metadata for that field.
Cleanup and tracking categories
Pages containing this template will be placed in the category Category:Articles citing publications with errata. Pages containing unchecked errata will instead be placed in Category:Articles unintentionally citing publications with errata. Ideally this last category should be empty.
See also
- {{Retracted}}