• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Bibcode

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:check bibcode

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

Contents

  • 1 Syntax
  • 2 Example
  • 3 Error messages
  • 4 See also

Syntax

{{bibcode|place_bibcode_id_number_here}}

Example

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

Bibcode:1998ApJ...508L..81K

Error messages

The Bibcode template checks the bibcode value to see if it has the proper format.[1] When the assigned value does not 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.

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

See also

  • Wikipedia:PMID
  • Wikipedia:ISBN
  • Wikipedia:ISSN
  • Wikipedia:Digital Object Identifier
  • Template:doi
  • Template:doi-inline

es:Plantilla:Bibcode id:Templat:Bibcode ja:Template:Bibcode sl:Predloga:Bibcode

The above documentation is transcluded from Template:Bibcode/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Bibcode&oldid=6201"
Categories:
  • Lua-based templates
  • Catalog lookup templates
  • Astronomy external link templates
Last edited on 8 June 2021, at 18:19

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 8 June 2021, at 18:19.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop