Template:Birth, death and age templates: Difference between revisions

Content deleted Content added
en>Whoop whoop pull up
No edit summary
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{Navbox with collapsible groups
| name = Birth, death and age templates
| state = {{{state|expanded}}}
| title = Birth, death and age templates
| selected = {{{selected|{{{expanded|{{{1|}}}}}}}}}
| listclass = hlist <!-- can't see why tracking=no doesn't work, but this does -->
 
| abbr1 = BDA
<!--| tracking = no <!-- keep all the documented templates out of the hlist tracking category -->
| section1 = Birthbirth, death, age
| listclass = hlist <!-- can't see why tracking=no doesn't work, but this does -->
| content1 =
 
<!----------------------------------------------------------------------------->
 
| abbr1 = BDA
| section1 = Birth, death, age
| content1 =
{{Aligned table|fullwidth=y
|style=line-height:1.35em45em; text-align:left;
|col1style=font-size:110%; white-space:nowrap; padding-right:1.0em; width:18em;
|row1style=line-height:1.6em; font-weight:bold; border-bottom:1px solid #aaa;
|Combined BDA | Templatetemplate&nbsp; | {{resizeResize|110%|Description{{\}}use&nbsp;}}
| {{tlTemplate link|BirthDeathAge}} | Combines functions of <nowiki>{{birthBirth date}}, {{birth-date}}, {{birth date and age}}, {{birth year and age}}, {{death date}}, {{death-date}}, {{death date and age}}, and {{death year and age}}.</nowiki>
}}
| {{tl|birth date}} | To display a birth date and related hidden metadata.
| {{tl|birth-date}} |
| {{tl|birth date and age}} | {{tlf|birth date}} with suffix "(age ''N'')".
| {{tl|birth date and age2}} | {{tlf|birth date and age}} plus age as of a specified date.
| {{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 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.
| {{tl|birth based on age at death}} | To display approximate birth year based on age at death, or on age at a specific date if death date isn't known.
}}
{{Aligned table|fullwidth=y
|style=line-height:1.35em45em; text-align:left;
|col1style=font-size:110%; white-space:nowrap; padding-right:1.0em; width:18em;
|row1style=line-height:1.6em; font-weight:bold; border-bottom:1px solid #aaa;
|Birth Templatetemplates&nbsp; | {{resizeResize|110%|Description{{\}}use&nbsp;}}
| {{tlTemplate link|deathBirth date}} | To display a deathbirth date and related hidden metadata.
| {{tlTemplate link|deathBirth-date}} |
| {{tlTemplate link|deathBirth date and age}}|{{Template link |with {{tlflink off|deathBirth date}} with suffix "'(agedage ''N'')"'. Also called with {{tlf|event date and age}}
| {{tlTemplate link|death-Birth date and ageage2}}|{{Template link |with Aslink {{tlfoff|deathBirth date and age}} butplus acceptsage datesas inof texta formspecified ("15 June 1950", "June 15, 1950", "June 1950", etc)date.
| {{tlTemplate link|birthBirth-date and age}} | As {{tlfTemplate link with link off|birthBirth 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.
| {{tlTemplate link|deathBirth year and age}} |Year Toof display a year ofbirth and approximate age at death.
| {{tlTemplate link|birthBirth 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)., Onlyonly works for living people.
}}
| {{tlTemplate link|birthBirth based on age at death}} | To display approximate birth year based on age at death, or on age at a specific date if death date isn't known.
}}
{{Aligned table|fullwidth=y
|style=line-height:1.45em; text-align:left
|col1style=font-size:110%; white-space:nowrap; padding-right:1.0em; width:18em
|row1style=line-height:1.6em; font-weight:bold; border-bottom:1px solid #aaa
|Death templates&nbsp;|{{Resize|110%|Description{{\}}use&nbsp;}}
| {{tlTemplate link|birthDeath date}} | To display a birthdeath date and related hidden metadata.
|{{Template link|Death-date}}|
|{{Template link|Death date and age}}|{{Template link with link off|Death date}} with suffix '(aged ''N'')'; also called with {{Template link with link off|event date and age}}.
|{{Template link|Death-date and age}}|As {{Template link with link off|Death date and age}}, but accepts dates in text form ('15 June 1950', 'June 15, 1950', 'June 1950', etc).
| {{tlTemplate link|deathDeath date and given age}} | To display a death date and specified age.
| {{tlTemplate link|birthDeath year and age}}|To display |a Yearyear of birth, and approximate age at death.
}}
 
| abbr2 = ageAge
<!----------------------------------------------------------------------------->
| section2 = Ageage only
 
| content2 =
| abbr2 = age
| section2 = Age only
| content2 =
{{Aligned table|fullwidth=y
|style=line-height:1.35em45em; text-align:left;
|col1style=font-size:110%; white-space:nowrap; padding-right:1.0em; width:18em;
|row1style=line-height:1.6em; font-weight:bold; border-bottom:1px solid #aaa;
|Conventional age | Templatetemplates&nbsp; | {{resizeResize|110%|Description{{\}}use&nbsp;}}
| {{tlTemplate link|ageAge in years, months, weeks and days}} | Number of complete years, months, weeks and days between two dates.
| {{tlTemplate link|ageAge in years, months and days}} | Number of complete years, months and days between two dates.
| {{tlTemplate link|ageAge in years and months}} | Number of complete years and remaining months between two dates.
| {{tlTemplate link|ageAge in years and days}} | Number of complete years and remaining days between two dates.
| {{tlTemplate link|ageAge in years and days nts}} | {{tlfTemplate link with link off|ageAge in years and days}} with output formatted for use in [[Help:Sorting|number sortable tables]].
| {{tlTemplate link|ageAge in decimal years}} | Number of years between two dates, rounded to the specified number of decimal places.
| {{tlTemplate link|ageAge in years}} | Number of years between two dates.
| {{tlTemplate link|ageAge in years nts}}|{{Template link with link | {{tlfoff|ageAge in years}} with output formatted for use in number sortable tables.
| {{tlTemplate link|ageAge in months}} | Number of months between two dates.
| {{tlTemplate link|ageAge in weeks and days}} | Number of weeks and days between two dates.
| {{tlTemplate link|ageAge in weeks}} | Number of weeks between two dates.
| {{tlTemplate link|ageAge in days}} | Age in days between two dates.
| {{tlTemplate link|ageAge in days nts}}|{{Template link with link | {{tlfoff|ageAge in days}} with output formatted for use in number sortable tables.
}}
{{Aligned table|fullwidth=y
|style=line-height:1.35em45em; text-align:left;
|col1style=font-size:110%; white-space:nowrap; padding-right:1.0em; width:18em;
|row1style=line-height:1.6em; font-weight:bold; border-bottom:1px solid #aaa;
|Reverse-determined age | Templatetemplate&nbsp; | {{resizeResize|110%|Description{{\}}use&nbsp;}}
| {{tlTemplate link|ageAge}} | Age based on number of complete years between two dates.
| {{tlTemplate link|ageAge nts}}|{{Template link with link | {{tlfoff|ageAge}} with output formatted for use in [[Help:Sorting|number sortable tables]].
| {{tlTemplate link|ageAge as of date}} | Current age (in years) from a known age at a specified date.
| {{tlTemplate link|ageAge for infant}} | Current age for infant: months and days up to one year, years and months up to three years, and years beyond age 3.
}}
<!----------------------------------------------------------------------------->
 
| abbr3 = datesDates
| section3 = Startstart{{\}}end dates
| content3 =
{{Aligned table|fullwidth=y
|style=line-height:1.35em45em; text-align:left;
|col1style=font-size:110%; white-space:nowrap; padding-right:1.0em; width:18em;
|row1style=line-height:1.6em; font-weight:bold; border-bottom:1px solid #aaa;
|Date-focused Templatetemplates&nbsp; | {{resizeResize|110%|Description{{\}}use&nbsp;}}
| {{tlTemplate link|startStart date}} / {{tlTemplate link|endEnd date}} |
| {{tlTemplate link|startStart-date}} / {{tlTemplate link|endEnd-date}} |
| {{tlTemplate link|startStart date and age}} |
| {{tlTemplate link|endEnd date and age}} |
}}
 
| abbr4 = miscMisc
<!----------------------------------------------------------------------------->
|section4=miscellaneous
 
| content4 =
| abbr4 = misc
| section4 = Miscellaneous
| content4 =
{{Aligned table|fullwidth=y
|style=line-height:1.35em45em; text-align:left;
|col1style=font-size:110%; white-space:nowrap; padding-right:1.0em; width:18em;
|row1style=line-height:1.6em; font-weight:bold; border-bottom:1px solid #aaa;
| Template&nbsp; | {{resizeResize|110%|Description{{\}}use&nbsp;}}
| {{tlTemplate link|OldStyleDate<!-- |9 June|1672|30 May -->}} | Dates in [[Julian calendar]].
| {{tlTemplate link|OldStyleDateDY}} | As {{tlfTemplate link with link off|OldStyleDate}} but used when Julian / [[Gregorian datesdate]]s fall in different years.
| {{tlTemplate link|OldStyleDateNY}} | As {{tlfTemplate link with link off|OldStyleDate}} but without the year.
| {{tlTemplate link|Unidentified for}} |
| {{tlTemplate link|Missing for}} |
}}
 
<!----------------------------------------------------------------------------->
 
| belowclass = hlist
| belowstyle = font-weight:bold;
| below =
* [[Wikipedia:Age calculation templates|About age calculation templates]]
* [[:Category:Date mathematics templates|Date mathematics templates]]
 
}}<!--
 
| belowclass = hlist
--><noinclude>{{Documentation}}</noinclude>
| belowstyle = font-weight:bold;
| below =
* [[Wikipedia:Age calculation templates|About age calculation templates]]
* [[:Category:Date mathematics templates|Date mathematics templates]]
-->}}<noinclude>{{Documentation}}</noinclude>