Template:Ensemble: Difference between revisions
From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Simplified syntax using #explode - just Name or Name:instrument (via update-page on MediaWiki MCP Server) |
Fix styling - add width, float right to match Show template (via update-page on MediaWiki MCP Server) |
||
| Line 27: | Line 27: | ||
[[Category:Show templates]] | [[Category:Show templates]] | ||
</noinclude><includeonly><div class="ensemble-infobox" style="border: 1px solid #aaa; padding: 0.5em; margin: 0 | </noinclude><includeonly><div class="ensemble-infobox" style="width: 22em; border: 1px solid #aaa; padding: 0.5em; margin: 0 0 1em 1em; float: right; clear: right; background: #f9f9f9;"> | ||
<div style="background: #789; color: white; font-weight: bold; padding: 0.3em; margin: -0.5em -0.5em 0.5em -0.5em; text-align: center;">{{#if:{{{title|}}}|{{{title}}}|Ensemble}}</div> | <div style="background: #789; color: white; font-weight: bold; padding: 0.3em; margin: -0.5em -0.5em 0.5em -0.5em; text-align: center;">{{#if:{{{title|}}}|{{{title}}}|Ensemble}}</div> | ||
<div style="line-height: 1.8;">{{#if:{{{1|}}}|{{m|{{#explode:{{{1}}}|:|0}}|{{#explode:{{{1}}}|:|1}}}}<br/>|}}{{#if:{{{2|}}}|{{m|{{#explode:{{{2}}}|:|0}}|{{#explode:{{{2}}}|:|1}}}}<br/>|}}{{#if:{{{3|}}}|{{m|{{#explode:{{{3}}}|:|0}}|{{#explode:{{{3}}}|:|1}}}}<br/>|}}{{#if:{{{4|}}}|{{m|{{#explode:{{{4}}}|:|0}}|{{#explode:{{{4}}}|:|1}}}}<br/>|}}{{#if:{{{5|}}}|{{m|{{#explode:{{{5}}}|:|0}}|{{#explode:{{{5}}}|:|1}}}}<br/>|}}{{#if:{{{6|}}}|{{m|{{#explode:{{{6}}}|:|0}}|{{#explode:{{{6}}}|:|1}}}}<br/>|}}{{#if:{{{7|}}}|{{m|{{#explode:{{{7}}}|:|0}}|{{#explode:{{{7}}}|:|1}}}}<br/>|}}{{#if:{{{8|}}}|{{m|{{#explode:{{{8}}}|:|0}}|{{#explode:{{{8}}}|:|1}}}}<br/>|}}{{#if:{{{9|}}}|{{m|{{#explode:{{{9}}}|:|0}}|{{#explode:{{{9}}}|:|1}}}}<br/>|}}{{#if:{{{10|}}}|{{m|{{#explode:{{{10}}}|:|0}}|{{#explode:{{{10}}}|:|1}}}}<br/>|}}{{#if:{{{11|}}}|{{m|{{#explode:{{{11}}}|:|0}}|{{#explode:{{{11}}}|:|1}}}}<br/>|}}{{#if:{{{12|}}}|{{m|{{#explode:{{{12}}}|:|0}}|{{#explode:{{{12}}}|:|1}}}}<br/>|}}{{#if:{{{13|}}}|{{m|{{#explode:{{{13}}}|:|0}}|{{#explode:{{{13}}}|:|1}}}}<br/>|}}{{#if:{{{14|}}}|{{m|{{#explode:{{{14}}}|:|0}}|{{#explode:{{{14}}}|:|1}}}}<br/>|}}{{#if:{{{15|}}}|{{m|{{#explode:{{{15}}}|:|0}}|{{#explode:{{{15}}}|:|1}}}}<br/>|}}{{#if:{{{16|}}}|{{m|{{#explode:{{{16}}}|:|0}}|{{#explode:{{{16}}}|:|1}}}}<br/>|}}{{#if:{{{17|}}}|{{m|{{#explode:{{{17}}}|:|0}}|{{#explode:{{{17}}}|:|1}}}}<br/>|}}{{#if:{{{18|}}}|{{m|{{#explode:{{{18}}}|:|0}}|{{#explode:{{{18}}}|:|1}}}}<br/>|}}{{#if:{{{19|}}}|{{m|{{#explode:{{{19}}}|:|0}}|{{#explode:{{{19}}}|:|1}}}}<br/>|}}{{#if:{{{20|}}}|{{m|{{#explode:{{{20}}}|:|0}}|{{#explode:{{{20}}}|:|1}}}}|}}</div></div></includeonly> | <div style="line-height: 1.8;">{{#if:{{{1|}}}|{{m|{{#explode:{{{1}}}|:|0}}|{{#explode:{{{1}}}|:|1}}}}<br/>|}}{{#if:{{{2|}}}|{{m|{{#explode:{{{2}}}|:|0}}|{{#explode:{{{2}}}|:|1}}}}<br/>|}}{{#if:{{{3|}}}|{{m|{{#explode:{{{3}}}|:|0}}|{{#explode:{{{3}}}|:|1}}}}<br/>|}}{{#if:{{{4|}}}|{{m|{{#explode:{{{4}}}|:|0}}|{{#explode:{{{4}}}|:|1}}}}<br/>|}}{{#if:{{{5|}}}|{{m|{{#explode:{{{5}}}|:|0}}|{{#explode:{{{5}}}|:|1}}}}<br/>|}}{{#if:{{{6|}}}|{{m|{{#explode:{{{6}}}|:|0}}|{{#explode:{{{6}}}|:|1}}}}<br/>|}}{{#if:{{{7|}}}|{{m|{{#explode:{{{7}}}|:|0}}|{{#explode:{{{7}}}|:|1}}}}<br/>|}}{{#if:{{{8|}}}|{{m|{{#explode:{{{8}}}|:|0}}|{{#explode:{{{8}}}|:|1}}}}<br/>|}}{{#if:{{{9|}}}|{{m|{{#explode:{{{9}}}|:|0}}|{{#explode:{{{9}}}|:|1}}}}<br/>|}}{{#if:{{{10|}}}|{{m|{{#explode:{{{10}}}|:|0}}|{{#explode:{{{10}}}|:|1}}}}<br/>|}}{{#if:{{{11|}}}|{{m|{{#explode:{{{11}}}|:|0}}|{{#explode:{{{11}}}|:|1}}}}<br/>|}}{{#if:{{{12|}}}|{{m|{{#explode:{{{12}}}|:|0}}|{{#explode:{{{12}}}|:|1}}}}<br/>|}}{{#if:{{{13|}}}|{{m|{{#explode:{{{13}}}|:|0}}|{{#explode:{{{13}}}|:|1}}}}<br/>|}}{{#if:{{{14|}}}|{{m|{{#explode:{{{14}}}|:|0}}|{{#explode:{{{14}}}|:|1}}}}<br/>|}}{{#if:{{{15|}}}|{{m|{{#explode:{{{15}}}|:|0}}|{{#explode:{{{15}}}|:|1}}}}<br/>|}}{{#if:{{{16|}}}|{{m|{{#explode:{{{16}}}|:|0}}|{{#explode:{{{16}}}|:|1}}}}<br/>|}}{{#if:{{{17|}}}|{{m|{{#explode:{{{17}}}|:|0}}|{{#explode:{{{17}}}|:|1}}}}<br/>|}}{{#if:{{{18|}}}|{{m|{{#explode:{{{18}}}|:|0}}|{{#explode:{{{18}}}|:|1}}}}<br/>|}}{{#if:{{{19|}}}|{{m|{{#explode:{{{19}}}|:|0}}|{{#explode:{{{19}}}|:|1}}}}<br/>|}}{{#if:{{{20|}}}|{{m|{{#explode:{{{20}}}|:|0}}|{{#explode:{{{20}}}|:|1}}}}|}}</div></div></includeonly> | ||
Latest revision as of 21:27, 7 February 2026
Ensemble - Infobox template for listing musicians on a show or record page.
Uses Template:Tl to display each musician with their instrument icon. If no instrument is specified, the musician's Primary instrument SMW property is used.
Usage
{{Ensemble
|Bronwyn Keith-Hynes
|Jason Carter
|Fil Pate:banjo
}}
Syntax
- Name - Uses their primary instrument
- Name:instrument - Override the instrument
Parameters
- 1 through 20 - Musician entries (see syntax above)
- title - Custom title (default: "Ensemble")
See also
- Template:Show - Show infobox (can include Ensemble)
- Template:m - Musician link with instrument icon
- Template:ShowInstrument - Core instrument icon logic