Difference between revisions of "Template:HathiTrust"

From blackwiki
Jump to navigation Jump to search
imported>Howcheng
m
imported>Jay D. Easy
(hathitrust > hathitrust digital library (piped); +<span>; rm cat (to doc))
 
Line 1: Line 1:
''[https://hdl.handle.net/2027/{{#if:{{{fullid|}}}|{{{fullid}}}|njp.{{{id|{{{1}}}}}}}} {{#if:{{{title|{{{2|}}}}}}|{{{title|{{{2}}}}}}|{{PAGENAME}}}}]'' at the [[HathiTrust]]<noinclude>{{documentation}}[[Category:GLAM external link templates]]</noinclude>
+
<includeonly><span style="font-style:italic;">[https://hdl.handle.net/2027/{{#if:{{{fullid|}}}|{{{fullid}}}|njp.{{{id|{{{1}}}}}}}} {{#if:{{{title|{{{2|}}}}}}|{{{title|{{{2}}}}}}|{{PAGENAME}}}}]</span> at the [[HathiTrust|HathiTrust Digital Library]]</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 19:54, 25 March 2019

Template documentation[view] [edit] [history] [purge]

Creates an external link to a public domain work held by the HathiTrust Digital Library.

Usage

Unnamed parameters:

{{HathiTrust| id | title }}

Named parameters:

{{HathiTrust| id = ### | title = title of work }}
{{HathiTrust| fullid = ### | title = title of work }}

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

Parameters

  • id – identifier in the target URL, e.g. hdl.handle.net/2027/njp.#########
  • fullid – when the URL does not contain njp, e.g. hdl.handle.net/2027/umn.31951p01104328a
  • title – an override field, it will default to the page name

See also