Template:Infobox song: Difference between revisions
better formatting of RC song chronology
(adding optional use of COR# instead of RC# for Rivers Cuomo song chronology (last edit was messed up due to database error)) |
I'm A Robot (talk | contribs) (better formatting of RC song chronology) |
||
Line 104: | Line 104: | ||
{{!)}} | {{!)}} | ||
}} | }} | ||
| header34 = {{#if:{{{prev_rc_title|}}}{{{next_rc_title|}}}|Rivers Cuomo song chronology}} | | header34 = {{#if:{{{prev_rc_title|}}}{{{next_rc_title|}}}|Rivers Cuomo song chronology}} | ||
| data35 = {{#if:{{{prev_rc_title|}}}{{{next_rc_title|}}}| | | data35 = {{#if:{{{prev_rc_title|}}}{{{next_rc_title|}}}| | ||
{{(!}} style="background: transparent; color: inherit; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;" | {{(!}} style="background: transparent; color: inherit; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;" | ||
{{!}}- style="line-height: 1.4em;" | {{!}}- style="line-height: 1.4em;" | ||
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em | {{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em .1em;" {{!}} {{#if:{{{prev_rc_title|}}}|"{{{prev_rc_title}}}" {{#if:{{{rc#|}}}{{{cor#|}}}|{{#if:{{{use_cor#|}}}|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{#expr: {{{cor#}}} - 1 }})|<br />(COR# {{{cor#}}})}}|{{#if:{{#invoke:String|match|1={{{rc#}}}|2=^%d+$|nomatch=}}|<br />(RC# {{#expr: {{{rc#}}} - 1 }})|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{#expr: {{{cor#}}} - 1 }})}}|<br />(COR# {{{cor#}}})}}}} }} | ||
{{#if:{{{prev_rc_title|}}}|"{{{prev_rc_title}}}" | {{!}} style="width: 33%; text-align: center; vertical-align: top; padding:.2em .1em;" {{!}} "'''{{#if: {{{this_rc_title|}}}|{{{this_rc_title}}}|{{if empty|{{{title|}}}|{{PAGENAMEBASE}}}}}}'''" {{#if:{{{rc#|}}}{{{cor#|}}}|{{#if:{{{use_cor#|}}}|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{{cor#}}})|<br />(COR# {{{cor#}}})}}|{{#if:{{#invoke:String|match|1={{{rc#}}}|2=^%d+$|nomatch=}}|<br />(RC# {{{rc#}}})|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{{cor#}}})}}|<br />(COR# {{{cor#}}})}} }} | ||
{{#if:{{{rc#|}}}{{{cor#|}}} | {{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em;" {{!}} {{#if:{{{next_rc_title|}}}|"{{{next_rc_title}}}" {{#if:{{{rc#|}}}{{{cor#|}}}|{{#if:{{{use_cor#|}}}|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{#expr: {{{cor#}}} + 1 }})|<br />(COR# {{{cor#}}})}}|{{#if:{{#invoke:String|match|1={{{rc#}}}|2=^%d+$|nomatch=}}|<br />(RC# {{#expr: {{{rc#}}} + 1 }})|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{#expr: {{{cor#}}} + 1 }})}}|<br />(COR# {{{cor#}}})}}}} }} | ||
|{{#if:{{{use_cor#|}}} | |||
|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{#expr: {{{cor#}}} - 1 }})|<br />(COR# {{{cor#}}})}} | |||
|{{#if:{{#invoke:String|match|1={{{rc#}}}|2=^%d+$|nomatch=}}|<br />(RC# {{#expr: {{{rc#}}} - 1 }}) | |||
|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{#expr: {{{cor#}}} - 1 }})}} | |||
|<br />(COR# {{{cor#}}})}}}}}} | |||
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding:.2em .1em;" {{!}} | |||
"'''{{#if: {{{this_rc_title|}}}|{{{this_rc_title}}}|{{if empty|{{{title|}}}|{{PAGENAMEBASE}}}}}}'''" | |||
{{#if:{{{rc#|}}}{{{cor#|}}} | |||
|{{#if:{{{use_cor#|}}} | |||
|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{{cor#}}})|<br />(COR# {{{cor#}}})}} | |||
|{{#if:{{#invoke:String|match|1={{{rc#}}}|2=^%d+$|nomatch=}}|<br />(RC# {{{rc#}}}) | |||
|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{{cor#}}})}} | |||
|<br />(COR# {{{cor#}}})}}}} | |||
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em;" {{!}} | |||
{{#if:{{{next_rc_title|}}}|"{{{next_rc_title}}}" | |||
{{#if:{{{rc#|}}}{{{cor#|}}} | |||
|{{#if:{{{use_cor#|}}} | |||
|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{#expr: {{{cor#}}} + 1 }})|<br />(COR# {{{cor#}}})}} | |||
|{{#if:{{#invoke:String|match|1={{{rc#}}}|2=^%d+$|nomatch=}}|<br />(RC# {{#expr: {{{rc#}}} + 1 }}) | |||
|{{#if:{{#invoke:String|match|1={{{cor#}}}|2=^%d+$|nomatch=}}|<br />(COR# {{#expr: {{{cor#}}} + 1 }})}} | |||
|<br />(COR# {{{cor#}}})}}}}}} | |||
{{!)}} | {{!)}} | ||
}}}}}}}} | }}}}}}}} | ||
| header36 = {{#if:{{{tracks|}}}| {{#if: {{{chronology|}}}|{{{chronology}}}|{{#if:{{{album|}}}{{{EP|}}}{{{single|}}}|''{{{album|}}}{{{EP|}}}{{{single|}}}'' {{nowrap|track listing}}|Track listing}} }} }} | | header36 = {{#if:{{{tracks|}}}| {{#if: {{{chronology|}}}|{{{chronology}}}|{{#if:{{{album|}}}{{{EP|}}}{{{single|}}}|''{{{album|}}}{{{EP|}}}{{{single|}}}'' {{nowrap|track listing}}|Track listing}} }} }} | ||
| rowcellstyle37 = {{#if:{{{tracks|}}}|text-align:left}} | | rowcellstyle37 = {{#if:{{{tracks|}}}|text-align:left}} |