Template:Access
Appearance
Use {{Access}}
to produce an icon indicating whether or not a source linked through an identifier such as {{Doi}}
, {{JSTOR}}
, {{Hdl}}
, {{ResearchGate Publication}}
(aka {{ResGate}}
) etc. is directly readable. Do not use it after a direct link as such links are presumed to be accessible in the first place and if not, should be labelled accordingly with, e.g. "Abstract" instead of "PDF", "Online" or "Full issue".
Usage
The template takes two positional parameters; the first indicates which access policy to generate an image for, and the second indicates the display size of the generated image.
|1=
: One ofopen
,closed
,green
orhybrid
. Each will generate an icon suitable to indicate the associated access policy. The default isopen
.|2=
: The desired vertical size for the generated icon in any format that is valid for specifying height in the[[File:…]]
wikimarkup (see en:Help:Images for details). Sizes smaller than 12 pixels is not recommended as the relevant logos become increasingly hard to distinguish at smaller sizes. It is however recommended to always specify the size to guard against future changes to the default size. Defaults to size18px
.
The "lock icon" image is not linked but has a suitable alternative mouseover-text set for non-visual user agents.
Examples
Example | Code | Result | Meaning |
---|---|---|---|
Default | {{Access}} |
Open access | |
open | {{Access|open}} |
Open access | |
closed | {{Access|closed}} |
Paywall | |
hybrid | {{Access|hybrid}} |
Free to read, with minor condition (e.g. geographical restriction, or registration required) | |
green | {{Access|green}} |
Open access (legacy alt. color) | |
broken | {{Access|broken}} |
[nonfunctional] | Identifier given at source is nonfunctional Affected templates are categorized to Category:Reference templates with broken identifiers (Related changes) |