Difference between revisions of "Template:Birth, death and age templates/doc"
Jump to navigation
Jump to search
imported>George Chikosaula (sas) |
imported>GeneralNotability (Reverted 1 edit by George Chikosaula (talk): Strange change to template (TW)) |
||
Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
== Usage == | == Usage == | ||
− | {{Collapsible sections option |list={{hlist| | + | {{Collapsible sections option |list={{hlist|BDA|age|dates}}}} |
{{Collapsible option |default=expanded}} | {{Collapsible option |default=expanded}} | ||
Latest revision as of 13:06, 2 September 2019
![]() | This is a documentation subpage for Template:Birth, death and age templates. It contains usage information, categories and other content that is not part of the original template page. |
Usage
How to manage this template's collapsible groups/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
Initial visibility: currently defaults to expanded
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
:{{Birth, death and age templates|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{Birth, death and age templates|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{Birth, death and age templates|state=autocollapse}}
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 expanded
.