PREVIEW ENVIRONMENT - This is not the production database. Changes will NOT be saved.

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
Create Ensemble infobox template using {{m}} for instrument icons (via create-page on MediaWiki MCP Server)
 
Fix styling - add width, float right to match Show template (via update-page on MediaWiki MCP Server)
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
<pre>
<pre>
{{Ensemble
{{Ensemble
|1=Bronwyn Keith-Hynes
|Bronwyn Keith-Hynes
|2=Jason Carter
|Jason Carter
|3=Frank Evans
|Fil Pate:banjo
|4=Tristan Scroggins
|5=Fil Pate|5i=banjo|5role=guest
}}
}}
</pre>
</pre>
=== Syntax ===
* '''Name''' - Uses their primary instrument
* '''Name:instrument''' - Override the instrument


=== Parameters ===
=== Parameters ===
* '''1''' through '''20''' - Musician names (linked via {{tl|m}})
* '''1''' through '''20''' - Musician entries (see syntax above)
* '''1i''' through '''20i''' - Instrument override (optional, uses primary instrument if omitted)
* '''1role''' through '''20role''' - Role like "guest", "sit-in", "featured" (optional)
* '''title''' - Custom title (default: "Ensemble")
* '''title''' - Custom title (default: "Ensemble")
=== Output ===
Displays a styled infobox with each musician, their instrument icon, and any special role notation.


== See also ==
== See also ==
Line 30: Line 27:


[[Category:Show templates]]
[[Category:Show templates]]
</noinclude><includeonly><div class="ensemble-infobox" style="border: 1px solid #aaa; padding: 0.5em; margin: 0.5em 0; background: #f9f9f9;">
</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|{{{1}}}{{#if:{{{1i|}}}|{{!}}{{{1i}}}}}}}{{#if:{{{1role|}}}|&nbsp;<small>({{{1role}}})</small>|}}<br/>|}}{{#if:{{{2|}}}|{{m|{{{2}}}{{#if:{{{2i|}}}|{{!}}{{{2i}}}}}}}{{#if:{{{2role|}}}|&nbsp;<small>({{{2role}}})</small>|}}<br/>|}}{{#if:{{{3|}}}|{{m|{{{3}}}{{#if:{{{3i|}}}|{{!}}{{{3i}}}}}}}{{#if:{{{3role|}}}|&nbsp;<small>({{{3role}}})</small>|}}<br/>|}}{{#if:{{{4|}}}|{{m|{{{4}}}{{#if:{{{4i|}}}|{{!}}{{{4i}}}}}}}{{#if:{{{4role|}}}|&nbsp;<small>({{{4role}}})</small>|}}<br/>|}}{{#if:{{{5|}}}|{{m|{{{5}}}{{#if:{{{5i|}}}|{{!}}{{{5i}}}}}}}{{#if:{{{5role|}}}|&nbsp;<small>({{{5role}}})</small>|}}<br/>|}}{{#if:{{{6|}}}|{{m|{{{6}}}{{#if:{{{6i|}}}|{{!}}{{{6i}}}}}}}{{#if:{{{6role|}}}|&nbsp;<small>({{{6role}}})</small>|}}<br/>|}}{{#if:{{{7|}}}|{{m|{{{7}}}{{#if:{{{7i|}}}|{{!}}{{{7i}}}}}}}{{#if:{{{7role|}}}|&nbsp;<small>({{{7role}}})</small>|}}<br/>|}}{{#if:{{{8|}}}|{{m|{{{8}}}{{#if:{{{8i|}}}|{{!}}{{{8i}}}}}}}{{#if:{{{8role|}}}|&nbsp;<small>({{{8role}}})</small>|}}<br/>|}}{{#if:{{{9|}}}|{{m|{{{9}}}{{#if:{{{9i|}}}|{{!}}{{{9i}}}}}}}{{#if:{{{9role|}}}|&nbsp;<small>({{{9role}}})</small>|}}<br/>|}}{{#if:{{{10|}}}|{{m|{{{10}}}{{#if:{{{10i|}}}|{{!}}{{{10i}}}}}}}{{#if:{{{10role|}}}|&nbsp;<small>({{{10role}}})</small>|}}<br/>|}}{{#if:{{{11|}}}|{{m|{{{11}}}{{#if:{{{11i|}}}|{{!}}{{{11i}}}}}}}{{#if:{{{11role|}}}|&nbsp;<small>({{{11role}}})</small>|}}<br/>|}}{{#if:{{{12|}}}|{{m|{{{12}}}{{#if:{{{12i|}}}|{{!}}{{{12i}}}}}}}{{#if:{{{12role|}}}|&nbsp;<small>({{{12role}}})</small>|}}<br/>|}}{{#if:{{{13|}}}|{{m|{{{13}}}{{#if:{{{13i|}}}|{{!}}{{{13i}}}}}}}{{#if:{{{13role|}}}|&nbsp;<small>({{{13role}}})</small>|}}<br/>|}}{{#if:{{{14|}}}|{{m|{{{14}}}{{#if:{{{14i|}}}|{{!}}{{{14i}}}}}}}{{#if:{{{14role|}}}|&nbsp;<small>({{{14role}}})</small>|}}<br/>|}}{{#if:{{{15|}}}|{{m|{{{15}}}{{#if:{{{15i|}}}|{{!}}{{{15i}}}}}}}{{#if:{{{15role|}}}|&nbsp;<small>({{{15role}}})</small>|}}<br/>|}}{{#if:{{{16|}}}|{{m|{{{16}}}{{#if:{{{16i|}}}|{{!}}{{{16i}}}}}}}{{#if:{{{16role|}}}|&nbsp;<small>({{{16role}}})</small>|}}<br/>|}}{{#if:{{{17|}}}|{{m|{{{17}}}{{#if:{{{17i|}}}|{{!}}{{{17i}}}}}}}{{#if:{{{17role|}}}|&nbsp;<small>({{{17role}}})</small>|}}<br/>|}}{{#if:{{{18|}}}|{{m|{{{18}}}{{#if:{{{18i|}}}|{{!}}{{{18i}}}}}}}{{#if:{{{18role|}}}|&nbsp;<small>({{{18role}}})</small>|}}<br/>|}}{{#if:{{{19|}}}|{{m|{{{19}}}{{#if:{{{19i|}}}|{{!}}{{{19i}}}}}}}{{#if:{{{19role|}}}|&nbsp;<small>({{{19role}}})</small>|}}<br/>|}}{{#if:{{{20|}}}|{{m|{{{20}}}{{#if:{{{20i|}}}|{{!}}{{{20i}}}}}}}{{#if:{{{20role|}}}|&nbsp;<small>({{{20role}}})</small>|}}|}}</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