Difference between revisions of "Template:Citation Style documentation/coins"

From Timelines
Jump to: navigation, search
(fx fmt)
(Add list of parameters that are included in the COinS metadata;)
Line 1: Line 1:
This template embeds [[COinS]] metadata in the HTML output, allowing [[reference management software]] to retrieve bibliographic metadata. See: [[Wikipedia:COinS]].
+
This template embeds [[COinS]] metadata in the HTML output, allowing [[reference management software]] to retrieve bibliographic metadata. See: [[Wikipedia:COinS]]. As a general rule, only one data item per parameter. Do not include explanatory or alternate text:  
*As a general rule, only one data item per parameter
+
* Use {{xt|{{para|date|27 September 2007}}}} not {{!xt|{{para|date|27 September 2007 (print version 25 September)}}}}
*Do not include explanatory or alternate text:  
+
 
** Use {{xt|{{para|date|27 September 2007}}}} not {{!xt|{{para|date|27 September 2007 (print version 25 September)}}}}
+
Use of templates within the citation template, is generally discouraged as many of these templates will add a lot of extraneous HTML or CSS that will be rendered in the metadata.
*Be careful using templates within the citation template, as many will add a lot of extraneous HTML or CSS that will be rendered in the meta-data.
+
 
**Known templates that should not be used: {{tl|smallcaps}} and {{tl|lang}}.
+
COinS metadata is created for these parameters:
 +
*{{para|periodical}}, {{para|journal}}, {{para|newspaper}}, {{para|magazine}}, {{para|work}}, {{para|website}}, {{para|encyclopedia}}, {{para|encyclopaedia}}, {{para|dictionary}}
 +
*{{para|chapter}}, {{para|contribution}}, {{para|entry}}, {{para|article}}, {{para|section}}
 +
*{{para|title}}
 +
*{{para|publicationplace}}, {{para|publication-place}}
 +
*{{para|date}}, {{para|year}}, {{para|publicationdate}}, {{para|publication-date}}
 +
*{{para|series}}
 +
*{{para|volume}}
 +
*{{para|issue}}, {{para|number}}
 +
*{{para|page}}, {{para|pages}}, {{para|at}}
 +
*{{para|edition}}
 +
*{{para|publisher}}, {{para|distributor}}, {{para|institution}}
 +
*{{para|url}}
 +
*{{para|chapterurl}}, {{para|chapter-url}}, {{para|contributionurl}}, {{para|contribution-url}}, {{para|sectionurl}}
 +
*{{para|author#}}, {{para|Author#}}, {{para|authors#}}, {{para|author#-last}}, {{para|author-last#}}, {{para|last#}}, {{para|surname#}}
 +
*any of the identifiers ({{para|isbn}}, {{para|issn}}, {{para|doi}}, {{para|pmc}}, etc)

Revision as of 08:53, 3 November 2013

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata. See: Wikipedia:COinS. As a general rule, only one data item per parameter. Do not include explanatory or alternate text:

  • Use |date=27 September 2007 not |date=27 September 2007 (print version 25 September)

Use of templates within the citation template, is generally discouraged as many of these templates will add a lot of extraneous HTML or CSS that will be rendered in the metadata.

COinS metadata is created for these parameters:

  • |periodical=, |journal=, |newspaper=, |magazine=, |work=, |website=, |encyclopedia=, |encyclopaedia=, |dictionary=
  • |chapter=, |contribution=, |entry=, |article=, |section=
  • |title=
  • |publicationplace=, |publication-place=
  • |date=, |year=, |publicationdate=, |publication-date=
  • |series=
  • |volume=
  • |issue=, |number=
  • |page=, |pages=, |at=
  • |edition=
  • |publisher=, |distributor=, |institution=
  • |url=
  • |chapterurl=, |chapter-url=, |contributionurl=, |contribution-url=, |sectionurl=
  • |author#=, |Author#=, |authors#=, |author#-last=, |author-last#=, |last#=, |surname#=
  • any of the identifiers (|isbn=, |issn=, |doi=, |pmc=, etc)