Template:Birth, death and age templates: Difference between revisions
Appearance
m 1 revision imported |
m 1 revision imported |
||
(One intermediate revision by one other user not shown) | |||
Line 26: | Line 26: | ||
|{{Template link|Birth date and age2}}|{{Template link with link off|Birth date and age}} plus age as of a specified date. | |{{Template link|Birth date and age2}}|{{Template link with link off|Birth date and age}} plus age as of a specified date. | ||
|{{Template link|Birth-date and age}}|As {{Template link with link off|Birth date and age}}, but accepts dates in text form ('15 June 1950', 'June 15, 1950', 'June 1950', etc.). | |{{Template link|Birth-date and age}}|As {{Template link with link off|Birth date and age}}, but accepts dates in text form ('15 June 1950', 'June 15, 1950', 'June 1950', etc.). | ||
|{{Template link|Birth date and age in years and days}}|{{Template link with link off|Birth date and age}}, but with the age displayed in years and days rather than just years. | |||
|{{Template link|Birth year and age}}|Year of birth and approximate age. | |{{Template link|Birth year and age}}|Year of birth and approximate age. | ||
|{{Template link|Birth based on age as of date}}|To display approximate birth year and current age given a particular date (e.g. when a dated reference mentions the age of a person), only works for living people. | |{{Template link|Birth based on age as of date}}|To display approximate birth year and current age given a particular date (e.g. when a dated reference mentions the age of a person), only works for living people. |
Latest revision as of 15:51, 7 June 2024
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
This template's initial visibility currently defaults to expanded
, meaning that it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Birth, death and age templates|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Birth, death and age templates|state=autocollapse}}
will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar, but if not, it is fully visible.