Template:Hornbostel-Sachs

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation

This template provides navigation through the HS system. Through the use of {{Navbox|child, category levels down to XXX.X are included. For example, 322.1, open harps, and 322.2, frame harps, are included, but 322.11, arched harps, and 322.12, angular harps, are not.

Initial visibility

To set the template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Hornbostel-Sachs|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Hornbostel-Sachs|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Hornbostel-Sachs|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page
If the |state= parameter is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.

Usage

For the expanded version, use {{Hornbostel-Sachs}} or {{Hornbostel-Sachs|expand=yes}}. For the non-expanded version use {{Hornbostel-Sachs|expand=no}}.

{{Hornbostel-Sachs|expand=no}} produces:

See also