Difference between revisions of "Template:Identifier"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
( )
imported>Headbomb
(ce4)
Line 3: Line 3:
 
     |free={{#ifeq:{{{allow-free|}}}|yes| [[File:Lock-green.svg|9px|link=|A free version of this source can be accessed here]]}}
 
     |free={{#ifeq:{{{allow-free|}}}|yes| [[File:Lock-green.svg|9px|link=|A free version of this source can be accessed here]]}}
 
     |registration={{##ifeq:{{{allow-registration|}}}|yes| [[File:Lock-yellow.svg|9px|link=|A (free) registration is required to access this source]]}}
 
     |registration={{##ifeq:{{{allow-registration|}}}|yes| [[File:Lock-yellow.svg|9px|link=|A (free) registration is required to access this source]]}}
     |trial|limited={{##ifeq:{{{allow-limited|}}}{{{allow-trial|}}}|yes| [[File:Lock-yellow.svg|9px|link=|A free access is provided on a limited trial basis, but a subscription is normally required to access this source]]}}
+
     |limited={{##ifeq:{{{allow-limited|}}}|yes| [[File:Lock-yellow.svg|9px|link=|A free access is provided on a limited trial basis, but a subscription is normally required to access this source]]}}
 
     |subscription={{##ifeq:{{{allow-subscription|}}}|yes| [[File:Lock-red.svg|9px|link=|A (paid) subscription is required to access this source]]}}
 
     |subscription={{##ifeq:{{{allow-subscription|}}}|yes| [[File:Lock-red.svg|9px|link=|A (paid) subscription is required to access this source]]}}
 
     |
 
     |
Line 12: Line 12:
 
     |free={{#ifeq:{{{allow-free|}}}|yes| [[File:Lock-green.svg|9px]]}}
 
     |free={{#ifeq:{{{allow-free|}}}|yes| [[File:Lock-green.svg|9px]]}}
 
     |registration={{#ifeq:{{{allow-registration|}}}|yes| [[File:Lock-yellow.svg|9px]]}}
 
     |registration={{#ifeq:{{{allow-registration|}}}|yes| [[File:Lock-yellow.svg|9px]]}}
     |limited|trial={{#ifeq:{{{allow-limited|}}}{{{allow-trial|}}}|yes| [[File:Lock-yellow.svg|9px]]}}
+
     |limited={{#ifeq:{{{allow-limited|}}}|yes| [[File:Lock-yellow.svg|9px]]}}
 
     |subscription={{#ifeq:{{{allow-subscription|}}}|yes| [[File:Lock-red.svg|9px]]}}
 
     |subscription={{#ifeq:{{{allow-subscription|}}}|yes| [[File:Lock-red.svg|9px]]}}
 
     |
 
     |

Revision as of 22:12, 25 September 2016

[[{{{link}}}|{{{display}}}]]{{{separator}}}[{{{base-url-start}}}%7B%7B%7Bid%7D%7D%7D {{{id}}}]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