Template:Live song: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 1: Line 1:
"[[{{{1}}}{{#if:{{{title|}}}|{{!}}{{{title}}}}}]]"&nbsp;{{#if:{{{cover|}}}|<nowiki>[</nowiki>{{{cover}}}<nowiki>]</nowiki>&nbsp;}}{{#if:{{{abandoned|}}}|(abandoned)&nbsp;}}{{#if:{{{tease|}}}|(tease)&nbsp;}}{{#if:{{{note|}}}|({{{note}}})&nbsp;}}
"[[{{{1}}}{{#if:{{{title|}}}|{{!}}{{{title}}}}}]]"&nbsp;{{#if:{{{cover|}}}|<nowiki>[</nowiki>{{{cover}}}<nowiki>]</nowiki>&nbsp;}}{{#if:{{{abandoned|}}}|(abandoned)&nbsp;}}{{#if:{{{tease|}}}|(tease)&nbsp;}}{{#if:{{{note|}}}|({{{note}}})&nbsp;}}
<noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Title of the song page",
"type": "wiki-page-name",
"required": true
},
"title": {
"label": "Song title (if different than the page title)",
"description": "An example: if the \"title\" param is given \"Cotillions (song)\", you'd use \"Cotillions\" as the \"title\" since they are different.",
"type": "string",
"suggested": true
},
"cover": {
"label": "Cover song?",
"description": "use '1' for yes, or leave blank",
"type": "boolean",
"suggested": true
},
"abandoned": {
"label": "Abandoned while playing?",
"description": "Use '1' for yes, blank for no",
"type": "boolean",
"suggested": true
},
"tease": {
"label": "Tease",
"description": "Was it just a tease? Use '1' for true, blank for false",
"type": "boolean",
"suggested": true
},
"note": {
"label": "Note",
"description": "Short notes that get added to the end",
"type": "string"
}
},
"paramOrder": [
"1",
"title",
"cover",
"abandoned",
"tease",
"note"
]
}
</templatedata>
</noinclude>

Revision as of 05:33, 18 July 2020

"[[{{{1}}}]]" 

No description.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Title of the song page1

no description

Page namerequired
Song title (if different than the page title)title

An example: if the "title" param is given "Cotillions (song)", you'd use "Cotillions" as the "title" since they are different.

Stringsuggested
Cover song?cover

use '1' for yes, or leave blank

Booleansuggested
Abandoned while playing?abandoned

Use '1' for yes, blank for no

Booleansuggested
Teasetease

Was it just a tease? Use '1' for true, blank for false

Booleansuggested
Notenote

Short notes that get added to the end

Stringoptional