Difference between revisions of "Template:HathiTrust/doc"
Jump to navigation
Jump to search
imported>Jay D. Easy (+ see also to hathitrust catalog) |
imported>Jay D. Easy (standardization) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{documentation subpage}}__NOTOC__ |
| − | + | Creates an external link to a [[public domain]] work held by the [[HathiTrust|HathiTrust Digital Library]]. | |
| − | == Usage == | + | === Usage === |
{{Uses Wikidata|P1844}} | {{Uses Wikidata|P1844}} | ||
Unnamed parameters: | Unnamed parameters: | ||
| − | :<code><nowiki>{{</nowiki>HathiTrust| | + | : <code><nowiki>{{</nowiki>HathiTrust| id | title <nowiki>}}</nowiki></code> |
Named parameters: | Named parameters: | ||
| − | :<code><nowiki>{{</nowiki>HathiTrust| id='' | + | : <code><nowiki>{{</nowiki>HathiTrust| id = ''###'' | title = ''title of work'' <nowiki>}}</nowiki></code> |
| − | :<code><nowiki>{{</nowiki>HathiTrust| fullid='' | + | : <code><nowiki>{{</nowiki>HathiTrust| fullid = ''###'' | title = ''title of work'' <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> |
| − | :{{HathiTrust|32101068365723|Aus vorletzten und letzten Gründen}} | + | : → {{HathiTrust|32101068365723|Aus vorletzten und letzten Gründen}} |
Named parameters: | Named parameters: | ||
| − | :<code><nowiki>{{HathiTrust|id=32101068365723|title=Aus vorletzten und letzten Gründen}}</nowiki></code> | + | : <code><nowiki>{{HathiTrust|id=32101068365723|title=Aus vorletzten und letzten Gründen}}</nowiki></code> |
| − | :{{HathiTrust|id=32101068365723|title=Aus vorletzten und letzten Gründen}} | + | : → {{HathiTrust|id=32101068365723|title=Aus vorletzten und letzten Gründen}} |
With <code>fullid</code> parameter: | With <code>fullid</code> parameter: | ||
| − | :<code><nowiki>{{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}}</nowiki></code> | + | : <code><nowiki>{{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}}</nowiki></code> |
| − | :{{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}} | + | : → {{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}} |
| − | === | + | === Parameters === |
| − | * '''id''' | + | * '''id''' – identifier in the target URL, e.g. <code><nowiki>hdl.handle.net/2027/njp.</nowiki>{{hir|bc=lightgreen|#########}}</code> |
| − | * '''fullid''' | + | * '''fullid''' – when the URL does not contain <code>njp</code>, e.g. <code><nowiki>hdl.handle.net/2027/</nowiki>{{hir|bc=lightgreen|umn.31951p01104328a}}</code> |
| − | * '''title''' | + | * '''title''' – an override field, it will default to the page name |
| − | == See also == | + | === See also === |
* {{tl|HathiTrust Catalog}} | * {{tl|HathiTrust Catalog}} | ||
Revision as of 01:23, 9 April 2019
| This is a documentation subpage for Template:HathiTrust. It contains usage information, categories and other content that is not part of the original template page. |
Creates an external link to a public domain work held by the HathiTrust Digital Library.
Usage
Template:Uses Wikidata 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