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

Template:M: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Pass second parameter (instrument override) to ShowInstrument (via update-page on MediaWiki MCP Server)
Fix syntax - properly pass both parameters to ShowInstrument (via update-page on MediaWiki MCP Server)
 
Line 12: Line 12:
== See also ==
== See also ==
* [[Template:ShowInstrument]] - Core instrument icon logic
* [[Template:ShowInstrument]] - Core instrument icon logic
</noinclude><includeonly>{{ShowInstrument|{{{1}}}{{#if:{{{2|}}}|}}{{{2|}}}|}}</includeonly>
</noinclude><includeonly>{{ShowInstrument|{{{1}}}|{{{2|}}}}}</includeonly>

Latest revision as of 20:54, 7 February 2026

'm' for 'musical instrument' or 'musician'. Pass a person's name into this template, and it will link to the page of that name, and if the page has `primary instrument` defined, show an icon for that instrument.

Usage

{{m|Cory Walker}}
{{m|Jake Stargel|bass}}

The first form uses the musician's Primary instrument property. The second form overrides with the specified instrument.

See also