Difference between revisions of "Template:Item"

From ArchivesWiki
Line 111: Line 111:
  
 
{{#cargo_query: |table=items
 
{{#cargo_query: |table=items
|fields=_pageName, parent_item_sort_key, image
+
|fields=_pageName, parent_item_sort_key, image, date, date_precision
 
|where=parent_item="{{PAGENAME}}"
 
|where=parent_item="{{PAGENAME}}"
 
|order by=parent_item_sort_key ASC
 
|order by=parent_item_sort_key ASC

Revision as of 03:17, 10 May 2018

This template defines the table "items". View table.

Title: Item
Identifier:
Parent item:
Date: No timestamp provided
Author:
Source:
Format and extent:
Publisher:
Coordinates:
License: Creative Commons Attribution-ShareAlike 2.0 Generic (CC BY-SA 2.0)
Related people:
Related places:
Description:



Documentation

This template defines a record of a physical or digital archive item.

What it is:

  • type
  • format
  • extent

Where in the world it relates to, where it came from, and where it is now:

  • places
  • coordinates
  • location
  • storage_location
  • storage_location_sort_key

Who it relates to, who created it:

  • people
  • authors

What other item it belongs to (in its original series):

  • parent_item
  • parent_item_sort_key

Usage

{{Item
| parent_item    = <!-- semicolon-separated page names -->
| parent_item_sort_key = 
| type           = <!-- one of: photo, letter, book, ephemera, article, object, collection -->
| date           = <!-- yyyy-mm-dd -->
| date_precision = <!-- one of: day, month, year, circa -->
| authors        = <!-- semicolon-separated page names -->
| source         = 
| extent         = 
| format         = 
| license        = <!-- Leave blank to default to CC-BY-SA -->
| places         = <!-- semicolon-separated page names -->
| people         = <!-- semicolon-separated page names -->
| image          = <!-- Without the leading 'File:' prefix. -->
| coordinates    = <!-- latitude, longitude (in decimal degrees) -->
| description    = 
}}

See also Template:Item/preload.

Define an item's metadata.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

no description

Unknownoptional
Datedate

no description

Unknownoptional
Parent_itemparent_item

no description

Unknownoptional
Parent_item_sort_keyparent_item_sort_key

no description

Unknownoptional
Sourcesource

no description

Unknownoptional
Licencelicence

no description

Unknownoptional
Extentextent

no description

Unknownoptional
Imageimage

no description

Unknownoptional
Authorsauthors

no description

Unknownoptional
Authorauthor

no description

Unknownoptional
Placesplaces

no description

Unknownoptional
Peoplepeople

no description

Unknownoptional
Descriptiondescription

no description

Unknownoptional