Template:Citation Style documentation/registration: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
imported>Hildeoc
imported>Jonesey95
(→‎Ambiguous access parameters: blank section; these parameters are no longer supported)
Line 61: Line 61:
*{{para|rfc}}
*{{para|rfc}}
*{{para|ssrn}}
*{{para|ssrn}}

=====Ambiguous access parameters=====
The parameters {{para|registration|yes}} and {{para|subscription|yes}} can also be used to indicate the access level of a citation. However, they do not indicate which link they apply to, so editors are encouraged to use {{para|url-access|registration}} and {{para|url-access|subscription}} instead, when the restriction applies to {{para|url}}. If the restriction applies to an identifier, these parameters should be omitted.

These parameters add a link note to the end of the citation:
* '''{{xtd|registration}}''': (deprecated) <s>For online sources that require registration, set {{para|registration|yes}} (or <code>y</code>, or <code>true</code>); yields to '''{{xtd|subscription}}''' if both are set.</s> Use the appropriate [[#Subscription_or_registration_required|access-indicator parameter]]
* '''{{xtd|subscription}}''': (deprecated) <s>For online sources that require a subscription, set {{para|subscription|yes}} (or <code>y</code>, or <code>true</code>); supersedes '''{{xtd|registration}}''' if both are set.</s> Use the appropriate [[#Subscription_or_registration_required|access-indicator parameter]]
Setting {{para|registration}} or {{para|subscription}} to any value other than <code>y</code>, <code>yes</code>, or <code>true</code> will generate an error message.

Revision as of 17:19, 9 March 2020

Template:TrackedCitations 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 the access restrictions of the external links included in a citation. Template:Lang: access icons do not display correctly for editors who use Modern skin.

Four access levels can be used:

As there are often multiple external links with different access levels in the same citation, these values are attributed to a particular external link.

Access indicators for url-holding parameters

Sources linked by Template:Para, Template:Para, Template:Para, Template:Para, and Template:Para are presumed to be free-to-read. 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.

url-holding and access-indicator parameters
url access allowed keywords
Template:Para Template:Para registration Free registration required
limited Free access subject to limited trial, subscription normally required
subscription Paid subscription required
Template:Para Template:Para
Template:Para Template:Para
Template:Para Template:ParaTemplate:If empty
Template:Para Template:Para
Template:Para Template:Para

Template:If emptyTemplate:Para not currently defined; use its alias Template:Para

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
Template:Para Template:Para free Freely accessible
Template:Para Template:Para
Template:Para Template:ParaTemplate:If empty
Template:Para Template:Para
Template:Para Template:Para
Template:Para Template:Para

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: