Template:Live song: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title of the song page | 1 | no description | Page name | required |
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. | String | suggested |
If a cover song, which artist? | cover | no description
| String | suggested |
Abandoned while playing? | abandoned | Use '1' for yes, blank for no | Boolean | suggested |
Tease | tease | Was it just a tease? Use '1' for true, blank for false | Boolean | suggested |
Note | note | Short notes that get added to the end | String | optional |