Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox song: Difference between revisions

Template page
Created page with "<!--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}}}}..."
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 24: Line 24:
| data4      = {{{English_title|{{{english_title|}}}}}}
| data4      = {{{English_title|{{{english_title|}}}}}}


| label5      = <span class="nowrap">[[A-side and B-side|A-side]]</span>
| label5      = <span style="color:black"><span class="nowrap">A-side</span></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 style="color:black"><span class="nowrap">B-side</span></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 38: Line 38:
| data8      = {{{published|}}}
| data8      = {{{published|}}}


| label10    = Released
| label10    = <span style="color:black">Released</span>
| data10      = {{{released|}}}
| data10      = {{{released|}}}
| class10    = plainlist
| class10    = plainlist
Line 46: Line 46:
| class12    = plainlist
| class12    = plainlist


| label13    = [[Recording studio|Studio]]<!--this link is here deliberately; see the talk page-->
| label13    = Studio<!--this link is here deliberately; see the talk page-->
| data13      = {{{studio|}}}
| data13      = {{{studio|}}}
| class13    = plainlist
| class13    = plainlist
Line 53: Line 53:
| data14      = {{{venue|}}}
| data14      = {{{venue|}}}


| label15    = [[Music genre|Genre]]
| label15    = Genre
| data15      = {{{genre|}}}
| data15      = {{{genre|}}}
| class15    = category hlist
| class15    = category hlist


| label16    = Length
| label16    = <span style="color:black">Length</span>
| data16      = {{#invoke:hms|main|duration={{{length|}}}}}
| data16      = {{#invoke:hms|main|duration={{{length|}}}}}
| class16    = plainlist
| class16    = plainlist


| label17    = [[Record label|Label]]
| label17    = <span style="color:black">Label</span>
| data17      = {{{label|}}}
| data17      = {{{label|}}}
| class17    = hlist
| class17    = hlist


| label40    = <span class="nowrap">[[Songwriter|Songwriter(s)]]</span><!--this link is here deliberately; see the talk page-->
| label18    = <span style="color:black">BPM</span>
| data18      = {{{BPM|}}}
| class18    = hlist
 
| label19    = <span style="color:black">Key</span>
| data19      = {{{key|}}}
| class19    = hlist
 
| label40    = <span style="color:black"><span class="nowrap">Songwriter(s)</span></span><!--this link is here deliberately; see the talk page-->
| data40      = {{{writer|}}}
| data40      = {{{writer|}}}
| class40    = hlist
| class40    = hlist


| label41    = <span class="nowrap">[[Composer|Composer(s)]]</span><!--this link is here deliberately; see the talk page-->
| 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|Lyricist(s)]]</span>
| label42    = <span class="nowrap">Lyricist(s)</span>
| data42      = {{{lyricist|}}}
| data42      = {{{lyricist|}}}
| class42    = hlist
| class42    = hlist


| label43    = <span class="nowrap">[[Record producer|Producer(s)]]</span><!--this link is here deliberately; see the talk page-->
| label43    = <span style="color:black"><span class="nowrap">Producer(s)</span></span><!--this link is here deliberately; see the talk page-->
| data43      = {{{producer|}}}
| data43      = {{{producer|}}}
| class43    = hlist
| class43    = hlist


| 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]]=&#32;singles}}|singles&#32;singles|singles}}|{{#ifeq: {{str letter|{{delink| {{{artist|}}} }}}}|0|{{{artist|}}}|{{#invoke:String2 | ucfirst |{{{artist|}}}}}}} singles}} chronology}}}}
| 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|singles|singles=&#32;singles}}|singles&#32;singles|singles}}|{{#ifeq: {{str letter|{{delink| {{{artist|}}} }}}}|0|{{{artist|}}}|{{#invoke:String2 | ucfirst |{{{artist|}}}}}}} singles}} chronology}}}}


