Difference between revisions of "Template:Bibcode/doc"

From blackwiki
Jump to navigation Jump to search
imported>CitationCleanerBot
m (Cleanup, Report bugs, errors, and suggestions at User talk:CitationCleanerBot.)
imported>Headbomb
m (Reverted edits by CitationCleanerBot (talk) to last version by Trappist the monk)
Line 34: Line 34:
  
 
<includeonly>
 
<includeonly>
 
==References==
 
{{Reflist}}
 
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
 
[[Category:Astronomy external link templates|{{PAGENAME}}]]
 
[[Category:Astronomy external link templates|{{PAGENAME}}]]

Revision as of 15:33, 4 March 2017

This template is intended to allow simple standardized links to bibcodes. For example, {{bibcode|1998ApJ...508L..81K}} will produce Bibcode:1998ApJ...508L..81KTemplate:Only in print external link.

Syntax

{{bibcode|place_bibcode_id_number_here}}

Example

{{bibcode|1998ApJ...508L..81K}}

Bibcode:1998ApJ...508L..81KTemplate:Only in print

Error messages

The Bibcode template checks the bibcode value to see it has the proper format.[1] When the assigned value does have the proper format, the template returns an error message along with the type of error that is encountered:

Check bibcode: <type>

Bibcode template values are expected to match these requirements:

length must be 19 characters (<type> = 'length')
characters in position(s): (except as specified otherwise, violations produce 'value' in the <type> portion of the error message):
1–4 must be digits and must represent a year in the range of 1000 – next year (<type> = 'year')
5 must be a letter
6–8 must be letter, ampersand, or dot (ampersand cannot directly precede a dot; &. (<type> = 'journal'))
9 must be letter or dot
10–18 must be letter, digit, or dot
19 must be a letter or dot

To resolve this error, ensure that the assigned bibcode value is correct.

See also

  1. "1.2.3 - Bibliographic Identifiers". The SAO/NASA Astrophysics Data System.