Open main menu

Changes

Template:Extra chronology

3,171 bytes added, 18:03, 17 November 2018
<includeonly>{{{{{|safesubst:}}}#invoke:Unsubst-infobox||$params=artist,type,prev_title,prev_title2,prev_year,title,title2,year,next_title,next_title2,next_year|$extra=prev_title2,title2,next_title2|$indent=1|$flags=override|$B={{Infobox
| child = yes
| headerstyle = background: {{Template:Infobox album/color|{{{type|}}}}}
| header1 = {{#if:{{{artist|}}}|{{#invoke:String|replace|error_category=Music infoboxes with Module:String errors{{!}}C|{{{artist}}}{{#switch:{{lc:{{{type|}}}}}|single|[[single (music)|single]]|singles|[[single (music)|singles]]=&#32;singles|video=&#32;video}}|singles&#32;singles|singles}} chronology}}
| data2 =
{{(!}} style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse"
{{!}}- style="line-height: 1.4em;"
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{artist|}}}||<hr/>}}{{#if:{{{prev_title|}}}|{{#switch:{{lc:{{{type|}}}}}|single|[[single (music)|single]]|singles|[[single (music)|singles]]="{{{prev_title}}}" {{#if:{{{prev_title2|}}}| / "{{{prev_title2|}}}"}}|''{{{prev_title}}}''}}{{#if:{{{prev_year|}}}|<br />({{{prev_year}}})}}}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" {{!}} {{#if:{{{artist|}}}||<hr/>}}{{#if:{{{title|}}}|{{#switch:{{lc:{{{type|}}}}}|single|[[single (music)|single]]|singles|[[single (music)|singles]]={{#if:{{{title2|}}}|"{{#switch:{{{title}}}|{{BASEPAGENAME}}|{{PAGENAMEBASE}}='''{{{title}}}'''|{{{title}}}}}" / "{{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAMEBASE}}='''{{{title2}}}'''|{{{title2}}}}}"|"'''{{{title}}}'''"}}|'''''{{{title}}}'''''}}{{#if:{{{year|}}}|<br />({{{year}}})}}}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" {{!}} {{#if:{{{artist|}}}||<hr/>}}{{#if:{{{next_title|}}}|{{#switch:{{lc:{{{type|}}}}}|single|[[single (music)|single]]|singles|[[single (music)|singles]]="{{{next_title}}}" {{#if:{{{next_title2|}}}| / "{{{next_title2|}}}"}}|''{{{next_title}}}''}}{{#if:{{{next_year|}}}|<br />({{{next_year}}})}}}}
{{!}}-
{{!)}}
}}{{#if:{{#ifeq:{{str left|{{{prev_title|}}}|22}}|<div class="plainlist"|1|}}{{#ifeq:{{str left|{{{title|}}}|22}}|<div class="plainlist"|1|}}{{#ifeq:{{str left|{{{next_title|}}}|22}}|<div class="plainlist"|1|}}|[[Category:Pages using infobox chronology parameters with plainlists]]}}{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|1={{{prev_title|}}}{{{prev_year|}}}{{{title|}}}{{{year|}}}{{{next_title|}}}{{{next_year|}}}{{{artist|}}}{{{type|}}}{{{prev_title2|}}}{{{title2|}}}{{{next_title2|}}}x|2=</?t[drh][ >]|nomatch=}}|[[Category:Music infoboxes with malformed table placement|C]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using extra chronology with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Extra chronology]] with unknown parameter "_VALUE_"|ignoreblank=y| | artist | next_title | next_title2 | next_year | prev_title | prev_title2 | prev_year | title | title2 | type | year }}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
Anonymous user