Template:Birth, death and age templates/doc

From New Prairie Wiki
Revision as of 15:50, 6 May 2026 by Randombell (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == {{Collapsible sections option |list={{hlist|BDA|age|dates}}}} {{Collapsible option |default=expanded}} <includeonly>{{sandbox other|| <!-- Categories below this line, please; interwikis at Wikidata --> Category...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Collapsible groups and sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • BDA
    • age
    • dates

How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{Birth, death and age templates |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Birth, death and age templates |state=expanded}}
|state=autocollapse to show the template in its collapsed state but only if there is another template of the same type on the page – e.g. {{Birth, death and age templates |state=autocollapse}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is expanded.