Template:Bibcode/doc

Wikilinks produced by this template go to Bibcode (identifier) and are listed at Special:WhatLinksHere/Bibcode (identifier).

Template:Bibcode/doc

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.

Usage

This template accepts these parameters:

|idn= – a bibcode identifier; the |idn= parameter name is not required but is recommended for clarity when the template has multiple bibcodes
|bibcode-accessn= – accepts a single value free; for use when the bibcode at |idn= is free-to-read; enumerators required for second and subsequent bibcode identifiers; bibcode identified sources are assumed to be paywall protected
|link= – accepts a single value no; for use when it is the 'Bibcode:' prefix in the rendering should not be linked
|plainlink= – accepts a single value yes; suppresses the 'Bibcode:' prefix in the rendering
|leadout= – defines the conjunction between the last two identifiers in the rendered list; defaults to ,

The basic form is: {{bibcode|place_bibcode_id_number_here}}

Example

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.

Tracking categories

Because this template uses the same code as cs1|2 templates, error and maintenance visibility is controlled the same way. See Help:CS1 errors § Controlling error message display.

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.