| data45      = {{#if:{{{tracks|}}}||{{#if:{{{prev_title|}}}{{{next_title|}}}|
| data45      = {{#if:{{{tracks|}}}||{{#if:{{{prev_title|}}}{{{next_title|}}}|
Line 97: Line 105:


| below = {{{misc|}}}
| below = {{{misc|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox song with unknown parameters|_VALUE_{{PAGENAME}}]]}}|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 }}{{main other|{{#if:{{{length|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{#invoke:hms|main|duration={{{length|}}}}}|2=class="duration"|plain=true|nomatch=}}|[[Category:Articles with hAudio microformats]]}}{{#if:{{{writer|}}}{{{composer|}}}{{{lyricist|}}}||[[Category:Song articles with missing songwriters]]}}{{#if:{{both|{{{writer|}}}|{{{composer|}}}}}|[[Category:Song articles with both composer and songwriter]]}}{{#if:{{both|{{{writer|}}}|{{{lyricist|}}}}}|[[Category:Song articles with both lyricist and songwriter]]}}{{#if:{{{lyricist|}}}|{{#if:{{{composer|}}}||[[Category:Song articles with lyricist but not composer]]}}}}}}{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{{name|}}}{{{cover|}}}{{{cover_size|}}}{{{alt|}}}{{{border|}}}{{{caption|}}}{{{type|}}}{{{artist|}}}{{{album|}}}{{{EP|}}}{{{language|}}}{{{English_title|}}}{{{writer|}}}{{{composer|}}}{{{lyricist|}}}{{{written|}}}{{{published|}}}{{{genre|}}}{{{recorded|}}}{{{studio|}}}{{{venue|}}}{{{length|}}}{{{producer|}}}{{{released|}}}{{{label|}}}{{{A-side|}}}{{{B-side|}}}{{{chronology|}}}{{{prev_title|}}}{{{prev_title2|}}}{{{prev_year|}}}{{{title|}}}{{{title2|}}}{{{year|}}}{{{next_title|}}}{{{next_title2|}}}{{{next_year|}}}{{{tracks|}}}{{{image|}}}{{{english_title|}}}x|2=</?t[drh][ >]|nomatch=}}|[[Category:Music infoboxes with malformed table placement|S]]}}}}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox song with unknown parameters|_VALUE_{{PAGENAME}}]]}}|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 | BPM | key | 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 }}{{main other|{{#if:{{{length|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{#invoke:hms|main|duration={{{length|}}}}}|2=class="duration"|plain=true|nomatch=}}|[[Category:Articles with hAudio microformats]]}}{{#if:{{{writer|}}}{{{composer|}}}{{{lyricist|}}}||[[Category:Song articles with missing songwriters]]}}{{#if:{{both|{{{writer|}}}|{{{composer|}}}}}|[[Category:Song articles with both composer and songwriter]]}}{{#if:{{both|{{{writer|}}}|{{{lyricist|}}}}}|[[Category:Song articles with both lyricist and songwriter]]}}{{#if:{{{lyricist|}}}|{{#if:{{{composer|}}}||[[Category:Song articles with lyricist but not composer]]}}}}}}{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{{name|}}}{{{cover|}}}{{{cover_size|}}}{{{alt|}}}{{{border|}}}{{{caption|}}}{{{type|}}}{{{artist|}}}{{{album|}}}{{{EP|}}}{{{language|}}}{{{English_title|}}}{{{writer|}}}{{{composer|}}}{{{lyricist|}}}{{{written|}}}{{{published|}}}{{{genre|}}}{{{recorded|}}}{{{studio|}}}{{{venue|}}}{{{length|}}}{{{producer|}}}{{{released|}}}{{{label|}}}{{{A-side|}}}{{{B-side|}}}{{{chronology|}}}{{{prev_title|}}}{{{prev_title2|}}}{{{prev_year|}}}{{{title|}}}{{{title2|}}}{{{year|}}}{{{next_title|}}}{{{next_title2|}}}{{{next_year|}}}{{{tracks|}}}{{{image|}}}{{{english_title|}}}x|2=</?t[drh][ >]|nomatch=}}|[[Category:Music infoboxes with malformed table placement|S]]}}}}<noinclude>
<!-- please place category links on the /doc page; interwiki links to Wikidata, thank you! -->
<!-- please place category links on the /doc page; interwiki links to Wikidata, thank you! -->
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:38, 29 March 2025

"Infobox song"
Song