Difference between revisions of "Template:Eye physiology"

From blackwiki
Jump to navigation Jump to search
imported>Tom (LT)
(remove custom colours per consensus at Template_talk:Medicine_navs#Background_colours)
imported>NSH002
(tidy up)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = Eye and ear physiology
+
| name = Eye and ear physiology
| title     = [[Human physiology|Physiology]] of the [[eye]] and [[ear]]
+
| title = [[Human physiology|Physiology]] of the [[eye]] and [[ear]]
| state     = {{{state|autocollapse}}}
+
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| listclass = hlist
+
| listclass = hlist
  
| group1 = [[Visual system|Vision]]
+
| group1 = [[Visual system|Vision]]
| list1 =  
+
| list1 =
 
* [[Gaze (physiology)|Gaze]]
 
* [[Gaze (physiology)|Gaze]]
 
* [[Accommodation (eye)|Accommodation]]
 
* [[Accommodation (eye)|Accommodation]]
Line 22: Line 22:
 
* [[Pentachromacy]]
 
* [[Pentachromacy]]
  
| group2 = [[Auditory system]]
+
| group2 = [[Auditory system]]
| list2 =  
+
| list2 =
 
* [[Bone conduction]]
 
* [[Bone conduction]]
 
* [[Otoacoustic emission]]
 
* [[Otoacoustic emission]]
Line 29: Line 29:
 
* [[Tullio phenomenon]]
 
* [[Tullio phenomenon]]
  
| belowstyle = background: transparent; padding: 0px;
+
| belowstyle = background: transparent; padding: 0px;
| below = {{Eye navs}}{{Ear navs}}
+
| below = {{Eye navs}}{{Ear navs}}
  
 
}}<noinclude>
 
}}<noinclude>
{{doc|content=
 
 
{{collapsible option}}
 
{{collapsible option}}
 
{{Physiology navbox doc}}
 
{{Physiology navbox doc}}
[[Category:Otology]]
 
 
[[Category:Physiology templates]]
 
[[Category:Physiology templates]]
[[Category:Ophthalmology]]
 
}}
 
 
</noinclude>
 
</noinclude>

Revision as of 10:46, 2 April 2015

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Eye physiology|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Eye physiology|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Eye physiology|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. Template:Physiology navbox doc