Template:Instrument: Difference between revisions
From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Revert to working version with separate rows (accept minor paragraph spacing on empty fields) Tag: Manual revert |
Document used_in_band parameter (via update-page on MediaWiki MCP Server) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
== Instrument Infobox == | == Instrument Infobox == | ||
Base template for documenting individual instruments with semantic properties. Created via [[Form:Instrument]], then use the type-specific details form to add specs, photos, and more. | Base template for documenting individual instruments with semantic properties. Created via [[Form:Instrument]], then use the type-specific details form to add specs, photos, and more. | ||
Powered by [[Module:Instrument]] (Lua) for clean conditional rendering. | |||
=== Usage === | === Usage === | ||
| Line 15: | Line 17: | ||
|current_owner=[[Some Person]] | |current_owner=[[Some Person]] | ||
|previous_owners=[[Person A]], [[Person B]] | |previous_owners=[[Person A]], [[Person B]] | ||
|used_in_band=[[Some Band]], [[Another Band]] | |||
|body_shape=F-style | |||
|top_wood=Spruce | |||
|back_sides_wood=Maple | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 28: | Line 34: | ||
* '''current_owner''' - Current owner (wiki link) | * '''current_owner''' - Current owner (wiki link) | ||
* '''previous_owners''' - Previous owners (comma-separated wiki links) | * '''previous_owners''' - Previous owners (comma-separated wiki links) | ||
* '''used_in_band''' - Bands this instrument has been used in (comma-separated wiki links). Each band is stored as its own SMW value, so a band's page can list every instrument it's been played in via <code><nowiki>{{#ask: [[Used in band::{{PAGENAME}}]] }}</nowiki></code>, and a maker's page can do the same indirection across all their instruments. | |||
* '''body_shape''' - Body shape/style | |||
* '''top_wood''' - Soundboard/top tonewood | |||
* '''back_sides_wood''' - Back and sides tonewood | |||
* '''neck_wood''' - Neck wood | |||
* '''fingerboard_wood''' - Fingerboard wood | |||
* '''bridge_wood''' - Bridge wood | |||
* '''scale_length''' - Scale length | |||
* '''nut_width''' - Nut width | |||
* '''strings''' - Number of strings | |||
* '''electronics''' - Pickup system | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly>{{# | </noinclude><includeonly>{{#invoke:Instrument|infobox}}</includeonly> | ||
| | |||
Latest revision as of 03:37, 27 April 2026
Instrument Infobox
Base template for documenting individual instruments with semantic properties. Created via Form:Instrument, then use the type-specific details form to add specs, photos, and more.
Powered by Module:Instrument (Lua) for clean conditional rendering.
Usage
{{Instrument
|type=Mandolin
|nickname=
|image=Example.jpg
|make=Gibson
|model=F-5
|serial=123456
|year=1923
|current_owner=[[Some Person]]
|previous_owners=[[Person A]], [[Person B]]
|used_in_band=[[Some Band]], [[Another Band]]
|body_shape=F-style
|top_wood=Spruce
|back_sides_wood=Maple
}}
Parameters
- type - Instrument type (Guitar, Mandolin, Banjo, Fiddle, Bass, Dobro, etc.)
- nickname - Nickname for the instrument (optional)
- image - Main image filename
- make - Manufacturer/luthier
- model - Model name/number
- serial - Serial number
- year - Year built
- current_owner - Current owner (wiki link)
- previous_owners - Previous owners (comma-separated wiki links)
- used_in_band - Bands this instrument has been used in (comma-separated wiki links). Each band is stored as its own SMW value, so a band's page can list every instrument it's been played in via
{{#ask: [[Used in band::{{PAGENAME}}]] }}, and a maker's page can do the same indirection across all their instruments. - body_shape - Body shape/style
- top_wood - Soundboard/top tonewood
- back_sides_wood - Back and sides tonewood
- neck_wood - Neck wood
- fingerboard_wood - Fingerboard wood
- bridge_wood - Bridge wood
- scale_length - Scale length
- nut_width - Nut width
- strings - Number of strings
- electronics - Pickup system