Difference between revisions of "Template:HathiTrust/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jay D. Easy
(+cat)
imported>Jay D. Easy
(uses wikidata)
Line 3: Line 3:
  
 
== Usage ==
 
== Usage ==
 +
{{Uses Wikidata|P1844}}
 
Unnamed parameters:
 
Unnamed parameters:
 
:<code><nowiki>{{</nowiki>HathiTrust| ''ID'' | ''TITLE'' <nowiki>}}</nowiki></code>
 
:<code><nowiki>{{</nowiki>HathiTrust| ''ID'' | ''TITLE'' <nowiki>}}</nowiki></code>

Revision as of 01:09, 26 March 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