Template:ShowInstrument

From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Revision as of 19:36, 30 January 2026 by Magent (talk | contribs) (Add line-height:0 and vertical-align:middle so icons don't affect text flow (via update-page on MediaWiki MCP Server))
Jump to navigationJump to search

Inline template for linking to a musician with their instrument icon. Queries the musician's Primary instrument semantic property and displays a small icon with a tooltip.

Usage

{{ShowInstrument|Cory Walker}}

With instrument override:

{{ShowInstrument|Jake Stargel|bass}}

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

Rotation

Banjo, guitar, mandolin, and ukulele icons are rotated -30° to look natural at a playing angle. Fiddle, bass, dobro, tin whistle, autoharp, and vocals are displayed upright.

Styling

Icons use line-height:0; vertical-align:middle so they don't affect text flow. They may slightly overlap adjacent text, which is intentional.

See also