Template:Infobox song: Difference between revisions

From The Kristen Barry Archive
No edit summary
No edit summary
Line 1: Line 1:
<!--begin short description-->{{#ifeq:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Ss]ong}}|true|{{#if:{{Has short description}} |<!--Do nothing--> |{{short description|{{#invoke:Plain text|main|{{#if:{{#invoke:string|match|{{{released|}}}|%d%d%d%d|ignore_errors = true}}|{{#invoke:string|match|{{{released|}}}|%d%d%d%d|ignore_errors = true}} {{lc:{{Infobox song/link|{{{type|}}} }}}}|{{Infobox song/link||by {{{artist}}} }}|noreplace}}}}}}}}<!-- end short description
<!--begin short description-->{{#ifeq:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Ss]ong}}|true|{{#if:{{Has short description}} |<!--Do nothing--> |{{short description|{{#invoke:Plain text|main|{{#if:{{#invoke:string|match|{{{released|}}}|%d%d%d%d|ignore_errors = true}}|{{#invoke:string|match|{{{released|}}}|%d%d%d%d|ignore_errors = true}} {{lc:{{Infobox song/link|{{{type|}}} }}}}|{{Infobox song/link|{{{type|}}} }}}} {{#if:{{{artist|}}}|by {{{artist}}} }}|noreplace}}}}}}}}<!-- end short description
-->{{Infobox
-->{{Infobox
| bodyclass  = vevent
| bodyclass  = vevent
Line 14: Line 14:


| rowclass1  = description
| rowclass1  = description
| header1    = {{Infobox song/link|{{{type|}}} }} {{#if:{{{artist|}}}|by {{{artist}}}}}
| header1    = {{Infobox song/link|by {{{artist}}}}}
| rowclass2  = description
| rowclass2  = description
| header2    = {{#if:{{{album|}}}|from the album '' {{If empty|{{{album|}}}}} ''|{{#if:{{{EP|}}}|from the EP '' {{{EP|}}} ''}}}}
| header2    = {{#if:{{{album|}}}|from the album '' {{If empty|{{{album|}}}}} ''|{{#if:{{{EP|}}}|from the EP '' {{{EP|}}} ''}}}}

Revision as of 16:54, 10 June 2025

"Infobox song"
by {{{artist}}}