Template:Infobox song: Difference between revisions
From The Kristen Barry Archive
No edit summary Tag: Reverted |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
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|{{{type|}}} }}}} {{#if:{{{artist|}}}|by {{{artist}}} }}|noreplace}}}}}}}}<!-- end short description | ||
| | -->{{Infobox | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | |||
| bodyclass = vevent | | bodyclass = vevent | ||
| aboveclass = summary | | aboveclass = summary | ||
| abovestyle = background-color: {{Infobox song/color|{{{type|{{{ | | abovestyle = color: #202122;background-color: {{Infobox song/color|{{{type|}}} }}; font-size: 125%; | ||
| above = "{{if empty|{{{name|}}}|{{#if:{{{title2|}}}||{{{title|}}}}}|{{PAGENAMEBASE}}}}"{{#if:{{{version|}}}| ({{{version}}})}} | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{cover| | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{cover|}}}}}}|size={{{cover_size|}}}|upright={{{cover_upright|}}}|sizedefault=frameless|alt={{{alt|}}}|title={{{alt|}}}|border={{{border|}}}}} | ||
| caption = {{{caption| | | caption = {{{caption|}}} | ||
| headerstyle = background-color: {{Infobox song/color|{{{type| | | headerstyle = color: #202122;background-color: {{Infobox song/color|{{{type|}}} }}; | ||
| headerclass = description | | headerclass = description | ||
| rowclass1 = description | | rowclass1 = description | ||
| header1 = {{Infobox song/link | | header1 = {{Infobox song/link|{{{artist}}}}} | ||
| rowclass2 = description | | rowclass2 = description | ||
| header2 = | | header2 = {{#if:{{{album|}}}|from the album '' {{If empty|{{{album|}}}}} ''|{{#if:{{{EP|}}}|from the EP '' {{{EP|}}} ''}}}} | ||
| label3 = Language | | label3 = Language | ||
| data3 = {{{language| | | data3 = {{{language|}}} | ||
| label4 = English title | | label4 = English title | ||
| data4 = {{{English_title|{{{english_title|}}}}}} | | data4 = {{{English_title|{{{english_title|}}}}}} | ||
| label5 = <span class="nowrap">A-side</span> | | label5 = <span class="nowrap">[[A-side and B-side|A-side]]</span> | ||
| data5 = {{#if:{{{A | | 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">B-side</span> | | label6 = <span class="nowrap">[[A-side and B-side|B-side]]</span> | ||
| data6 = {{#if:{{{B | | 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 | ||
| label7 = Written | | label7 = Written | ||
| data7 = {{{written| | | data7 = {{{written|}}} | ||
| label8 = Published | | label8 = Published | ||
| data8 = {{{published| | | data8 = {{{published|}}} | ||
| label10 = Released | | label10 = Released | ||
| data10 = {{{released|}}} | |||
| class10 = plainlist | | class10 = plainlist | ||
| | | label12 = Recorded | ||
| | | data12 = {{{recorded|}}} | ||
| class12 = plainlist | | class12 = plainlist | ||
| label13 = Studio | | label13 = Studio<!--this link is here deliberately; see the talk page--> | ||
| data13 = {{{studio|}}} | |||
| class13 = plainlist | | class13 = plainlist | ||
| label14 = Venue | | label14 = Venue | ||
| data14 = {{{venue | | data14 = {{{venue|}}} | ||
| label16 = Length | | label16 = Length | ||
| data16 = {{#invoke:hms|main|duration={{{length| | | data16 = {{#invoke:hms|main|duration={{{length|}}}}} | ||
| class16 = plainlist | | class16 = plainlist | ||
| label17 = Label | | label17 = Label | ||
| data17 = {{{label| | | data17 = {{{label|}}} | ||
| class17 = hlist | | class17 = hlist | ||
| label40 = <span class="nowrap">Songwriter(s)</span> | | label40 = <span class="nowrap">Songwriter(s)</span><!--this link is here deliberately; see the talk page--> | ||
| data40 = {{{writer|}}} | |||
| class40 = hlist | | class40 = hlist | ||
| label41 = <span class="nowrap">Composer(s)</span> | | label41 = <span class="nowrap">Composer(s)</span><!--this link is here deliberately; see the talk page--> | ||
| data41 = {{{composer| | | data41 = {{{composer|}}} | ||
| class41 = hlist | | class41 = hlist | ||
| label42 = <span class="nowrap">Lyricist(s)</span> | | label42 = <span class="nowrap">Lyricist(s)</span> | ||
| data42 = {{{lyricist| | | data42 = {{{lyricist|}}} | ||
| class42 = hlist | | class42 = hlist | ||
| label43 = <span class="nowrap">Producer(s)</span> | | label43 = <span class="nowrap">Producer(s)</span><!--this link is here deliberately; see the talk page--> | ||
| data43 = {{{producer|}}} | |||
| class43 = hlist | | class43 = hlist | ||
| header44 = {{#if:{{{tracks | | header44 = {{#if:{{{tracks|}}}||{{#if:{{{prev_title|}}}{{{next_title|}}}|{{#if:{{{chronology|}}}|{{#invoke:String|replace|error_category=Music infoboxes with Module:String errors{{!}}C|{{{chronology}}}{{#switch:{{lc:{{{type|}}}}}|single|[[single (music)|single]]|singles|[[single (music)|singles]]= singles}}|singles singles|singles}}|{{#ifeq: {{str letter|{{delink| {{{artist|}}} }}}}|0|{{{artist|}}}|{{#invoke:String2 | ucfirst |{{{artist|}}}}}}} singles}} chronology}}}} | ||
| | |||
| data45 = {{#if:{{{tracks | | data45 = {{#if:{{{tracks|}}}||{{#if:{{{prev_title|}}}{{{next_title|}}}| | ||
{{(!}} style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse;" | {{(!}} 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_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_concurrent|}}}|{{sp}}and "{{{prev_concurrent|}}}"}}{{#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|}}}|{{{ | {{!}} style="width: 33%; text-align: center; vertical-align: top; padding:.2em .1em;" {{!}} {{#if:{{{title2|}}}|{{#if:{{{concurrent_title|}}}|"{{{concurrent_title|}}}" and{{sp}}|}}"{{if empty|{{#switch:{{{title|}}}|{{BASEPAGENAME}}|{{PAGENAMEBASE}}='''{{{title}}}'''|{{{title|}}}}}|'''{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}'''}}"{{#if:{{{version|}}}| ({{{version}}})}} / "{{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAMEBASE}}='''{{{title2}}}'''|{{{title2}}}}}"|"'''{{if empty|{{{name|}}}|{{{title|}}}|{{PAGENAMEBASE}}}}'''"{{#if:{{{concurrent_title|}}}|{{sp}}and "{{{concurrent_title|}}}"|}}{{#if:{{{version|}}}| ({{{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_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_concurrent|}}}|{{sp}}and "{{{next_concurrent|}}}"}}{{#if:{{{next_title2|}}}| / "{{{next_title2|}}}"}}{{#if:{{{next_year|}}}|<br />({{{next_year|}}})}} }} | ||
{{!)}} | {{!)}} | ||
}}}} | }}}} | ||
| header62 = {{#if:{{{tracks | | header62 = {{#if:{{{tracks|}}}| {{#if: {{{chronology|}}}|{{{chronology}}}|{{#if:{{{album|}}}{{{EP|}}}|''{{{album|}}}{{{EP|}}}'' {{nowrap|track listing}}|Track listing}} }} }} | ||
| rowcellstyle63 = {{#if:{{{tracks| | | rowcellstyle63 = {{#if:{{{tracks|}}}|text-align:left}} | ||
| data63 = {{{tracks| | | data63 = {{{tracks|}}} | ||
| | | below = {{{misc|}}} | ||
|preview=Page using [[Template:Infobox song]] with unknown parameter "_VALUE_"|ignoreblank=y | type | EP | writer | title2 | tracks | recorded | length | prev_track | next_track | chronology | name | title | image | cover | cover_size | cover_upright | alt | border | caption | artist | album | language | English_title | english_title | A-side | B-side | written | published | released | studio | venue | genre | label | composer | lyricist | producer | prev_title | next_title | prev_title2 | prev_year | next_year | year | next_title2 | misc | version | prev_version | next_version | prev_concurrent | concurrent_title | next_concurrent }} | |||
}} | |||
Latest revision as of 20:50, 10 June 2025
"Infobox song" | |
---|---|
{{{artist}}} |