Jump to content

Template:Extra live chronology: Difference between revisions

no edit summary
m (Donny moved page Template:Extra artist chronology to Template:Extra live chronology: makes it more clearly what this does)
No edit summary
Line 1: Line 1:
{{#if:{{{Last show|}}}{{{Next show|}}}|
<includeonly>{{{{{|safesubst:}}}#invoke:Unsubst-infobox|
   <tr>
  |$params=artist,main_artist,prev_show,next_show
    <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Album type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Album type|}}}}}}};">{{#if:{{{Track listing|}}}|{{{Track listing}}}|'''[[{{{Artist}}}]]'''}}{{#ifeq:{{{Type|}}}|video|&#32;video}}&#32;live show chronology</th>
   |$aliases=Artist>artist,Last show>prev_show,Next show>next_show
  </tr>
  |$indent=1
  <tr>
  |$flags=override|$B=
    <td colspan="3">
 
      <table cellspacing="0" cellpadding="0" width="100%" style="background: transparent;">
{{Infobox
        <tr style="text-align: center; font-size: 0.8em; line-height: 1.4em;">
  | child      = yes
          <td style="width: 33%; text-align: center;vertical-align: top; padding: 0.2em 0.1em 0.2em 0;">{{{Last show|}}}</td>
  | headerstyle = background: {{Template:Infobox concert/color|{{{main_artist|}}}}};color: {{#if:{{{main_artist|}}}|{{Greater color contrast ratio|{{Infobox concert/color|{{{main_artist}}}}}}}|}};
          <td style="width: 33%; text-align: center;vertical-align: top; padding: 0.2em 0.1em 0.2em 0.1em;">{{{This show|}}}</td>
| header1    = {{#if:{{{artist|}}}|{{#invoke:String|replace|error_category=Music infoboxes with Module:String errors{{!}}C|{{delink|{{{artist}}}}} live show chronology}}}}
          <td style="width: 33%; text-align: center;vertical-align: top; padding: 0.2em 0 0.2em 0.1em;">{{{Next show|}}}</td>
| data2      = {{#if:{{{prev_show|}}}{{{next_show|}}}|
        </tr>
{{(!}} style="color:inherit; background: transparent; width: 100%; min-width: 100%; border-collapse: collapse; display: inline-table;"
      </table>}}
{{!}}- style="line-height: 1.4em;"
[[Category:Concerts with multiple relevant artists]]
{{!}} style="width: 33%; text-align: left; vertical-align: top; padding: .2em .1em .2em 0" {{!}}
<noinclude>{{Documentation}}</noinclude>
<div style="float: left;">{{#if:{{{prev_show|}}}|←&nbsp;'''Previous'''<br />{{{prev_show}}}}}</div>
{{!}} style="width: 33%; text-align: right; vertical-align: top; padding: .2em 0 .2em .1em" {{!}}
<div style="float: right;">{{#if:{{{next_show|}}}|'''Next'''&nbsp;→<br />{{{next_show}}}}}</div>
{{!)}}
}}
| below = '''''See also''': [[{{delink|{{{artist}}}}} concert: {{#invoke:String|match|s={{PAGENAME}}|pattern=%d%d/%d%d/%d%d%d%d}}]].''
}}{{#if:{{#ifeq:{{str left|{{{prev_show|}}}|22}}|<div class="plainlist"|1|}}{{#ifeq:{{str left|{{{next_show|}}}|22}}|<div class="plainlist"|1|}}|[[Category:Pages using infobox live chronology parameters with plainlists]]}}{{#if:{{#invoke:String|match|error_category=Concert infoboxes with Module:String errors{{!}}C|1={{{prev_show|}}}{{{next_show|}}}{{{artist|}}}{{{main_artist|}}}x|2=</?t[drh][ >]|nomatch=}}|[[Category:Concert infoboxes with malformed table placement|C]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using extra live chronology with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Extra live chronology]] with unknown parameter "_VALUE_"|ignoreblank=y|  | artist | main_artist | next_show | prev_show}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>