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
Created page with "<noinclude> '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. </noinclude><includeonly>{{ShowInstrument|{{{1}}}}}</includeonly>" |
Pass second parameter (instrument override) to ShowInstrument (via update-page on MediaWiki MCP Server) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
'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. | '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. | ||
</noinclude><includeonly>{{ShowInstrument|{{{1}}}}}</includeonly> | |||
== Usage == | |||
<pre> | |||
{{m|Cory Walker}} | |||
{{m|Jake Stargel|bass}} | |||
</pre> | |||
The first form uses the musician's Primary instrument property. The second form overrides with the specified instrument. | |||
== See also == | |||
* [[Template:ShowInstrument]] - Core instrument icon logic | |||
</noinclude><includeonly>{{ShowInstrument|{{{1}}}{{#if:{{{2|}}}|}}{{{2|}}}|}}</includeonly> | |||
Revision as of 20:53, 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
- Template:ShowInstrument - Core instrument icon logic