Template:Live song and Template:Live song/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
m (Protected "Template:Live song": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(Created page with "{{#invoke:live song/sandbox|entry|{{{1}}}|{{{title|}}}|{{{note|}}}|{{{cover|}}}|{{{tease|}}}|{{{abandoned|}}}|{{{length|}}}|{{{acoustic|}}}}}<noinclude>{{documentation}}</noin...")
 
Line 1: Line 1:
<noinclude>{{#cargo_declare:
{{#invoke:live song/sandbox|entry|{{{1}}}|{{{title|}}}|{{{note|}}}|{{{cover|}}}|{{{tease|}}}|{{{abandoned|}}}|{{{length|}}}|{{{acoustic|}}}}}<noinclude>{{documentation}}</noinclude>
_table = live_songs
| date = Date
| name = Page(mandatory=1)
| cover = String
| tease = Boolean
| acoustic = Boolean
| piano = Boolean
| abandoned = Boolean
| length = String
| seconds = Integer
| soundcheck = Boolean
| prerecorded = Boolean
| vip = Boolean
}}</noinclude><includeonly>{{#cargo_store:
_table = live_songs
| date = {{#invoke:live song|parse_date|{{PAGENAME}}}}
| name = {{{1}}}
| cover = {{#if:{{{cover|}}}|{{delink|{{{cover}}}}}}}
| tease = {{#if:{{{tease|}}}|1|0}}
| acoustic = {{#if:{{{acoustic|}}}|1|0}}
| piano = {{#if:{{{piano|}}}|1|0}}
| abandoned = {{#if:{{{abandoned|}}}|1|0}}
| length = {{{length|}}}
| seconds = {{#if:{{{length|}}}|{{#invoke:live song|time_to_seconds|{{{length}}}}}}}
| soundcheck = {{#if:{{{soundcheck|}}}|1|0}}
| prerecorded = {{#if:{{{prerecorded|{{{tape|}}}}}}|1|0}}
| vip = {{#if:{{{vip|}}}|1|0}}
}}</includeonly>{{#if:{{{position|}}}|<li value={{{position}}}>}}{{#invoke:live song|entry|{{{1}}}|{{{title|}}}|{{{note|}}}|{{{cover|}}}|{{{tease|}}}|{{{abandoned|}}}|{{{length|}}}|{{{acoustic|}}}|{{{piano|}}}|{{{soundcheck|}}}|{{{prerecorded|{{{tape|}}}}}}|{{{vip|}}}|{{{force tour status|}}}}}{{#if:{{{position|}}}|</li>}}<noinclude>{{documentation}}</noinclude>