Template:Infobox song: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 86: Line 86:
{{!}}- 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_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_title2|}}}| / "{{{prev_title2|}}}"}}{{#if:{{{prev_year|}}}|<br />({{{prev_year|}}})}} }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding:.2em .1em;" {{!}} {{#if:{{{title2|}}}|"{{#if:{{{title|}}}|{{#switch:{{{title|}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title}}}'''|{{{title|}}}}}|'''{{{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}'''}}" / "{{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title2}}}'''|{{{title2}}}}}"|"'''{{{{#if:{{{name|}}}|{{{name|}}}|{{{title|}}}|{{PAGENAME}}}}'''"}} {{#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:{{{title|}}}|{{#switch:{{{title|}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title}}}'''|{{{title|}}}}}|'''{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}'''}}" / "{{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title2}}}'''|{{{title2}}}}}"|"'''{{#if:{{{name|}}}|{{{name|}}}|{{{title|}}}|{{PAGENAME}}}}'''"}} {{#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_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_title2|}}}| / "{{{next_title2|}}}"}}{{#if:{{{next_year|}}}|<br />({{{next_year|}}})}} }}
{{!)}}
{{!)}}

Revision as of 09:04, 18 May 2023

"Infobox song"
Song
[create] Template documentation