Difference between revisions of "Template:HathiTrust/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jay D. Easy
(uses wikidata)
imported>Jay D. Easy
(+ see also to hathitrust catalog)
Line 1: Line 1:
{{Documentation subpage}}
+
{{Documentation subpage}}__NOTOC__
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
Line 11: Line 11:
 
:<code><nowiki>{{</nowiki>HathiTrust| fullid=''ID'' | title=''TITLE'' <nowiki>}}</nowiki></code>
 
:<code><nowiki>{{</nowiki>HathiTrust| fullid=''ID'' | title=''TITLE'' <nowiki>}}</nowiki></code>
  
==Examples==
+
== Examples ==
 
Unnamed parameters:
 
Unnamed parameters:
 
:<code><nowiki>{{HathiTrust|32101068365723|Aus vorletzten und letzten Gründen}}</nowiki></code>
 
:<code><nowiki>{{HathiTrust|32101068365723|Aus vorletzten und letzten Gründen}}</nowiki></code>
Line 24: Line 24:
 
:{{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}}
 
:{{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}}
  
===Notes===
+
=== Notes ===
 
* '''id''' is the last numbers of the URL, e.g. <nowiki>https://hdl.handle.net/2027/njp.##############</nowiki>, ############## denoting the ID number
 
* '''id''' is the last numbers of the URL, e.g. <nowiki>https://hdl.handle.net/2027/njp.##############</nowiki>, ############## denoting the ID number
 
* '''fullid''' is when the URL does not begin with <tt>njp</tt>, e.g. <nowiki>https://hdl.handle.net/2027/umn.31951p01104328a</nowiki>, in which case use the entire value <tt>umn.31951p01104328a</tt>
 
* '''fullid''' is when the URL does not begin with <tt>njp</tt>, e.g. <nowiki>https://hdl.handle.net/2027/umn.31951p01104328a</nowiki>, in which case use the entire value <tt>umn.31951p01104328a</tt>
 
* '''title''' is an override field, it will default to the page title
 
* '''title''' is an override field, it will default to the page title
 +
 +
== See also ==
 +
* {{tl|HathiTrust Catalog}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 00:15, 9 April 2019

Usage

Template:Uses Wikidata Unnamed parameters:

{{HathiTrust| ID | TITLE }}

Named parameters:

{{HathiTrust| id=ID | title=TITLE }}
{{HathiTrust| fullid=ID | title=TITLE }}

Examples

Unnamed parameters:

{{HathiTrust|32101068365723|Aus vorletzten und letzten Gründen}}
Aus vorletzten und letzten Gründen at the HathiTrust Digital Library

Named parameters:

{{HathiTrust|id=32101068365723|title=Aus vorletzten und letzten Gründen}}
Aus vorletzten und letzten Gründen at the HathiTrust Digital Library

With fullid parameter:

{{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}}
The Art of Swimming at the HathiTrust Digital Library

Notes

  • id is the last numbers of the URL, e.g. https://hdl.handle.net/2027/njp.##############, ############## denoting the ID number
  • fullid is when the URL does not begin with njp, e.g. https://hdl.handle.net/2027/umn.31951p01104328a, in which case use the entire value umn.31951p01104328a
  • title is an override field, it will default to the page title

See also