Jump to content

Template:Citation/COinS/doc

From Wikipedia, the free encyclopedia

This template is a "subroutine" of {{Citation/core}} used for generating COinS metadata. It is designed for {{Citation/core}} and makes assumptions that may not be valid elsewhere.

Example: The following Wiki markup:

  • {{cite journal |author=Gross L |title=A broken trust: lessons from the vaccine–autism wars |journal=PLOS Biol |volume=7 |issue=5 |pages=e1000114 |year=2009 |pmid=19478850 |doi=10.1371/journal.pbio.1000114 |url=http://www.plosbiology.org/article/info:doi/10.1371/journal.pbio.1000114 |pmc=2682483 }}

which generates this output:

  • Gross L (2009). "A broken trust: lessons from the vaccine–autism wars". PLOS Biol. 7 (5): e1000114. doi:10.1371/journal.pbio.1000114. PMC 2682483. PMID 19478850.

might eventually invoke {{Citation/COinS}} as follows:

  • {{Citation/COinS |Periodical=PLOS Biol |Title=A broken trust: lessons from the vaccine–autism wars |Surname1=Gross L |Date=2009 |Volume=7 |Issue=5 |At=e1000114 |DOI=10.1371/journal.pbio.1000114 |PMID=19478850 }}

which produces the following HTML:

<span
 class="Z3988"
 title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=A+broken+trust%3A+lessons+from+the+vaccine%E2%80%93autism+wars&rft.jtitle=PLoS+Biol&rft.aulast=Gross+L&rft.au=Gross+L&rft.date=2009&rft.volume=7&rft.issue=5&rft.pages=e1000114&rft_id=info:doi/10.1371%2Fjournal.pbio.1000114&rft_id=info:pmid/19478850&rft_id=http%3A%2F%2Fwww.plosbiology.org%2Farticle%2Finfo%3Adoi%2F10.1371%2Fjournal.pbio.1000114&rfr_id=info:sid/en.wikipedia.org:Template:Citation/COinS/doc"><span style="display: none;">&nbsp;</span></span>

The output HTML is invisible to an ordinary browser but is useful to other tools.