Template:Nypl/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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

ParameterDescriptionDefaultStatus
descriptionemptyoptional
dateemptyoptional
sourceemptyoptional
authoremptyoptional
ID_uuidemptyoptional
permissionemptyoptional
other_versionsemptyoptional
titleemptyoptional
atitleemptyoptional
nameemptyoptional
modslinkemptyoptional
placeemptyoptional
imageIDemptyoptional
collectionemptyoptional
collection_uuidemptyoptional
NYPL_catalog_IDemptyoptional
divisionemptyoptional
topicsemptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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 TemplateDataCommons-specific information

This template replaces the [[Template:Information|<code>{{Information}}</code>]] template for digital records of the [[New York Public Library]].

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ID_uuid

Unknownoptional
NYPL_catalog_ID

Unknownoptional
atitle

Unknownoptional
author

Unknownoptional
collection

Unknownoptional
collection_uuid

Unknownoptional
date

Unknownoptional
description

Unknownoptional
division

Unknownoptional
imageID

Unknownoptional
modslink

Unknownoptional
name

Unknownoptional
other_versions

Unknownoptional
permission

Unknownoptional
place

Unknownoptional
source

Unknownoptional
title

Unknownoptional
topics

Unknownoptional

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: