Template:Infobox song: Difference between revisions

From Talking Heads Wiki
Jump to navigation Jump to search
m (1 revision imported)
(Attempted to remove quotation marks from song template)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
| aboveclass  = summary
| aboveclass  = summary
| abovestyle  = background-color: {{Infobox song/color|{{{type|}}} }}; font-size: 125%;
| abovestyle  = background-color: {{Infobox song/color|{{{type|}}} }}; font-size: 125%;
| above      = "{{if empty|{{{name|}}}|{{#if:{{{title2|}}}||{{{title|}}}}}|{{PAGENAMEBASE}}}}"{{#if:{{{version|}}}| ({{{version}}})}}
| above      = {{if empty|{{{name|}}}|{{#if:{{{title2|}}}||{{{title|}}}}}|{{PAGENAMEBASE}}}}{{#if:{{{version|}}}| ({{{version}}})}}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{cover|}}}}}}|size={{{cover_size|}}}|upright={{{cover_upright|}}}|sizedefault=frameless|alt={{{alt|}}}|title={{{alt|}}}|border={{{border|}}}}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{cover|}}}}}}|size={{{cover_size|}}}|upright={{{cover_upright|}}}|sizedefault=frameless|alt={{{alt|}}}|title={{{alt|}}}|border={{{border|}}}}}
Line 25: Line 25:


| label5      = <span class="nowrap">[[A-side and B-side|A-side]]</span>
| label5      = <span class="nowrap">[[A-side and B-side|A-side]]</span>
| data5      = {{#if:{{{A-side|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{{A-side}}}|2="|nomatch=}}|{{{A-side}}}|"{{{A-side}}}"}}}}
| data5      = {{#if:{{{A-side|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{{A-side}}}|2=|nomatch=}}|{{{A-side}}}|{{{A-side}}}}}}}
| class5      = plainlist
| class5      = plainlist


| label6      = <span class="nowrap">[[A-side and B-side|B-side]]</span>
| label6      = <span class="nowrap">[[A-side and B-side|B-side]]</span>
| data6      = {{#if:{{{B-side|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{{B-side}}}|2="|nomatch=}}|{{{B-side}}}|"{{{B-side}}}"}}}}
| data6      = {{#if:{{{B-side|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{{B-side}}}|2=|nomatch=}}|{{{B-side}}}|{{{B-side}}}}}}}
| class6      = plainlist
| class6      = plainlist


Line 86: Line 86:
{{(!}} 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 .1em .2em 0;" {{!}} {{#if:{{{prev_title|}}}|"{{{prev_title|}}}" {{#if:{{{prev_version|}}}|({{{prev_version}}}) }}{{#if:{{{prev_title2|}}}| / "{{{prev_title2|}}}"}}{{#if:{{{prev_year|}}}|<br />({{{prev_year|}}})}} }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0;" {{!}} {{#if:{{{prev_title|}}}|{{{prev_title|}}} {{#if:{{{prev_version|}}}|({{{prev_version}}}) }}{{#if:{{{prev_title2|}}}| / {{{prev_title2|}}}}}{{#if:{{{prev_year|}}}|<br />({{{prev_year|}}})}} }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding:.2em .1em;" {{!}} {{#if:{{{title2|}}}|"{{if empty|{{#switch:{{{title|}}}|{{BASEPAGENAME}}|{{PAGENAMEBASE}}='''{{{title}}}'''|{{{title|}}}}}|'''{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}'''}}"{{#if:{{{version|}}}|&nbsp;({{{version}}})}} / "{{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAMEBASE}}='''{{{title2}}}'''|{{{title2}}}}}"|"'''{{if empty|{{{name|}}}|{{{title|}}}|{{PAGENAMEBASE}}}}'''"{{#if:{{{version|}}}|&nbsp;({{{version}}})}}}} {{#if:{{{prev_year|}}}{{{next_year|}}}|<br />({{{year|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|{{{released|}}}|%d%d%d+}}}}})}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding:.2em .1em;" {{!}} {{#if:{{{title2|}}}|{{if empty|{{#switch:{{{title|}}}|{{BASEPAGENAME}}|{{PAGENAMEBASE}}='''{{{title}}}'''|{{{title|}}}}}|'''{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}'''}}{{#if:{{{version|}}}|&nbsp;({{{version}}})}} / {{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAMEBASE}}='''{{{title2}}}'''|{{{title2}}}}}|'''{{if empty|{{{name|}}}|{{{title|}}}|{{PAGENAMEBASE}}}}'''{{#if:{{{version|}}}|&nbsp;({{{version}}})}}}} {{#if:{{{prev_year|}}}{{{next_year|}}}|<br />({{{year|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|{{{released|}}}|%d%d%d+}}}}})}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em;" {{!}} {{#if:{{{next_title|}}}|"{{{next_title|}}}" {{#if:{{{next_version|}}}|({{{next_version}}}) }}{{#if:{{{next_title2|}}}| / "{{{next_title2|}}}"}}{{#if:{{{next_year|}}}|<br />({{{next_year|}}})}} }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em;" {{!}} {{#if:{{{next_title|}}}|{{{next_title|}}} {{#if:{{{next_version|}}}|({{{next_version}}}) }}{{#if:{{{next_title2|}}}| / {{{next_title2|}}}}}{{#if:{{{next_year|}}}|<br />({{{next_year|}}})}} }}
{{!)}}
{{!)}}
}}}}
}}}}

Latest revision as of 04:18, 13 May 2024

Infobox song
Song