Difference between revisions of "Template:Degrees"

From blackwiki
Jump to navigation Jump to search
imported>OnBeyondZebrax
(trying to fix)
(same parameter three times?)
Line 4: Line 4:
 
|title  = [[Degree (music)|Degree]]s and [[Diatonic function|functions]] of the [[diatonic scale]]
 
|title  = [[Degree (music)|Degree]]s and [[Diatonic function|functions]] of the [[diatonic scale]]
 
|colstyle = text-align:center
 
|colstyle = text-align:center
 +
<!--
 
|col1header = <math>\hat 1</math>
 
|col1header = <math>\hat 1</math>
 
|col2header = <math>\hat 2</math>
 
|col2header = <math>\hat 2</math>
Line 12: Line 13:
 
|col7header = ({{music|flat}})<math>\hat 7</math>
 
|col7header = ({{music|flat}})<math>\hat 7</math>
 
|col8header = <math>\hat 7</math>
 
|col8header = <math>\hat 7</math>
 +
-->
  
 
|col1footer = C
 
|col1footer = C
Line 31: Line 33:
 
|col8 = [[Leading-tone|Leading]]<br/> [[Dominant seventh chord|D̸<sup>7</sup>]]
 
|col8 = [[Leading-tone|Leading]]<br/> [[Dominant seventh chord|D̸<sup>7</sup>]]
  
 +
<!--
 
|col1header = I (for Major keys)
 
|col1header = I (for Major keys)
 
|col2header = ii  
 
|col2header = ii  
Line 39: Line 42:
 
|col7header = VII
 
|col7header = VII
 
|col8header = vii{{music|diminished}}
 
|col8header = vii{{music|diminished}}
 +
-->
  
 
|col1header = i (for minor keys)
 
|col1header = i (for minor keys)

Revision as of 00:26, 6 October 2016

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Degrees|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Degrees|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Degrees|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 in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

See also