Difference between revisions of "Template:Cardiac procedures"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Tom (LT)
m (simplify title, and per Template_talk:Medicine_navs#Background_colours, remove unnecessary and confusing background colours using AWB)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = Cardiac procedures
 
| name = Cardiac procedures
| title = [[Healthcare science]] – [[Medicine]] / [[Surgery]] / Cardiac procedures ([[ICD-9-CM_Volume_3#.2835–39.29_Operations_on_the_cardiovascular_system|ICD-9-CM V3]] 35–37+89.4+99.6, [[ICD-10 Procedure Coding System|ICD-10-PCS 02]])
+
| title = [[Surgery]] and other procedures involving the [[human heart|heart]] ([[ICD-9-CM_Volume_3#.2835–39.29_Operations_on_the_cardiovascular_system|ICD-9-CM V3]] 35–37+89.4+99.6, [[ICD-10 Procedure Coding System|ICD-10-PCS 02]])
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
| groupstyle = background:MistyRose;
+
 
  
 
| group1 = [[Cardiac surgery|Surgery]] and [[Interventional cardiology|IC]]
 
| group1 = [[Cardiac surgery|Surgery]] and [[Interventional cardiology|IC]]
 
|  list1 = {{Navbox subgroup
 
|  list1 = {{Navbox subgroup
| groupstyle = background:MistyRose;
+
 
  
 
| group2 = [[Heart valve]]s<br/>and septa
 
| group2 = [[Heart valve]]s<br/>and septa

Revision as of 03:34, 15 February 2015

Initial visibility: currently defaults to autocollapse

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

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