Template:Cite doi

From LIMSWiki
Jump to navigationJump to search
[edit] [purge] Template documentation

Usage

[1] [2]

Saves you filling out a citation template every time you want to cite a source. If your source has a DOI, just enter {{Cite doi|doi of your source}}. There's no need to subst this template (so long as it matches the format of citations already in the article).

If another LIMSwiki article already uses that reference (via the Cite doi template), it will automatically use the existing information to present the full citation details of the reference in the article. If not, a bot will complete it for you if you click the "jump the queue" link (the bot does not currently autofill the template).

Use like this:

<ref name=Example2006>{{Cite doi|10.1146/annurev.earth.33.092203.122621}}</ref>

To refer to the same reference elsewhere in the same article, use:

<ref name=Example2006/>

Quotes

To include a quote from the reference, just place it inside the ref tags. To include more than one quote, the name parameter must be unique for each ref tag.

<ref name=Example2006a>{{Cite doi|10.1146/annurev.earth.33.092203.122621}} "A sample quote"</ref>[1]
<ref name=Example2006b>{{Cite doi|10.1146/annurev.earth.33.092203.122621}} "Another sample quote"</ref>[2]

Second references for each

<ref name=Example2006a /><ref name=Example2006b />[1][2]

If the quote should appear every time a reference is used, then add a quote parameter to the cite doi template.

Removing the "edit" link

If you want to remove the "edit" link that this template places, add a second parameter with the text "noedit":

<ref name=Example2006c>{{Cite doi|10.1146/annurev.earth.33.092203.122621|noedit}}</ref>[3]

Example references

  1. 1.0 1.1 1.2 Clarke, G. K. C. (2005). "Subglacial processes". Annual Review of Earth and Planetary Sciences 33 (1): 247–276. doi:10.1146/annurev.earth.33.092203.122621.  edit "A sample quote"
  2. 2.0 2.1 2.2 Clarke, G. K. C. (2005). "Subglacial processes". Annual Review of Earth and Planetary Sciences 33 (1): 247–276. doi:10.1146/annurev.earth.33.092203.122621.  edit "Another sample quote"
  3. Clarke, G. K. C. (2005). "Subglacial processes". Annual Review of Earth and Planetary Sciences 33 (1): 247–276. doi:10.1146/annurev.earth.33.092203.122621. 

Formatting

Templates produced via this template need to be formatted consistently so they match the reference formatting of all the articles they are used in. Therefore, they are formatted under the following guidelines. Please do not use the cite doi template in articles whose references are formatted differently. (You could subst: the template and change its formatting in the article, or modify the article to use this mode of formatting if appropriate).

Citation template
Template:Cite journal (or cite book if appropriate)
Author formatting
Smith, A.B.
If possible, use |last1=Smith and |first1=A.B. (not Albert B., Albert Bernard, etc.)
The usual guidelines for wikilinking apply: only use |author1-link= if the link adds value to the citation.
Page number formatting
first and last page numbers written in full; for instance, R100–R101
Dates
If a month or season may help locate a journal article, specify it with the date parameter (e.g. Sept 2009, Winter 1988). Do not specify a day.
Links
The URL should point to (in descending order of preference):
  • Free access to the full text of the article on the publisher's website
  • Free full text on an author's website (if no copyright issues)
  • Free full text on an advert-supported website
  • Free proofs/drafts on an author's personal website (if no copyright issues)
  • Full text available to subscribers (if abstract available to unsubscribers)

Technical overview

The template works by transcluding a template, which is stored as Template:cite doi/anchor_encoded_version_of_DOI. This subpage is filled out by a bot using the {{cite journal}} syntax.

See also

Others