Template:ShowInstrument

From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Revision as of 10:35, 30 January 2026 by Magent (talk | contribs) (Add -30deg rotation for banjo, guitar, mandolin, ukulele icons (via update-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}}

Outputs: a link to the musician's page, followed by a small instrument icon with tooltip (if they have a primary instrument set).

If the musician has no instrument set, it falls back to a plain link (same as the old [[{{{1}}}|{{{1}}}]] template).

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.

See also