 | This template doesnot display in the mobile view of Wikipedia; it isdesktop only. SeeTemplate:Navbox visibility for a brief explanation. |
This is anavigational template created using{{navbox}}. It can betranscluded on pages by placing{{Medicine}}
below thestandard article appendices.
Initial visibility
This template'sinitial visibility currently defaults toautocollapse
, meaning that if there is another collapsible item on the page (anavbox, sidebar, ortable with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the|state=
parameter may be used:
{{Medicine|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Medicine|state=expanded}}
will show the template expanded, i.e. fully visible.
Templates using the classesclass=navbox
({{navbox}}) orclass=nomobile
({{sidebar}}) are not displayed in article space on themobile web site of English Wikipedia. Mobile page views account for approximately 68% of all page views (90-day average as of September 2024[update]). Briefly, these templates are not included in articles because 1) they are not well designed for mobile, and 2) they significantly increase page sizes—bad for mobile downloads—in a way that is not useful for the mobile use case. You can review/watchphab:T124168 for further discussion.
TemplateData
Template parameters[Edit template data]
Parameter | Description | Type | Status |
---|
State | state | The initial visibility of the navbox - Suggested values
collapsed expanded autocollapse
| String | suggested |
---|
Template transclusions