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 empty|{{#switch:{{{title|}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title}}}'''|{{{title|}}}}}|'''{{if empty|{{{name|}}}|{{PAGENAME}}}}'''}}" / "{{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title2}}}'''|{{{title2}}}}}"|"'''{{if empty|{{{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:03, 18 May 2023

{{Infobox | bodyclass = vevent

| aboveclass = summary | abovestyle = background-color: #E6E8FA; font-size: 125%; | above = "Infobox song"

| image = | caption =

| headerstyle = background-color: #E6E8FA; | headerclass = description

| rowclass1 = description | header1 = Song | rowclass2 = description | header2 =

| label3 = Language | data3 =

| label4 = English title | data4 =

| label5 = A-side | data5 = | class5 = plainlist

| label6 = B-side | data6 = | class6 = plainlist

| label7 = Written | data7 =

| label8 = Published | data8 =

| label10 = Released | data10 = | class10 = plainlist

| label12 = Recorded | data12 = | class12 = plainlist

| label13 = Studio | data13 = | class13 = plainlist

| label14 = Venue | data14 =

| label15 = Genre | data15 = | class15 = category hlist

| label16 = Length | data16 = | class16 = plainlist

| label17 = Label | data17 = | class17 = hlist

| label40 = Songwriter(s) | data40 = | class40 = hlist

| label41 = Composer(s) | data41 = | class41 = hlist

| label42 = Lyricist(s) | data42 = | class42 = hlist

| label43 = Producer(s) | data43 = | class43 = hlist

| header44 = | rowcellstyle45 = | data45 = {{#if:||data46 =

[create] Template documentation