Difference between revisions of "Template:Eye procedures"

From blackwiki
Jump to navigation Jump to search
imported>Tom (LT)
(standard title per discussion at WT:MED)
imported>Tom (LT)
(simplify a subsection, removing very lengthy titles)
Line 38: Line 38:
 
* [[Corneal collagen cross-linking]]
 
* [[Corneal collagen cross-linking]]
  
   | group2 = [[Iris (anatomy)|Iris]], [[ciliary body]],<br />[[sclera]], and [[anterior chamber]]
+
   | group2 = Other
 
   | list2 =
 
   | list2 =
* [[Glaucoma surgery]]: [[Trabeculectomy]]
+
* [[Glaucoma surgery]]
 +
** [[Trabeculectomy]]
 
* [[Iridectomy]]
 
* [[Iridectomy]]
 
  | group3 = [[Lens (anatomy)|Lens]]
 
  | list3 =
 
 
* [[Phacoemulsification]]
 
* [[Phacoemulsification]]
 
* [[Cataract surgery]]
 
* [[Cataract surgery]]
 
* [[Capsulorhexis]]
 
* [[Capsulorhexis]]
 
  | group4 = [[Retina]], [[choroid]],<br />[[Vitreous humour|vitreous]], and [[posterior chamber]]
 
  | list4 =
 
 
* [[Vitrectomy]]
 
* [[Vitrectomy]]
 
+
* [[Enucleation of the eye|Enucleation]]
  | group5 = [[Orbit (anatomy)|Orbit]] and [[Human eye|eyeball]]
 
  | list5 =
 
* [[Enucleation of the eye]]
 
  
 
  }}
 
  }}

Revision as of 23:57, 8 October 2020

Initial visibility: currently defaults to autocollapse

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

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