Template:Wikipedia Library access/doc: Difference between revisions

Content deleted Content added
Examples: doi example
updating
Line 4:
 
===Parameters===
* '''1''', aliases '''url''' and '''link''': takes '''''either''''' a regular URL (in which case it will convert the URL to TWL format, ie. from <code>www.example.com</code> to <code>www-example-com.wikipedialibrary.idm.oclc.org</code>) '''''or''''' a full Wikipedia Library source URL (in which case it won't modify the URL)
* <code><nowiki>|1=</nowiki></code>, <code><nowiki>|url=</nowiki></code> or <code><nowiki>|link=</nowiki></code> takes a full Wikipedia Library source URL
* <code><nowiki>|'''2=</nowiki></code>''', oralias <code><nowiki>|'''access=</nowiki></code>''': takes a string representing the access level of the source. Defaults to <code><nowiki>full</nowiki></code>, which returns <code>Full access available</code> as the display text for the [[WP:PIPE|piped link]].
* <code><nowiki>|'''doi=</nowiki></code>''': takes a doi[[Digital object identifier|DOI]] value and formats it as a Wikipedia Library doiDOI link
* '''jstor''': takes a JSTOR reference number and formats it as a Wikipedia Library JSTOR stable URL
 
===Examples===