Template:Wikipedia Library access/doc

This is an old revision of this page, as edited by Pineapple Storage (talk | contribs) at 19:26, 26 August 2025 (updating re 'gale' parameter). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This template allows you to add a link to a resource accessed via The Wikipedia Library. The template's output is only visible in mainspace (article namespace) for autoconfirmed users; The Wikipedia Library is only accessible to extended-confirmed users (ie. users who have made 500+ edits and have had an account for 30+ days), so unregistered users and non-autoconfirmed users are unlikely to have any use for the TWL link. In other namespaces, the template is visible for everyone.

 Reminder: double-check links produced by this template, especially before adding them to mainspace citations!

Parameters

  • 1, aliases url and link: takes either a regular URL (in which case it will convert the URL to TWL format, ie. from www.example.com to www-example-com.wikipedialibrary.idm.oclc.org) or a full Wikipedia Library source URL (in which case it won't modify the URL)
  • 2, alias access: takes a string representing the access level of the source. Defaults to full, which returns Full access available as the display text for the piped link.
  • doi: takes a DOI value and formats it as a Wikipedia Library DOI link
  • jstor: takes a JSTOR reference number and formats it as a Wikipedia Library JSTOR stable URL
  • gale: takes a Gale Document Number and formats it as a Wikipedia Library Gale stable URL (as of August 2025 this parameter is still experimental, so make sure to check the resulting link is functional!)
  • date: takes a date as of which the source was or wasn't accessible. This date isn't affected by date format templates, so it will be displayed exactly as input

If no parameters are defined, or only 2 / access is defined, the template defaults to plain text (other than a wikilink to The Wikipedia Library).

Examples

Markup Renders as
{{Wikipedia Library access}}

Full access available to users of The Wikipedia Library.

{{Wikipedia Library access|https://www.example.com}}
{{TWLaccess|doi=10.1145/3666094.3666112}}
{{twlac|jstor=4486062}}
{{twlac|gale=A613605069}}
{{twlac|jstor=4486062|date=August 2025}}

Full access available to users of The Wikipedia Library as of August 2025.

{{twlac|https://www.example.com|partial}}
{{twlac|access=no}}

No access available via The Wikipedia Library.

{{twlac|access=none}}

No access available via The Wikipedia Library.

{{twlac|access=none|date=August 2025}}

No access available via The Wikipedia Library as of August 2025.

<ref>This is a citation, which might be formatted with a citation template. {{TWLaccess|https://www.example.com}}</ref>

[1]

A real example

Markup Renders as
<ref>{{cite book |editor1-last=Poudat |editor1-first=Céline |editor2-last=Lüngen |editor2-first=Harald |editor3-last=Herzberg |editor3-first=Laura |title=Investigating Wikipedia : Linguistic corpus building, exploration and analysis |date=25 October 2024 |publisher=[[John Benjamins Publishing Company]] |via=[[De Gruyter Brill]] |___location=[[Amsterdam]]/[[Philadelphia]] |isbn=9789027246462 |edition=eBook |url=https://www.degruyterbrill.com/document/doi/10.1075/scl.121/html |doi=10.1075/scl.121}} {{twlac|https://www.degruyterbrill.com/document/doi/10.1075/scl.121/html}}</ref>

[2]

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wikipedia Library access in articles based on its TemplateData.

TemplateData for Wikipedia Library access

Indicates that a source is available via The Wikipedia Library. Hidden for users who are not autoconfirmed.

Template parameters

ParameterDescriptionTypeStatus
11 url link

source URL

URLoptional
22 access

access type

Default
full
Lineoptional
doidoi

source DOI

Lineoptional
jstorjstor

source JSTOR ID

Numberoptional
galegale

Gale Document Number

Lineoptional
datedate

'as of' date

Lineoptional

References

  1. ^ This is a citation, which might be formatted with a citation template. Full access available to users of The Wikipedia Library.
  2. ^ Poudat, Céline; Lüngen, Harald; Herzberg, Laura, eds. (25 October 2024). Investigating Wikipedia : Linguistic corpus building, exploration and analysis (eBook ed.). Amsterdam/Philadelphia: John Benjamins Publishing Company. doi:10.1075/scl.121. ISBN 9789027246462 – via De Gruyter Brill. Full access available to users of The Wikipedia Library.