Template:Artwork/sandbox/TemplateBox

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Artist
Author
Title
Object type
Description
Date
Medium
Dimensions
Accession number
Object history
Exhibition history
Credit line
Inscriptions
Notes
References
Source/Photographer
Permission
(Reusing this file)
Other versions
Template documentationcreate · purge ]


This template is used to provide formatting to the basic information for artworks

Usage

{{Artwork
 |artist =
 |author =
 |title =
 |object_type =
 |description =
 |date =
 |medium =
 |institution =
 |department =
 |references =
 |object_history =
 |exhibition_history =
 |credit_line =
 |inscriptions =
 |notes =
 |accession_number =
 |source =
 |permission =
 |other_versions =
 |other_fields =
 |strict =
 |demo =
}}

Template parameters

ParameterDescriptionDefaultStatus
artistArtistArtist who created the original artwork.emptyoptional
authorAuthorFor some objects \"author\" is more appropriate term than \"artist\". In most cases either \"author\" or \"artist\" should be used, not both.emptyoptional
titleTitleTitle of the artwork. Skip and use description field if artwork has no title.emptyoptional
object_typeObject TypeIntended for archeological artifacts, allows internationalization and links for more uncommon objects like skyphoi or situlas (automatically internationalized through template:I18n/objects)emptyoptional
descriptionDescriptionDescription of the content of the artwork. Often unnecessary in case of paintings when title is used.emptyoptional
dateDateDate of creation of the original artwork by one of the following ways:for simple dates use ISO 8601 format. The following formats are recognized:YYYY, YYYY-MM, YYYY-MM-DD for all other datesemptyoptional
mediumMedium(Alternative name: technique)Medium (technique and materials) used to create artwork.emptyoptional
institutionInstitutionGallery, museum or collection owning the piece.emptyoptional
departmentDepartmentDepartment or location within the museum or gallery.emptyoptional
referencesReferencesBooks and websites with information about the artwork.emptyoptional
object_historyObject historyProvenance (history of artwork ownership).emptyoptional
exhibition_historyExhibition HistoryExhibition Historyemptyoptional
credit_lineCredit LineInformation about source of the file or the photographer. Possible values: If image was found on the internet include original URLs (preferably two, embedding web page and image). If it is a scan from a book than include the book references where you scanned it from (preferably with ISBN and page) If it is your own or someone else photograph than provide the name of the photographer Some examples: ArtRenewal.org : Gallery : Info : Pic, Milner, John: Mondrian, p. 35 - ISBN 0714831670, Be aware what for 2D works like paintings only copyrights of the original artist are important so if the artist died more than 70 years ago most images found on the web or scanned from art books are OK. However in case of sculptures and other 3D works information about the photographer is important to justify the license.emptyoptional
inscriptionsInscriptionsDescription of: inscriptions, watermarks, captions, coats of arm, etc.emptyoptional
notesNotesAdditional information about the artwork and its history.emptyoptional
accession_numberAccession NumberMuseum's accession number or some other inventory or identification number. Provide also link to museum database if available.emptyoptional
sourceSourceSourceemptyoptional
permissionPermissionlicense information. Common license tag(s): file found on the web; artist died 100+ years ago; file self-made; artist died 100+ years agoemptyoptional
other_versionsother versionsLinks to files with very similar content or derivative files; use thumbnails or <gallery></gallery>.emptyoptional
other_fieldsother_fieldsAdditional table fields.emptyoptional
strictStrictOrdinarily Artwork always show "Author" and "Source/Photographer". This default behavior can be overwritten by setting "strict=". Use only when file contains ways of specifying license and source, for example through additional
Description
Source
Author
template used to specify photograph info separately.
emptyoptional
demoDemo"demo=1" will show all the fields used by the template empty or not. Meant to be used only in template: namespace when demonstrating template fields. Usual form is "demo=1".emptyoptional
Template data
<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.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

This template is used to provide formatting to the basic information for artworks

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Accession Numberaccession_number

Museum's accession number or some other inventory or identification number. Provide also link to museum database if available.

