Template:Credit: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 8: Line 8:
_table = personnel_credits
_table = personnel_credits
| person = {{{1}}}
| person = {{{1}}}
| roles = {{#arraymaptemplate:{{{2}}}|Credit/Normalize|,|,}}
| roles = {{#arraymap:{{lc:{{{2}}}}}|,|x|{{#switch:{{#lc:{{{1}}}}}
|background vocals
|backing vocals = backing vocals
|bass guitar
|bass = bass
|cello = cello
|drummer
|drums = drums
|editor
|editing = editing
|engineer
|engineering = engineering
|engineer assistance
|assistant engineer
|engineering assistance = engineering assistance
|keys
|keyboards = keyboards
|guitars
|lead guitar
|rhythm guitar
|guitarist
|lead guitarist
|rhythm guitarist
|guitar = guitar
|mastering = mastering
|mixer
|mixing = mixing
|assistant mixer
|mix assistant
|mixing assistance = mixing assistance
|percussion = percussion
|piano = piano
|producer
|production = production
|programmer
|programming = programming
|recording = recording
|assistant recorder
|recording assistant
|recording assistance = recording assistance
|strings = strings
|tambourine = tambourine
|singer
|singing
|vocals = vocals
}}|,}}
| tracks = {{{tracks|}}}
| tracks = {{{tracks|}}}
| listing_id = {{#arraymap:{{lc:{{{2}}}}}|,}}
| listing_id = {{#arraymap:{{lc:{{{2}}}}}|,}}
}}</includeonly>
}}</includeonly>
* {{link if exists|{{{1|<noinclude>Billy Corgan</noinclude>}}}}}&nbsp;– {{#arraymap:{{{2|<noinclude>guitar,bass,piano</noinclude>}}}|,}}
* {{link if exists|{{{1|<noinclude>Billy Corgan</noinclude>}}}}}&nbsp;– {{#arraymap:{{{2|<noinclude>guitar,bass,piano</noinclude>}}}|,}}
`

Revision as of 16:25, 28 September 2021

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

Template documentation[view] [edit] [history] [purge]

Use this to indicate a personnel credit on a work. This gets saved in the database and can be queried easily.

Record credits a personnel has on a work

[Edit template data]

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Personnel1

Person who we're crediting. It's okay if the page doesn't exist.

Example
Billy Corgan
Page namerequired
Comma-separated list of credits2

You can use many variations of common terms like "guitar", "guitarist", "production", "background vocals", etc.

Example
guitar, background vocals, additional mixing, recording assistance
Stringrequired
Asas

Use this to indicate if the person was credited under something other than their real name.

Stringoptional
Notenote

no description

Stringoptional

`