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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(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}}  | {{tnf|birth date}} with suffix "(age ''N'')".
+
       | {{tl|birth date and age}}  | {{tlf|birth date}} with suffix "(age ''N'')".
       | {{tl|birth date and age2}} | {{tnf|birth date and age}} plus age as of a specified date.
+
       | {{tl|birth date and age2}} | {{tlf|birth date and age}} plus age as of a specified date.
       | {{tl|birth-date and age}}  | As {{tnf|birth date and age}} but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc).
+
       | {{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}}  | {{tnf|death date}} with suffix "(age ''N'')".
+
       | {{tl|death date and age}}  | {{tlf|death date}} with suffix "(age ''N'')".
       | {{tl|death-date and age}}  | As {{tnf|death date and age}} but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc).
+
       | {{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)}} | {{tnf|age in years and days}} for use in prose (i.e. uses "and" as a separator).
+
       | {{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}}        | {{tnf|age in days}} with output formatted for use in sortable tables.
+
       | {{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}}        | {{tnf|age}} with output formatted for use in [[Help:Sorting|sortable tables]].
+
       | {{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 19:32, 28 March 2015

Documentation icon Template documentation

Template:Collapsible sections option How to manage this template's visibility

  • Use {{Birth, death and age templates |state=collapsed}} to show this template in its collapsed (i.e. hidden) state.
Use {{Birth, death and age templates |state=expanded}} to show this template in its expanded (i.e. fully visible) state.
Use {{Birth, death and age templates |state=autocollapse}} to show this template in its collapsed state only if there is another template of the same type on the page.
  • expanded has been set as the default state.