Template:FRS 2008

From Encyclopedia Britannia
Revision as of 06:24, 9 November 2021 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Initial visibility: currently defaults to autocollapse

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

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for FRS 2008

<templatedata> { "description": "This template displays a navigation box containing links to articles about Fellows of the Royal Society elected in 2008, including FRS & ForMemRS.", "params": { "state": { "description": "This parameter may be used to set the template's initial visibility: if \"collapsed\" the content is hidden and only the title bar is visible (with [show] link), if \"expanded\" the content and title bar are fully visible (with [hide] link), and if \"autocollapse\" the template is collapsed when the page contains other collapsible items.", "default": "autocollapse", "example": "expanded", "type": "string", "required": false

		}

}, "format": "inline" } </templatedata>