Template:Birth, death and age templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Frietjes No edit summary |
meta>Plastikspork Fix redirect |
||
Line 21: | Line 21: | ||
| {{tl|birth date}} | To display a birth date and related hidden metadata. | | {{tl|birth date}} | To display a birth date and related hidden metadata. | ||
| {{tl|birth-date}} | | | {{tl|birth-date}} | | ||
| {{tl|birth date and age}} | {{ | | {{tl|birth date and age}} | {{tlf|birth date}} with suffix "(age ''N'')". | ||
| {{tl|birth date and age2}} | {{ | | {{tl|birth date and age2}} | {{tlf|birth date and age}} plus age as of a specified date. | ||
| {{tl|birth-date and age}} | As {{ | | {{tl|birth-date and age}} | As {{tlf|birth date and age}} but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc). | ||
| {{tl|birth year and age}} | Year of birth and approximate age. | | {{tl|birth year and age}} | Year of birth and approximate age. | ||
| {{tl|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). | | {{tl|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). | ||
Line 35: | Line 35: | ||
| {{tl|death date}} | To display a death date and related hidden metadata. | | {{tl|death date}} | To display a death date and related hidden metadata. | ||
| {{tl|death-date}} | | | {{tl|death-date}} | | ||
| {{tl|death date and age}} | {{ | | {{tl|death date and age}} | {{tlf|death date}} with suffix "(age ''N'')". | ||
| {{tl|death-date and age}} | As {{ | | {{tl|death-date and age}} | As {{tlf|death date and age}} but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc). | ||
| {{tl|death date and given age}} | To display a death date and specified age. | | {{tl|death date and given age}} | To display a death date and specified age. | ||
| {{tl|death year and age}} | To display a year of and approximate age at death. | | {{tl|death year and age}} | To display a year of and approximate age at death. | ||
Line 54: | Line 54: | ||
| {{tl|age in years and months}} | Number of complete years and remaining months between two dates. | | {{tl|age in years and months}} | Number of complete years and remaining months between two dates. | ||
| {{tl|age in years and days}} | Number of complete years and remaining days between two dates. | | {{tl|age in years and days}} | Number of complete years and remaining days between two dates. | ||
| {{tl|age in years and days (textual)}} | {{ | | {{tl|age in years and days (textual)}} | {{tlf|age in years and days}} for use in prose (i.e. uses "and" as a separator). | ||
| {{tl|age in days}} | Age in days between two dates. | | {{tl|age in days}} | Age in days between two dates. | ||
| {{tl|age in days nts}} | {{ | | {{tl|age in days nts}} | {{tlf|age in days}} with output formatted for use in sortable tables. | ||
}} | }} | ||
{{Aligned table|fullwidth=y | {{Aligned table|fullwidth=y | ||
Line 64: | Line 64: | ||
| Template | {{resize|110%|Description{{\}}use }} | | Template | {{resize|110%|Description{{\}}use }} | ||
| {{tl|age}} | Age based on number of complete years between two dates. | | {{tl|age}} | Age based on number of complete years between two dates. | ||
| {{tl|age nts}} | {{ | | {{tl|age nts}} | {{tlf|age}} with output formatted for use in [[Help:Sorting|sortable tables]]. | ||
| {{tl|age as of date}} | Current age (in years) from a known age at a specified date. | | {{tl|age as of date}} | Current age (in years) from a known age at a specified date. | ||
}} | }} |
Revision as of 23:32, 28 March 2015
Template documentation
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, save for its title bar.|state=expanded
–{{Birth, death and age templates|state=expanded}}
to show the template expanded, that is, fully visible.|state=autocollapse
–{{Birth, death and age templates|state=autocollapse}}</nowiki>
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
.
- For the template on this page, that currently evaluates to