Template:Citation Style documentation/registration: Difference between revisions

From All Skies Encyclopaedia
imported>Matthiaspaul
imported>Beland
(→‎Access indicators for url-holding parameters: delete long HTML comment but define the keyword values (which the deleted comment was doing). Add an example since I had trouble figuring out how to use this.)
Line 13: Line 13:


=====Access indicators for url-holding parameters=====
=====Access indicators for url-holding parameters=====
<!-- ====Access level of url-holding parameters==== -->
<!--
There are several url-holding parameters. Each may be marked with an access icon. Links inserted with any of the url-holding parameters are expected to be free-to-read by default, so {{para|url-access|free}} is not valid. For a URL that is not free-to-read, editors may use the matching access-icon parameter with the appropriate keyword.


{| class=wikitable
|+url-holding parameter access icons
! url parameter !! access icon parameter !! supported keywords
|-
| {{para|url}} || {{para|url-access}} ||rowspan=7|{{plainlist|
* <code>subscription</code> – [[File:Lock-red-alt-2.svg|9px|link=|alt=Paid subscription required|Paid subscription required]] – the source is only accessible via a paid subscription
* <code>registration</code> – [[File:Lock-gray-alt-2.svg|9px|link=|alt=Free registration required|Free registration required]] – a free registration is required to access the source
* <code>limited</code> – [[File:Lock-gray-alt-2.svg|9px|link=|alt=Free access subject to limited trial, subscription normally required|Free access subject to limited trial, subscription normally required]] – there are other constraints (such as a cap on daily views) to freely access this source}}
|-
| {{para|article-url}} || {{para|article-url-access}}
|-
| {{para|chapter-url}} || {{para|section-url-access}}
|-
| {{para|contribution-url}} || {{para|section-url-access}}
|-
| {{para|entry-url}} || {{para|section-url-access}}
|-
| {{para|map-url}} || {{para|section-url-access}}
|-
| {{para|section-url}} || {{para|section-url-access}}
|}
-->
Online sources linked by {{para|url}}, {{para|article-url}}, {{para|chapter-url}}, {{para|contribution-url}}, {{para|entry-url}}, {{para|map-url}}, and {{para|section-url}} are presumed to be free-to-read.<ref name=NotRef>{{NotRef}}</ref> When they are not free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. Because the sources linked by these url-holding parameters are presumed to be free-to-read, they may not be marked as <code>free</code>.
Online sources linked by {{para|url}}, {{para|article-url}}, {{para|chapter-url}}, {{para|contribution-url}}, {{para|entry-url}}, {{para|map-url}}, and {{para|section-url}} are presumed to be free-to-read.<ref name=NotRef>{{NotRef}}</ref> When they are not free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. Because the sources linked by these url-holding parameters are presumed to be free-to-read, they may not be marked as <code>free</code>.

For these keywords, "subscription" means payment is required, "registration" means that a free account is required, and "limited" means payment is required beyond a certain point, such as a free trial or a number of accesses per day.


{| class="wikitable"
{| class="wikitable"
Line 61: Line 38:
|}
|}
{{reflist}}
{{reflist}}

For example, this cites a web page that requires registration but not subscription:

:<nowiki>{{cite web |url=https://example.com/nifty_data.php |url-access=registration |date=2021-04-15 |title=Nifty example data}}</nowiki>

which renders as:

:{{cite web |url=https://example.com/nifty_data.php |url-access=registration |date=2021-04-15 |title=Nifty example data}}


=====Access indicator for named identifiers=====
=====Access indicator for named identifiers=====

Revision as of 19:18, 16 April 2021

Citations of online sources that require registration or a subscription are acceptable in Wikipedia as documented in Verifiability § Access to sources. As a courtesy to readers and other editors, editors should signal restrictions on access to material provided via the external links included in a citation. These levels describe requirements or constraints related to accessing and viewing the cited material; they are not intended to indicate the ability to reuse, or the copyright status, of the material, since that status is not relevant to verifying claims in articles.

Four access levels can be used:

As there are often multiple external links with different access levels in the same citation, each value is attributed to a specific external link.

Access indicators for url-holding parameters

Online sources linked by |url=, |article-url=, |chapter-url=, |contribution-url=, |entry-url=, |map-url=, and |section-url= are presumed to be free-to-read.[1] When they are not free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. Because the sources linked by these url-holding parameters are presumed to be free-to-read, they may not be marked as free.

For these keywords, "subscription" means payment is required, "registration" means that a free account is required, and "limited" means payment is required beyond a certain point, such as a free trial or a number of accesses per day.

URL-holding and access-indicator parameters
URL Access Allowed keywords
|url= |url-access= registration Free registration required
limited Free access subject to limited trial, subscription normally required
subscription Paid subscription required
|article-url= |article-url-access=
|chapter-url= |chapter-url-access=
|contribution-url= |contribution-url-access=
|entry-url= |entry-url-access=
|map-url= |map-url-access=
|section-url= |section-url-access=

For example, this cites a web page that requires registration but not subscription:

{{cite web |url=https://example.com/nifty_data.php |url-access=registration |date=2021-04-15 |title=Nifty example data}}

which renders as:

Lua error: bad argument #1 to "get" (not a valid title).
Access indicator for named identifiers

Links inserted by named identifiers are presumed to lie behind a paywall or registration barrier – exceptions listed below. When they are free-to-read, editors should mark those sources with the matching access-indicator parameter so that an appropriate icon is included in the rendered citation. Because the sources linked by these named-identifier parameters are not presumed to be free-to-read, they may not be marked as limited, registration, or subscription.

Named-identifier and access-indicator parameters
Identifier Access Allowed keywords
|bibcode= |bibcode-access= free Freely accessible
|doi= |doi-access=
|hdl= |hdl-access=
|jstor= |jstor-access=
|ol= |ol-access=
|osti= |osti-access=
|s2cid= |s2cid-access=

Some named-identifiers are always free-to-read. For those named identifiers there are no access-indicator parameters; the access level is automatically indicated by the template. These named identifiers are:

  • |arxiv=
  • |biorxiv=
  • |citeseerx=
  • |pmc=
  • |rfc=
  • |ssrn=

For embargoed Lua error: bad argument #1 to "get" (not a valid title). that will become available in the future, see Lua error: bad argument #1 to "get" (not a valid title)..