Template:Record personnel: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Blu (talk | contribs)
Template for recording album-level personnel subobjects (via create-page on MediaWiki MCP Server)
 
Blu (talk | contribs)
sources= (several, ;-separated) and scope=track|release, as Justin approved in #connectome (11 Nov, block 26,388,440). source= still works. (via update-page on MediaWiki MCP Server)
 
Line 2: Line 2:
== Record personnel ==
== Record personnel ==


Records one person credited to an entire record (album-level co-presence), for records where cut-level data does not exist. Use once per credited person on a Record page.
Records one person credited on a record, for records where cut-level data does not exist. Use once per credited person on a Record page.


=== Usage ===
=== Usage ===


<pre>
<pre>
{{Record personnel|Tony Rice|instrument=guitar|source=https://musicbrainz.org/release/750499ef-cec3-4c3c-9e8d-2caacff30e0e}}
{{Record personnel|Tony Rice|instrument=guitar|scope=release|sources=https://musicbrainz.org/release/750499ef-cec3-4c3c-9e8d-2caacff30e0e; https://www.discogs.com/release/1234}}
</pre>
</pre>


Line 14: Line 14:
* '''1''' (or '''person''') – Person page title (e.g. <code>Tony Rice</code>).
* '''1''' (or '''person''') – Person page title (e.g. <code>Tony Rice</code>).
* '''instrument''' – Instrument played (e.g. <code>guitar</code>, optional).
* '''instrument''' – Instrument played (e.g. <code>guitar</code>, optional).
* '''source''' – Citation URL (e.g. MusicBrainz or Discogs release page, optional).
* '''sources''' – Every source that gives this credit, as URLs separated by <code>;</code> (optional).
* '''source''' – One source URL. Still accepted; if both are given, both are kept.
* '''scope''' – <code>track</code> if the source puts the person on a cut of the record, <code>release</code> if it credits the whole record. Leave it out when the source doesn't say.


=== What it records ===
=== What it records ===
Line 21: Line 23:
* [[Property:Has personnel|Has personnel]] (the Person page)
* [[Property:Has personnel|Has personnel]] (the Person page)
* [[Property:Has instrument|Has instrument]] (Text, if set)
* [[Property:Has instrument|Has instrument]] (Text, if set)
* [[Property:Cites url|Cites url]] (URL, if source set)
* [[Property:Cites url|Cites url]] (URL, one value per source)
* [[Property:Has credit scope|Has credit scope]] (<code>track</code> or <code>release</code>, if set)


Walked by [[The Oracle of Bluegrass Bacon]] as an album-level edge when cut-level data ([[Property:Has performer|Has performer]]) does not exist.
Walked by [[The Oracle of Bluegrass Bacon]] as an album-level edge when cut-level data ([[Property:Has performer|Has performer]]) does not exist. Two people with <code>scope=track</code> on one record may still be on different tracks.


[[Category:Templates]]
[[Category:Templates]]
Line 29: Line 32:
</noinclude><includeonly>{{#if:{{{1|{{{person|}}}}}}|<div class="pp-record-personnel">[[{{{1|{{{person}}}}}}]]<!--
</noinclude><includeonly>{{#if:{{{1|{{{person|}}}}}}|<div class="pp-record-personnel">[[{{{1|{{{person}}}}}}]]<!--
-->{{#if:{{{instrument|}}}|&#32;– {{{instrument}}}}}<!--
-->{{#if:{{{instrument|}}}|&#32;– {{{instrument}}}}}<!--
-->{{#if:{{{source|}}}|&#32;<span class="pp-record-personnel-source">([{{{source}}} source])</span>}}<!--
-->{{#switch:{{{scope|}}}|track=&#32;<span class="pp-record-personnel-scope">(on a track)</span>|release=&#32;<span class="pp-record-personnel-scope">(the whole record)</span>}}<!--
-->{{#if:{{{source|}}}{{{sources|}}}|&#32;<span class="pp-record-personnel-source">({{#arraymap:{{{source|}}}{{#if:{{{source|}}}|{{#if:{{{sources|}}}|;}}}}{{{sources|}}}|;|@@|[@@ source]|,&#32;}})</span>}}<!--
--></div>{{#subobject:
--></div>{{#subobject:
  |Has personnel={{{1|{{{person}}}}}}
  |Has personnel={{{1|{{{person}}}}}}
  |Has instrument={{{instrument|}}}
  |Has instrument={{{instrument|}}}
  |Cites url={{{source|}}}
  |Cites url={{{source|}}}{{#if:{{{source|}}}|{{#if:{{{sources|}}}|;}}}}{{{sources|}}}|+sep=;
|Has credit scope={{{scope|}}}
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 01:40, 11 November 2026

Record personnel

Records one person credited on a record, for records where cut-level data does not exist. Use once per credited person on a Record page.

Usage

{{Record personnel|Tony Rice|instrument=guitar|scope=release|sources=https://musicbrainz.org/release/750499ef-cec3-4c3c-9e8d-2caacff30e0e; https://www.discogs.com/release/1234}}

Parameters

  • 1 (or person) – Person page title (e.g. Tony Rice).
  • instrument – Instrument played (e.g. guitar, optional).
  • sources – Every source that gives this credit, as URLs separated by ; (optional).
  • source – One source URL. Still accepted; if both are given, both are kept.
  • scope – track if the source puts the person on a cut of the record, release if it credits the whole record. Leave it out when the source doesn't say.

What it records

A subobject on the record page:

Walked by The Oracle of Bluegrass Bacon as an album-level edge when cut-level data (Has performer) does not exist. Two people with scope=track on one record may still be on different tracks.