Difference between revisions of "Template:HathiTrust/doc"
Jump to navigation
Jump to search
imported>GoingBatty m (General fixes & manual clean up, typo(s) fixed: eg. → e.g. using AWB (11376)) |
imported>Howcheng |
||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
| − | <code><nowiki>{{HathiTrust|ID| | + | Unnamed parameters: |
| + | :<code><nowiki>{{</nowiki>HathiTrust| ''ID'' | ''TITLE'' <nowiki>}}</nowiki></code> | ||
| + | Named parameters: | ||
| + | :<code><nowiki>{{</nowiki>HathiTrust| id=''ID'' | title=''TITLE'' <nowiki>}}</nowiki></code> | ||
| + | :<code><nowiki>{{</nowiki>HathiTrust| fullid=''ID'' | title=''TITLE'' <nowiki>}}</nowiki></code> | ||
| + | ==Examples== | ||
| + | Unnamed parameters: | ||
| + | :<code><nowiki>{{HathiTrust|32101068365723|Aus vorletzten und letzten Gründen}}</nowiki></code> | ||
| + | :{{HathiTrust|32101068365723|Aus vorletzten und letzten Gründen}} | ||
| − | + | Named parameters: | |
| + | :<code><nowiki>{{HathiTrust|id=32101068365723|title=Aus vorletzten und letzten Gründen}}</nowiki></code> | ||
| + | :{{HathiTrust|id=32101068365723|title=Aus vorletzten und letzten Gründen}} | ||
| − | + | With <code>fullid</code> parameter: | |
| − | <code><nowiki>{{HathiTrust| | + | :<code><nowiki>{{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}}</nowiki></code> |
| − | + | :{{HathiTrust|fullid=umn.31951p01104328a|title=The Art of Swimming}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{HathiTrust| | ||
===Notes=== | ===Notes=== | ||
| − | * ''' | + | * '''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> |
| + | * '''title''' is an override field, it will default to the page title | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Revision as of 21:57, 22 August 2018
| 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. |
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