Difference between revisions of "Template:HathiTrust/doc"

From blackwiki
Jump to navigation Jump to search
imported>Howcheng
imported>Jay D. Easy
(+cat)
Line 30: Line 30:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
+
[[Category:GLAM external link templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 00:40, 26 March 2019

Usage

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