Template:Live song: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 1: Line 1:
{{#invoke:live song|entry|{{{1}}}|{{{title|}}}|{{{note|}}}|{{{cover|}}}|{{{tease|}}}|{{{abandoned|}}}|{{{length|}}}}}<noinclude><templatedata>
<noinclude>{{#cargo_declare:
_table = live_songs
| date = Date
| name = String
| cover = Boolean
| tease = Boolean
| abandoned = Boolean
| length = String
}}</noinclude><includeonly>{{#cargo_store:
_table = live_songs
| date = {{#explode:{{PAGENAME}}|–|0}}
| name = {{{1}}}
| cover = {{#if:{{{cover|}}}|1|0}}
| tease = {{#if:{{{tease|}}}|1|0}}
| abandoned = {{#if:{{{abandoned|}}}|1|0}}
| length = {{{length|}}}
}}</includeonly>{{#invoke:live song|entry|{{{1}}}|{{{title|}}}|{{{note|}}}|{{{cover|}}}|{{{tease|}}}|{{{abandoned|}}}|{{{length|}}}}}<noinclude><templatedata>
{
{
"params": {
"params": {

Revision as of 01:48, 1 August 2020

This template defines the table "live_songs". View table."[[{{{1}}}]]" (VIP) (prerecorded) (piano) 

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
If a cover song, which artist?cover

no description

Example
Joy Division
Stringsuggested
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