![]() | This template uses Lua: |
![]() | This template should not be substituted. |
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.
Parameters
edit- 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
towww-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 returnsFull 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
- 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
editMarkup | Renders as |
---|---|
|
Full access available to users of The Wikipedia Library. |
|
Full access available to users of The Wikipedia Library. |
|
Full access available to users of The Wikipedia Library. |
|
Full access available to users of The Wikipedia Library. |
|
Full access available to users of The Wikipedia Library as of August 2025. |
|
Partial access available to users of The Wikipedia Library. |
|
No access available via The Wikipedia Library. |
|
No access available via The Wikipedia Library. |
|
No access available via The Wikipedia Library as of August 2025. |
|
|
A real example
editMarkup | Renders as |
---|---|
|
|
TemplateData
editTemplateData for Wikipedia Library access
Indicates that a source is available via The Wikipedia Library. Hidden for users who are not autoconfirmed.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 url link | source URL | URL | optional |
2 | 2 access | access type
| Line | optional |
doi | doi | source DOI | Line | optional |
jstor | jstor | source JSTOR ID | Number | optional |
date | date | 'as of' date | Line | optional |
References
edit- ^ This is a citation, which might be formatted with a citation template. Full access available to users of The Wikipedia Library.
- ^ 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.