Open main menu

Template:Musical work

Composer
Lyrics writer
Performance artist
Title

Vinyl disc icon.svg

Description
Composition date
Performance date
Record ID
Notes
References
Source
Permission
(Reusing this file)
Other versions
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Musical work/doc.

No description yet available.

Usage

{{Musical work
 |composer         =
 |lyrics_writer    =
 |performer        =
 |title            =
 |description      =
 |composition_date =
 |performance_date =
 |notes            =
 |record_ID        =
 |image            =
 |references       =
 |source           =
 |permission       =
 |other_versions   =
}}

Use instead of {{Information}}

Template parameters

ParameterDescriptionDefaultStatus
composeremptyoptional
lyrics_writeremptyoptional
performeremptyoptional
titleemptyoptional
descriptionemptyoptional
composition_dateemptyoptional
performance_dateemptyoptional
notesemptyoptional
record_IDemptyoptional
imageImage associated with the recording like photograph of record label. (will only show up if "title" of the work is provided.)emptyoptional
referencesemptyoptional
sourceemptyoptional
permissionemptyoptional
other_versionsLinks to files with very similar content or derivative files.emptyoptional
other_fieldsAdditional table fields. Easiest way to use it is through {{Information field|name=Field Name|value=Field Value}}. There are also other_fields_1, other_fields_2, and other_fields_3 for placing fields in other locations.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

Template parameters

ParameterDescriptionTypeStatus
composer

Default
empty
Example
empty
Auto value
empty
Unknownoptional
composition_date

Default
empty
Example
empty
Auto value
empty
Unknownoptional
description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
image

Image associated with the recording like photograph of record label. (will only show up if "title" of the work is provided.)

Default
empty
Example
empty
Auto value
empty
Unknownoptional
lyrics_writer

Default
empty
Example
empty
Auto value
empty
Unknownoptional
notes

Default
empty
Example
empty
Auto value
empty
Unknownoptional
other_fields

Additional table fields. Easiest way to use it is through {{[[Template:Information field|Information field]]&#124;name=''Field Name''&#124;value=''Field Value''}}. There are also other_fields_1, other_fields_2, and other_fields_3 for placing fields in other locations.

Default
empty
Example
empty
Auto value
empty
Unknownoptional
other_versions

Links to files with very similar content or derivative files.

Default
empty
Example
empty
Auto value
empty
Unknownoptional
performance_date

Default
empty
Example
empty
Auto value
empty
Unknownoptional
performer

Default
empty
Example
empty
Auto value
empty
Unknownoptional
permission

Default
empty
Example
empty
Auto value
empty
Unknownoptional
record_ID

Default
empty
Example
empty
Auto value
empty
Unknownoptional
references

Default
empty
Example
empty
Auto value
empty
Unknownoptional
source

Default
empty
Example
empty
Auto value
empty
Unknownoptional
title

Default
empty
Example
empty
Auto value
empty
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

Placement: At the top of the page

See also

{{Information}}, {{Photograph}}, {{Book}}, {{Artwork}}

Localization

This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).