Difference between revisions of "Template:Birth, death and age templates"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(this template is no longer needed) |
Aeverinezinn (talk | contribs) m (22 revisions from wikipedia:Template:Birth, death and age templates) |
||
(3 intermediate revisions by 3 users not shown) | |||
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}} | {{tlf|death date}} with suffix "( | + | | {{tl|death date and age}} | {{tlf|death date}} with suffix "(aged ''N'')". |
| {{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 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. | ||
Line 51: | Line 51: | ||
|row1style=line-height:1.6em;font-weight:bold;border-bottom:1px solid #aaa; | |row1style=line-height:1.6em;font-weight:bold;border-bottom:1px solid #aaa; | ||
| Template | {{resize|110%|Description{{\}}use }} | | Template | {{resize|110%|Description{{\}}use }} | ||
+ | | {{tl|age in years, months, weeks and days}} | Number of complete years, months, weeks and days between two dates. | ||
| {{tl|age in years, months and days}} | Number of complete years, months and days between two dates. | | {{tl|age in years, months and days}} | Number of complete years, months and days between two dates. | ||
| {{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. |
Latest revision as of 13:49, 17 February 2016
|
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.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |