Template:Credit: Difference between revisions
MusikAnimal (talk | contribs) (add |as= parameter to indicate if credit was given under an alternate name) |
MusikAnimal (talk | contribs) (until Cargo is fixed) |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare: | <noinclude><!--{{#cargo_declare: | ||
_table = personnel_credits | _table = personnel_credits | ||
| person = Page(mandatory=1) | | person = Page(mandatory=1) | ||
Line 5: | Line 5: | ||
| tracks = List (,) of Integer | | tracks = List (,) of Integer | ||
| listing_id = Integer | | listing_id = Integer | ||
}}{{documentation}}</noinclude><includeonly>{{#cargo_store: | }}-->{{documentation}}</noinclude><!--<includeonly>{{#cargo_store: | ||
_table = personnel_credits | _table = personnel_credits | ||
| person = {{{1}}} | | person = {{{1}}} | ||
Line 56: | Line 56: | ||
| tracks = {{{tracks|}}} | | tracks = {{{tracks|}}} | ||
| listing_id = {{#arraymap:{{lc:{{{2}}}}}|,}} | | listing_id = {{#arraymap:{{lc:{{{2}}}}}|,}} | ||
}}</includeonly> | }}</includeonly>--> | ||
* {{link if exists|{{{1|<noinclude>Billy Corgan</noinclude>}}}}} {{#if:{{{as|}}}|(as {{{as}}})}} – {{#arraymap:{{{2|<noinclude>guitar,bass,piano</noinclude>}}}|,}} | * {{link if exists|{{{1|<noinclude>Billy Corgan</noinclude>}}}}} {{#if:{{{as|}}}|(as {{{as}}})}} – {{#arraymap:{{{2|<noinclude>guitar,bass,piano</noinclude>}}}|,}} |
Revision as of 16:36, 18 April 2023
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Personnel | 1 | Person who we're crediting. It's okay if the page doesn't exist.
| Page name | required |
Comma-separated list of credits | 2 | You can use many variations of common terms like "guitar", "guitarist", "production", "background vocals", etc.
| String | required |
As | as | Use this to indicate if the person was credited under something other than their real name. | String | optional |
Note | note | no description | String | optional |
The above documentation is transcluded from Template:Credit/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
- Billy Corgan – guitar, bass, piano