Difference between revisions of "Template:CSF tests"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Tom (LT)
(strip colours, simplify title)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name    = CSF tests
 
|name    = CSF tests
|title  = [[Medical test]]: [[Reference range]]s, [[Cerebrospinal fluid|CSF]] tests ([[Current Procedural Terminology|CPT]] 82000-84999)
+
|title  = Medical tests on [[Cerebrospinal fluid]] ([[Current Procedural Terminology|CPT]] 82000-84999)
 
|state  = {{{state|autocollapse}}}
 
|state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|image  =
 
|above  =
 
|groupstyle = background:LemonChiffon;
 
  
 
|group1  = [[Albumin]]
 
|group1  = [[Albumin]]
Line 23: Line 20:
  
 
|belowstyle = background: transparent; padding: 0px;
 
|belowstyle = background: transparent; padding: 0px;
|below  = ''see also [[reference ranges for urine tests]]''{{Central nervous system navs}}
+
|below  = {{Central nervous system navs}}
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 07:35, 18 March 2015

Initial visibility: currently defaults to autocollapse

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

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