Template:Nypl
Description | |||
Title | |||
Alternative title | |||
Source | |||
Author | Scan by NYPL | ||
Permission (Reusing this file) |
|
||
UUID | [1] | ||
Name |
This template replaces the {{Information}}
template for digital records of the New York Public Library.
Usage
{{Nypl
|description =
|date =
|source =
|author =
|ID_uuid =
|permission =
|other_versions =
|title =
|atitle =
|name =
|modslink =
|place =
|imageID =
|collection =
|collection_uuid =
|NYPL_catalog_ID =
|division =
|topics =
}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
description | empty | optional | ||
date | empty | optional | ||
source | empty | optional | ||
author | empty | optional | ||
ID_uuid | empty | optional | ||
permission | empty | optional | ||
other_versions | empty | optional | ||
title | empty | optional | ||
atitle | empty | optional | ||
name | empty | optional | ||
modslink | empty | optional | ||
place | empty | optional | ||
imageID | empty | optional | ||
collection | empty | optional | ||
collection_uuid | empty | optional | ||
NYPL_catalog_ID | empty | optional | ||
division | empty | optional | ||
topics | empty | optional |
Template data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template replaces the [[Template:Information|<code>{{Information}}</code>]] template for digital records of the [[New York Public Library]].
|
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Relies on:
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Ingestion template for NYPL imports
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description | Description | String | required |
Date | date | Date | String | optional |
source | source | Source | String | required |
title | title | Title | String | required |
Alternative title | atitle | Alternative title | String | required |
Permission | permission | Additional permission statements or licenses | String | optional |
Original place | place | Original creation place | String | optional |
NYPL Division | division | NYPL Division | String | optional |
UUID | ID_uuid | Item universally unique identifier | String | required |
Image ID | imageID | NYPL image identifier | Number | required |
Catalog ID | NYPL_catalog_ID | NYPL catalog identifier (B-number) | String | optional |
Collection title | collection | NYPL collection title | String | optional |
Collection UUID | collection_uuid | NYPL collection UUID | String | optional |
RLIN/OCLC | ID_RLIN_OCLC | RLIN / OCLC identity | String | optional |
Hades sruct ID | ID_Hades_struc_ID | Hades legacy identity / struct identity | String | optional |
modslink | modslink | MODS link | String | optional |
topics | topics | Topics | String | optional |