Template:Recording: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
m (Protected "Template:Recording": high-risk template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite)))
No edit summary
Line 5: Line 5:
_table = recordings
_table = recordings
| song = {{{1}}}
| song = {{{1}}}
}}</includeonly>"{{#ifexist:{{{1}}}|{{!((}}}}{{{1}}}{{#if:{{{title|}}}|{{!}}{{{title}}}}}{{#ifexist:{{{1}}}|{{!))}}}}"{{#if:{{{note|}}}|&nbsp;({{{note}}})}}}}
}}</includeonly>"{{#ifexist:{{{1}}}|{{!((}}}}{{{1}}}{{#if:{{{title|}}}|{{!}}{{{title}}}}}{{#ifexist:{{{1}}}|{{!))}}}}"{{#if:{{{note|}}}|&nbsp;({{{note}}})}}}}<noinclude><templatedata>
{
"params": {
"1": {
"label": "Song page title",
"description": "The exact page title of the song. It's OK if it doesn't exist yet; we can create it later!",
"example": "Mellon Collie and the Infinite Sadness (song)",
"type": "wiki-page-name",
"required": true
},
"title": {
"label": "Display title (if different than page title)",
"description": "The display title of the song, if it's different than the page title",
"type": "string",
"suggested": true
},
"note": {
"label": "Note",
"description": "Add notes about the recording",
"type": "string",
"suggested": true
}
},
"description": "Indicates a song was recorded on studio sessions pages."
}
</templatedata></noinclude>

Revision as of 06:11, 28 October 2020

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

Indicates a song was recorded on studio sessions pages.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Song page title1

The exact page title of the song. It's OK if it doesn't exist yet; we can create it later!

Example
Mellon Collie and the Infinite Sadness (song)
Page namerequired
Display title (if different than page title)title

The display title of the song, if it's different than the page title

Stringsuggested
Notenote

Add notes about the recording

Stringsuggested