Difference between revisions of "Template:HathiTrust Catalog/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jay D. Easy
imported>Jay D. Easy
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Ombox|type=notice|small=yes|text=Alternative template [[Wikipedia:Redirect|redirect]]:
+
{{Ombox|type=notice|small=yes|text=Alternative spelling [[Wikipedia:Redirect|redirect]]:
 
* {{braces|{{no redirect|Template:HathiTrust Catalogue|HathiTrust Catalogue}}}}}}
 
* {{braces|{{no redirect|Template:HathiTrust Catalogue|HathiTrust Catalogue}}}}}}
 
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
 
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}

Revision as of 01:10, 26 August 2019

Template:Tracks and uses Wikidata This templates creates an external link to a catalog record of a work in the public domain at the HathiTrust Digital Library.

Usage

Unnamed parameters:

{{HathiTrust Catalog|ID|TITLE}}

Named parameters:

{{HathiTrust Catalog|id=ID|title=TITLE}}

Example

Template:Quotebox

1. If no custom title is set, the template defaults to {{PAGENAMEBASE}}:

{{HathiTrust Catalog|004409120}}
Template:PAGENAMEBASE at the HathiTrust Digital LibraryScript error: No such module "EditAtWikidata".Template:WikidataCheck

2. To set a custom title:

{{HathiTrust Catalog|009014066|Life with the Esquimaux}}
Life with the Esquimaux at the HathiTrust Digital LibraryScript error: No such module "EditAtWikidata".Template:WikidataCheck

Template data

This template generates an external link to a catalog record at the HathiTrust Digital Library.

Template parameters

ParameterDescriptionTypeStatus
ID1 id

Identifier string used in the URL.

Stringrequired
Title2 title

Title displayed in the link text. Defaults to the article's {{PAGENAMEBASE}}, without disambiguation.

Lineoptional

Tracking categories

See also