User:Burnst Jamp/Infobox song test: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 90: Line 90:
| header22 = {{#if:{{{live_debut|}}}{{{last_played|}}}{{Known performances section|{{{live_count_artist|{{{artist}}}}}}|{{{name}}}|{{{always_show_live_count|}}}}}|Live}}
| header22 = {{#if:{{{live_debut|}}}{{{last_played|}}}{{Known performances section|{{{live_count_artist|{{{artist}}}}}}|{{{name}}}|{{{always_show_live_count|}}}}}|Live}}


| label22     = <span class="nowrap">Live debut</span>
| label23     = <span class="nowrap">Live debut</span>
| data22     = {{{live_debut|}}}
| data23     = {{{live_debut|}}}


| label23     = Last played
| label24     = Last played
| data23     = {{{last_played|}}}
| data24     = {{{last_played|}}}


| label24     = Known performances
| label25     = Known performances
| data24     = {{Known performances section|{{{live_count_artist|{{{artist}}}}}}|{{{name}}}|{{{always_show_live_count|}}}}}
| data25     = {{Known performances section|{{{live_count_artist|{{{artist}}}}}}|{{{name}}}|{{{always_show_live_count|}}}}}


| label25     = Stream
| label26     = Stream
| data25     = {{#if:{{{spotify|}}}|
| data26     = {{#if:{{{spotify|}}}|
   [[File:Play on spotify.png]] [https://open.spotify.com/track/{{{spotify}}} Spotify]{{#if:{{{apple_music|}}}|<br>}}}}
   [[File:Play on spotify.png]] [https://open.spotify.com/track/{{{spotify}}} Spotify]{{#if:{{{apple_music|}}}|<br>}}}}
   {{#if:{{{apple_music|}}}|[[File:Play on Apple Music.png]] [https://geo.music.apple.com/album/{{{1=apple_music}}} Apple Music]}}
   {{#if:{{{apple_music|}}}|[[File:Play on Apple Music.png]] [https://geo.music.apple.com/album/{{{1=apple_music}}} Apple Music]}}


| header4   = {{#if:{{{riaa|}}}|<nowiki />}}
| header27   = {{#if:{{{riaa|}}}|<nowiki />}}


| label27     = Certification
| label28     = Certification
| data27     = {{{riaa|}}}
| data28     = {{{riaa|}}}


| header29    = {{#if:{{{reviews|}}}|Professional reviews|}}
| header29    = {{#if:{{{reviews|}}}|Professional reviews|}}


| data29     = {{#if:{{{reviews|}}}|<div style="text-align:left">{{#if:{{{reviews|}}}|{{{reviews|}}}}}</div>|}}
| data30     = {{#if:{{{reviews|}}}|<div style="text-align:left">{{#if:{{{reviews|}}}|{{{reviews|}}}}}</div>|}}


| header31    = {{#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|}}}|{{{artist|}}}}}}} singles chronology}}
| header31    = {{#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|}}}|{{{artist|}}}}}}} singles chronology}}


| data31     = {{#if:{{{prev_title|}}}{{{next_title|}}}|
| data32     = {{#if:{{{prev_title|}}}{{{next_title|}}}|
{{(!}} style="background: transparent; color: inherit; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;"
{{(!}} 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;"
Line 126: Line 126:
| header33 = {{#if:{{{prev_rc_title|}}}{{{next_rc_title|}}}|Rivers Cuomo song chronology}}
| header33 = {{#if:{{{prev_rc_title|}}}{{{next_rc_title|}}}|Rivers Cuomo song chronology}}


| data33 = {{#invoke:RCChronology|makeRcRow
| data34 = {{#invoke:RCChronology|makeRcRow
   | prev_rc_title = {{{prev_rc_title|}}}
   | prev_rc_title = {{{prev_rc_title|}}}
   | this_rc_title = {{{this_rc_title|}}}
   | this_rc_title = {{{this_rc_title|}}}
Line 138: Line 138:
| header35      = {{#if:{{{tracks|}}}| {{#if: {{{chronology|}}}|{{{chronology}}}|{{#if:{{{album|}}}{{{EP|}}}{{{single|}}}|''{{{album|}}}{{{EP|}}}{{{single|}}}'' {{nowrap|track listing}}|Track listing}} }} }}
| header35      = {{#if:{{{tracks|}}}| {{#if: {{{chronology|}}}|{{{chronology}}}|{{#if:{{{album|}}}{{{EP|}}}{{{single|}}}|''{{{album|}}}{{{EP|}}}{{{single|}}}'' {{nowrap|track listing}}|Track listing}} }} }}
| rowcellstyle38 = {{#if:{{{tracks|}}}|text-align:left}}
| rowcellstyle38 = {{#if:{{{tracks|}}}|text-align:left}}
| data35         = {{{tracks|}}}
| data36         = {{{tracks|}}}
| 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 | EP | single | language | English_title | english_title | A-side | B-side | written | published | released | format | studio | venue | genre | label | composer | lyricist | producer | reviews | status | rc# | cor# | live_debut | last_played | spotify | apple_music | riaa | prev_rc_title | this_rc_title | next_rc_title | use_cor# | 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 }}
}}{{#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 | EP | single | language | English_title | english_title | A-side | B-side | written | published | released | format | studio | venue | genre | label | composer | lyricist | producer | reviews | status | rc# | cor# | live_debut | last_played | spotify | apple_music | riaa | prev_rc_title | this_rc_title | next_rc_title | use_cor# | 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 }}