Template:Identifier

From blackwiki
Revision as of 14:20, 24 September 2016 by imported>Headbomb (test)
Jump to navigation Jump to search

[[{{{link}}}|{{{display}}}]]{{{separator}}}[{{{base-url-start}}}%7B%7B%7Bid%7D%7D%7D {{{id}}}]{{#switch|

   |{{#if||yes|free=A free version of this source can be accessed here}}
   |{{#if||yes|registration=A (free) registration is required to access this source}}
   |{{#if||yes|limited=A free access is provided on a limited trial basis, but a subscription is normally required to access this source}}
   |{{#if||yes|trial=A free access is provided on a limited trial basis, but a subscription is normally required to access this source}}
   |{{#if||yes|subscription=A (paid) subscription is required to access this source}}
  }}Template:Only in print
50px Template documentation[view] [edit] [history] [purge]

Usage

This a meta template for identifiers.

arxiv

to do

bibcode
{{Identifier
 |link=bibcode (identifier)
 |display=Bibcode
 |separator=: 
 |id={{{1}}}
 |base-url-start=http://adsabs.harvard.edu/abs/
 |access-parameter={{{bibcode-access}}}
 |allow-free=yes
 |allow-registration=no
 |allow-limited=no
 |allow-subscription=no
}}

Gives

doi
{{Identifier
 |link=doi (identifier)
 |display=doi
 |separator=:
 |id={{{1}}}
 |base-url-start=https://doi.org/
 |access-type={{{doi-access}}}
 |allow-free=yes
 |allow-registration=yes
 |allow-limited=yes
 |allow-subscription=no
}}

Gives

See also