Template:Citation Style documentation/coins: Difference between revisions

From RabastorWiki
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
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:
This template embeds [[COinS]] metadata in the HTML output, allowing [[reference management software]] to retrieve bibliographic metadata. {{crossref|See [[Wikipedia:COinS]].}} As a general rule, only one data item per parameter. 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 {{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 discouraged because many of these templates will add extraneous HTML or CSS that will be rendered in the metadata. Also, HTML entities, for example <code>&amp;nbsp;</code>, <code>&amp;ndash;</code>, etc, should not be used in parameters that contribute to the metadata.  Do not include Wiki markup <code><nowiki>''</nowiki></code> (italic font) or <code><nowiki>'''</nowiki></code> (bold font) because these markup characters will contaminate the metadata.
Use of templates within the citation template, is discouraged because many of these templates will add extraneous HTML or CSS that will be rendered in the metadata. Also, HTML entities, for example <code>&amp;nbsp;</code>, <code>&amp;ndash;</code>, etc, should not be used in parameters that contribute to the metadata.  Do not include Wiki markup <code><nowiki>''</nowiki></code> (italic font) or <code><nowiki>'''</nowiki></code> (bold font) because these markup characters will contaminate the metadata.


{{hidden begin |title=COinS metadata is created for these parameters |showhide=left}}
;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|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|chapter}}, {{para|contribution}}, {{para|entry}}, {{para|article}}, {{para|section}}
*{{para|title}}
*{{para|title}}
*{{para|publicationplace}}, {{para|publication-place}}, {{para|place}}, {{para|location}}
*{{para|publication-place}}, {{para|publicationplace}}, {{para|place}}, {{para|location}}
*{{para|date}}, {{para|year}}, {{para|publicationdate}}, {{para|publication-date}}
*{{para|date}}, {{para|year}}, {{para|publication-date}}, {{para|publicationdate}}
*{{para|series}}, {{para|version}}
*{{para|series}}, {{para|version}}
*{{para|volume}}
*{{para|volume}}
Line 17: Line 17:
*{{para|publisher}}, {{para|distributor}}, {{para|institution}}
*{{para|publisher}}, {{para|distributor}}, {{para|institution}}
*{{para|url}}
*{{para|url}}
*{{para|chapterurl}}, {{para|chapter-url}}, {{para|contributionurl}}, {{para|contribution-url}}, {{para|sectionurl}}, {{para|section-url}}
*{{para|chapter-url}}, {{para|chapterurl}}, {{para|contribution-url}}, {{para|contributionurl}}, {{para|section-url}}, {{para|sectionurl}}
*{{para|author#}}, {{para|Author#}}, {{para|authors#}}, {{para|author#-last}}, {{para|author-last#}}, {{para|last#}}, {{para|surname#}}
*{{para|author#}}, {{para|author-last#}}, {{para|author#-last}}, {{para|last#}}, {{para|surname#}}
*{{para|"author#-first}}, {{para|author-first#}}, {{para|first#}}, {{para|given#}}
*{{para|author-first#}}, {{para|author#-first}}, {{para|first#}}, {{para|given#}}
*any of the named identifiers ({{para|isbn}}, {{para|issn}}, {{para|doi}}, {{para|pmc}}, etc)
*any of the named identifiers ({{para|isbn}}, {{para|issn}}, {{para|doi}}, {{para|pmc}}, etc)
{{hidden end}}

Latest revision as of 06:57, 7 June 2016

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata. Template:Hatnote-inline 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 discouraged because many of these templates will add extraneous HTML or CSS that will be rendered in the metadata. Also, HTML entities, for example &nbsp;, &ndash;, etc, should not be used in parameters that contribute to the metadata. Do not include Wiki markup '' (italic font) or ''' (bold font) because these markup characters will contaminate the metadata.

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