Stringoptional
Artistartist

Artist who created the original artwork.

Stringoptional
Authorauthor

For some objects \"author\" is more appropriate term than \"artist\". In most cases either \"author\" or \"artist\" should be used, not both.

Stringoptional
Credit Linecredit_line

Information about source of the file or the photographer. Possible values: If image was found on the internet include original URLs (preferably two, embedding web page and image). If it is a scan from a book than include the book references where you scanned it from (preferably with ISBN and page) If it is your own or someone else photograph than provide the name of the photographer Some examples: ArtRenewal.org : Gallery : Info : Pic, Milner, John: Mondrian, p. 35 - <span lang="en" dir="ltr">[[:en:ISBN|<span lang="en" dir="ltr">ISBN</span>]]</span>&nbsp;[[Special:BookSources/0714831670|0714831670]], Be aware what for 2D works like paintings only copyrights of the original artist are important so if the artist died more than 70 years ago most images found on the web or scanned from art books are OK. However in case of sculptures and other 3D works information about the photographer is important to justify the license.

Stringoptional
Datedate

Date of creation of the original artwork by one of the following ways:for simple dates use ISO 8601 format. The following formats are recognized:YYYY, YYYY-MM, YYYY-MM-DD for all other dates

Stringoptional
Demodemo

"demo=1" will show all the fields used by the template empty or not. Meant to be used only in template: namespace when demonstrating template fields. Usual form is "demo=1".

Stringoptional
Departmentdepartment

Department or location within the museum or gallery.

Stringoptional
Descriptiondescription

Description of the content of the artwork. Often unnecessary in case of paintings when title is used.

Stringoptional
Exhibition Historyexhibition_history

Exhibition History

Stringoptional
Inscriptionsinscriptions

Description of: inscriptions, watermarks, captions, coats of arm, etc.

Stringoptional
Institutioninstitution

Gallery, museum or collection owning the piece.

Stringoptional
Mediummedium

(Alternative name: technique)Medium (technique and materials) used to create artwork.

Stringoptional
Notesnotes

Additional information about the artwork and its history.

Stringoptional
Object historyobject_history

Provenance (history of artwork ownership).

Stringoptional
Object Typeobject_type

Intended for archeological artifacts, allows internationalization and links for more uncommon objects like skyphoi or situlas (automatically internationalized through template:I18n/objects)

Stringoptional
other_fieldsother_fields

Additional table fields.

Stringoptional
other versionsother_versions

Links to files with very similar content or derivative files; use thumbnails or &lt;gallery&gt;&lt;/gallery&gt;.

Stringoptional
Permissionpermission

license information. Common license tag(s): file found on the web; artist died 100+ years ago; file self-made; artist died 100+ years ago

Stringoptional
Referencesreferences

Books and websites with information about the artwork.

Stringoptional
Sourcesource

Source

Stringoptional
Strictstrict

Ordinarily Artwork always show "Author" and "Source/Photographer". This default behavior can be overwritten by setting "strict=". Use only when file contains ways of specifying license and source, for example through additional <div class="hproduct commons-file-information-table">

<table class="fileinfotpl-type-information vevent mw-content-ltr" style="direction: ltr;">

<tr> <td class="fileinfo-paramfield" lang="en">Description<span class="summary fn" style="display:none">Artwork/sandbox/TemplateBox</span></td> <td class="description"> <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0; direction: ltr;" lang="en">This file has no '''description''', and may be lacking other information. Please provide a meaningful description of this file. </div></td> </tr>

<tr> <td class="fileinfo-paramfield" lang="en">Source</td> <td > <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0; direction: ltr;" lang="en">This file is lacking '''source''' information. Please edit this file's description and provide a source. </div></td> </tr>

<tr> <td class="fileinfo-paramfield" lang="en">Author</td> <td > <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0; direction: ltr;" lang="en">This file is lacking '''author''' information.

</div></td> </tr>


</table>

</div> template used to specify photograph info separately.

Stringoptional
Titletitle

Title of the artwork. Skip and use description field if artwork has no title.

Stringoptional

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