Template:Musical work/doc

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

No description yet available.

Usage

{{Musical work
 |composer         =
 |lyrics_writer    =
 |performer        =
 |title            =
 |description      =
 |composition_date =
 |performance_date =
 |notes            =
 |record_label     =
 |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_labelemptyoptional
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
<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

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
composer

Unknownoptional
composition_date

Unknownoptional
description

Unknownoptional
image

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

Unknownoptional
lyrics_writer

Unknownoptional
notes

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.

Unknownoptional
other_versions

Links to files with very similar content or derivative files.

Unknownoptional
performance_date

Unknownoptional
performer

Unknownoptional
permission

Unknownoptional
record_ID

Unknownoptional
record_label

Unknownoptional
references

Unknownoptional
source

Unknownoptional
title

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

Localization

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