Template:ShowInstrument: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Jump to navigationJump to search
No edit summary
m Reverted edit by 5.78.83.4 (talk) to last revision by JMyles
 
(2 intermediate revisions by 2 users not shown)
Line 16: Line 16:
== Rotation ==
== 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.
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 <code>line-height:0; vertical-align:baseline</code> so they don't affect text flow. They may slightly overlap adjacent text, which is intentional. The <code>vertical-align:baseline</code> overrides MediaWiki's default <code>vertical-align:middle</code> on images.


== See also ==
== See also ==

Latest revision as of 22:33, 30 January 2026

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[edit]

{{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[edit]

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[edit]