Template:Infobox concert: Difference between revisions
Template page
More languages
More actions
| [checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| bodyclass = infobox vevent | | bodyclass = infobox vevent | ||
| bodystyle = width: | | bodystyle = width: 220px !important; min-width: 220px !important; max-width: 220px !important; font-size: 85%; line-height: 1.5em; border: 1px solid var(--border-color-base, #a2a9b1); background-color: var(--background-color-neutral-subtle, #f8f9fa); color: var(--color-base, #202122); border-collapse: collapse; margin: 0 0 1em 1em; float: right; clear: right; | ||
| headerstyle = background-color: var(--background-color-neutral, #eaecf0); border-top: 1px solid var(--border-color-base, #a2a9b1); border-bottom: 1px solid var(--border-color-base, #a2a9b1); text-align: center; | | headerstyle = background-color: var(--background-color-neutral, #eaecf0); border-top: 1px solid var(--border-color-base, #a2a9b1); border-bottom: 1px solid var(--border-color-base, #a2a9b1); text-align: center; | ||
| labelstyle = font-weight: bold; padding: 0. | | labelstyle = font-weight: bold; padding: 0.3em 0.5em; border-bottom: 1px solid var(--border-color-base, #eaecf0); text-align: left; width: 40%; | ||
| datastyle = padding: 0. | | datastyle = padding: 0.3em 0.5em; border-bottom: 1px solid var(--border-color-base, #eaecf0); text-align: left; | ||
| titlestyle = font-size: | | titlestyle = font-size: 110%; font-weight: bold; padding: 0.5em; text-align: center; background-color: var(--background-color-neutral, #f8f9fa); border-bottom: 1px solid var(--border-color-base, #a2a9b1); | ||
| title = {{If empty|{{{concert_tour_name|}}}|{{{concert_name|}}}|{{PAGENAMEBASE}}}} | | title = {{If empty|{{{concert_tour_name|}}}|{{{concert_name|}}}|{{PAGENAMEBASE}}}} | ||
| subheader = <div style="text-align: center; font-weight: bold; padding: 0. | | subheader = <div style="text-align: center; font-weight: bold; padding: 0.3em 0;">{{#if:{{{artist|}}}|<span class="category">{{#switch:{{lc:{{{type|}}}}} | ||
| = {{#if:{{{concert_name|}}}|Concert|Tour}} | | = {{#if:{{{concert_name|}}}|Concert|Tour}} | ||
| concert = Concert | | concert = Concert | ||
| Line 20: | Line 20: | ||
| subheaderstyle = border-bottom: 1px solid var(--border-color-base, #a2a9b1); | | subheaderstyle = border-bottom: 1px solid var(--border-color-base, #a2a9b1); | ||
| image = <div style="text-align: center; padding: 0. | | image = <div style="text-align: center; padding: 0.5em 0;">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{#ifeq:{{{landscape|}}}|yes|1.1|1}}|border=no|alt={{{alt|}}}}}</div> | ||
| caption = {{{caption|{{{image_caption|}}}}}} | | caption = {{{caption|{{{image_caption|}}}}}} | ||
| captionstyle = text-align: center; font-size: | | captionstyle = text-align: center; font-size: 85%; padding-bottom: 0.5em; | ||
| label1 = Venue | | label1 = Venue | ||
| Line 38: | Line 38: | ||
| header10 = {{#if:{{{last_show|{{{last_concert|{{{last_tour|}}}}}}}}}{{{next_show|{{{next_concert|{{{next_tour|}}}}}}}}}|<div style="padding: 0.2em 0;">{{{chronology|{{{artist|}}} concert chronology}}}</div>}} | | header10 = {{#if:{{{last_show|{{{last_concert|{{{last_tour|}}}}}}}}}{{{next_show|{{{next_concert|{{{next_tour|}}}}}}}}}|<div style="padding: 0.2em 0;">{{{chronology|{{{artist|}}} concert chronology}}}</div>}} | ||
| data11 = {{#if:{{{last_show|{{{last_concert|{{{last_tour|}}}}}}}}}{{{next_show|{{{next_concert|{{{next_tour|}}}}}}}}}| | | data11 = {{#if:{{{last_show|{{{last_concert|{{{last_tour|}}}}}}}}}{{{next_show|{{{next_concert|{{{next_tour|}}}}}}}}}| | ||
<table style="width: 100%; display: table; table-layout: fixed; border-collapse: collapse; font-size: | <table style="width: 100%; display: table; table-layout: fixed; border-collapse: collapse; font-size: 90%; background: transparent; margin: 0; color: inherit;"> | ||
<tr> | <tr> | ||
<td style="width: 33%; text-align: left; vertical-align: top; padding: 0. | <td style="width: 33%; text-align: left; vertical-align: top; padding: 0.4em 0.2em;">{{{last_show|{{{last_concert|{{{last_tour|}}}}}}}}}</td> | ||
<td style="width: 34%; text-align: center; vertical-align: top; padding: 0. | <td style="width: 34%; text-align: center; vertical-align: top; padding: 0.4em 0.2em; font-weight: bold;">{{{this_show|{{{this_concert|{{{this_tour|{{{concert_name|{{{concert_tour_name|}}}}}}}}}}}}}}}</td> | ||
<td style="width: 33%; text-align: right; vertical-align: top; padding: 0. | <td style="width: 33%; text-align: right; vertical-align: top; padding: 0.4em 0.2em;">{{{next_show|{{{next_concert|{{{next_tour|}}}}}}}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
}} | }} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox concert with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox concert]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | artist | caption | chronology | concert_name | concert_tour_name | date | duration | image | image_caption | image_size | landscape | last_concert | last_show | last_tour | location | next_concert | next_show | next_tour | this_concert | this_show | this_tour | tour | type | venue }}</includeonly> | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox concert with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox concert]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | artist | caption | chronology | concert_name | concert_tour_name | date | duration | image | image_caption | image_size | landscape | last_concert | last_show | last_tour | location | next_concert | next_show | next_tour | this_concert | this_show | this_tour | tour | type | venue }}</includeonly> | ||