Template:BirthDeathAge: Difference between revisions

From The Tower of Babel
Created page with "<includeonly>{{#if: {{{8|<noinclude>-</noinclude>}}} | {{#if: {{{1|<noinclude>-</noinclude>}}} | {{#if: {{{3|<noinclude>-</noinclude>}}} | {{#if: {{{5|<noinclude>-</noinclude>}}} | {{Birth date|{{{2}}}|{{{3}}}|{{{4}}}|df=yes}} | {{Birth date and age|{{{2}}}|{{{3}}}|{{{4}}}|df=yes}} }} | {{#if: {{{2|<noinclude>-</noinclude>}}} | {{#if: {{{5|<noinclude>-</noinclude>}}} | {{birth-date|{{{2}}}}} | {{Birth year and age..."
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>{{#if: {{{8|<noinclude>-</noinclude>}}} |
__NOTOC__
{{#if: {{{1|<noinclude>-</noinclude>}}} |
{{documentation subpage}}
  {{#if: {{{3|<noinclude>-</noinclude>}}} |
<!--
    {{#if: {{{5|<noinclude>-</noinclude>}}} |
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
    {{Birth date|{{{2}}}|{{{3}}}|{{{4}}}|df=yes}}
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
    |
-->
    {{Birth date and age|{{{2}}}|{{{3}}}|{{{4}}}|df=yes}}
{{template shortcut|bdage}}
    }}
 
  |
==Usage==
    {{#if: {{{2|<noinclude>-</noinclude>}}} |
Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:
    {{#if: {{{5|<noinclude>-</noinclude>}}} |
*{{tl|Birth date text}}
      {{birth-date|{{{2}}}}}
*{{tl|Birth date}}
    |
*{{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
      {{Birth year and age|{{{2}}}}}
*{{tl|Birth year and age}} &ndash; year of birth and approximate age
      }}
*{{tl|Death date text}}
    }}
*{{tl|Death date}}
  }}
*{{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
}}
*{{tl|Death year and age}} &ndash; year of death and approximate age at death
{{#if: {{{1|<noinclude>-</noinclude>}}} |
 
Using this template rather than simply inserting the date into articles allows for the inclusion of hidden [[metadata]] about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.
|
 
{{#if: {{{6|<noinclude>-</noinclude>}}} |
The minimum information required by the template is a birth or death year.
  {{#if: {{{4|<noinclude>-</noinclude>}}} |
 
    {{death date and age|{{{5}}}|{{{6}}}|{{{7}}}|{{{2}}}|{{{3}}}|{{{4}}}|df=yes}}
==Syntax==
    |
<syntaxhighlight lang="wikitext">
      {{#if: {{{2|<noinclude>-</noinclude>}}} |
{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
        {{{7}}} {{MONTHNAME|{{{6}}}}} {{Death year and age|{{{5}}}|{{{2}}}}}
[year of birth] | [month of birth] | [day of birth] | [year of death] |
        |
[month of death] | [day of death]}}
        {{Death date|{{{5}}}|{{{6}}}|{{{7}}}|df=yes}}  
</syntaxhighlight>
      }}
 
    }}
Any missing information can simply be left out of the template: see the examples below.
  |
 
  {{#if: {{{5|<noinclude>-</noinclude>}}} |
==Examples==
    {{#if: {{{2|<noinclude>-</noinclude>}}} |
For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{tl|^}} can help space the template
      {{Death year and age|{{{5}}}|{{{2}}}}}
 
      |
===Spacing===
      {{death-date|{{{5}}}}}
<syntaxhighlight lang="wikitext">{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}</syntaxhighlight>
    }}
{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}
  }}
 
  }}
===Date format===
}}
An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.
|
 
{{#if: {{{1|<noinclude>-</noinclude>}}} |
<syntaxhighlight lang="wikitext">{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}</syntaxhighlight>
  {{#if: {{{3|<noinclude>-</noinclude>}}} |
{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}
  {{#if: {{{5|<noinclude>-</noinclude>}}} |
<syntaxhighlight lang="wikitext">{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}</syntaxhighlight>
    {{Birth date|{{{2}}}|{{{3}}}|{{{4}}}}}
{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}
    |
 
    {{Birth date and age|{{{2}}}|{{{3}}}|{{{4}}}}}
===Date of birth===
    }}
<syntaxhighlight lang="wikitext">{{BirthDeathAge|B|1976}}</syntaxhighlight>
    |
{{BirthDeathAge|B|1976}}
    {{#if: {{{2|<noinclude>-</noinclude>}}} |
<syntaxhighlight lang="wikitext">{{BirthDeathAge|B|1976|6|7|1990|8|9}}</syntaxhighlight>
      {{#if: {{{5|<noinclude>-</noinclude>}}} |
{{BirthDeathAge|B|1976|6|7|1990|8|9}}
        {{birth-date|{{{2}}}}}
<syntaxhighlight lang="wikitext">{{BirthDeathAge|B|1976|6|7}}</syntaxhighlight>
      |
{{BirthDeathAge|B|1976|6|7}}
      {{Birth year and age|{{{2}}}}}  
<syntaxhighlight lang="wikitext">{{BirthDeathAge|B|1976|||1990}}</syntaxhighlight>
    }}
{{BirthDeathAge|B|1976|||1990}}
  }}
 
  }}
===Date of death===
}}
<syntaxhighlight lang="wikitext">{{BirthDeathAge| |1976| | |1990| |}}</syntaxhighlight>
{{#if: {{{1|<noinclude>-</noinclude>}}} |
{{BirthDeathAge| |1976| | |1990| |}}
<syntaxhighlight lang="wikitext">{{BirthDeathAge| | | | |1990| |}}</syntaxhighlight>
|
{{BirthDeathAge| | | | |1990| |}}
  {{#if: {{{6|<noinclude>-</noinclude>}}} |
<syntaxhighlight lang="wikitext">{{BirthDeathAge| | | | |1990|8|9}}</syntaxhighlight>
    {{#if: {{{4|<noinclude>-</noinclude>}}} |
{{BirthDeathAge| | | | |1990|8|9}}
    {{death date and age|{{{5}}}|{{{6}}}|{{{7}}}|{{{2}}}|{{{3}}}|{{{4}}}}}
<syntaxhighlight lang="wikitext">{{BirthDeathAge| |1976| | |1990|8|9}}</syntaxhighlight>
      |
{{BirthDeathAge| |1976| | |1990|8|9}}
      {{#if: {{{2|<noinclude>-</noinclude>}}} |
 
        {{MONTHNAME|{{{6}}}}} {{{7}}}, {{Death year and age|{{{5}}}|{{{2}}}}}
==See also==
        |
* [[Wikipedia:Age calculation templates]]
        {{Death date|{{{5}}}|{{{6}}}|{{{7}}}}} 
{{Birth, death and age templates}}
      }}
<includeonly>{{Sandbox other||
    }}
<!--PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE. THANKS.-->
  |
 
  {{#if: {{{5|<noinclude>-</noinclude>}}} |
[[Category:Date mathematics templates|{{PAGENAME}}]]
    {{#if: {{{2|<noinclude>-</noinclude>}}} |
[[ur:سانچہ:BirthDeathAge]]
      {{Death year and age|{{{5}}}|{{{2}}}}}
}}</includeonly>
    |
<templatedata>
      {{death-date|{{{5}}}}}
{
    }}
"params": {
  }}
"1": {
  }}
"description": "Insert 'B' for a birth date, leave blank for a death date.",
}}
"type": "string",
}}</includeonly><noinclude>{{documentation}}</noinclude>
"suggestedvalues": [
"B",
" "
],
"autovalue": " ",
"suggested": true
},
"2": {
"label": "Year of birth",
"example": "1942",
"type": "number",
"default": " ",
"suggested": true
},
"3": {
"label": "Month of birth",
"description": "as a number",
"example": "1",
"type": "number",
"default": " ",
"suggested": true
},
"4": {
"label": "Day of birth",
"example": "31",
"type": "number",
"default": " ",
"suggested": true
},
"5": {
"label": "Year of death",
"example": "2006",
"type": "number",
"default": " ",
"suggested": true
},
"6": {
"label": "Month of death",
"description": "as a number",
"example": " 12",
"type": "number",
"default": " ",
"suggested": true
},
"7": {
"label": "Day of death",
"example": "21",
"type": "number",
"default": " ",
"suggested": true
},
"8": {
"label": "Date format",
"description": "Set this to \"yes\" to display the day before the month.",
"type": "string",
"suggestedvalues": [
"yes",
" "
],
"default": " ",
"suggested": true
}
},
"description": "This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:\n\n*{{tl|Birth date text}}\n*{{tl|Birth date}}\n*{{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that \"(age ##)\" appears after the birth date\n*{{tl|Birth year and age}} &ndash; year of birth and approximate age\n*{{tl|Death date text}}\n*{{tl|Death date}}\n*{{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that \"(aged ##)\" appears after the death date\n*{{tl|Death year and age}} &ndash; year of death and approximate age at death\n\nThe minimum information required by the template is a birth or death year. ",
"paramOrder": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
],
"format": "inline"
}
</templatedata>

Revision as of 13:39, 25 April 2025


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested
{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested

Date of birth

{{BirthDeathAge|B|1976}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested
{{BirthDeathAge|B|1976|6|7|1990|8|9}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested
{{BirthDeathAge|B|1976|6|7}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested
{{BirthDeathAge|B|1976|||1990}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested

Date of death

{{BirthDeathAge| |1976| | |1990| |}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested
{{BirthDeathAge| | | | |1990| |}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested
{{BirthDeathAge| | | | |1990|8|9}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested
{{BirthDeathAge| |1976| | |1990|8|9}}


{{#invoke:Shortcut|main|template=yes}}

Usage

Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:

Using this template rather than simply inserting the date into articles allows for the inclusion of hidden metadata about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.

The minimum information required by the template is a birth or death year.

Syntax

{{BirthDeathAge | [insert "B" for a birth date, or leave blank for a death date] |
[year of birth] | [month of birth] | [day of birth] | [year of death] |
[month of death] | [day of death]}}

Any missing information can simply be left out of the template: see the examples below.

Examples

For readability, spaces have been inserted between pipe symbols ("|") where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{^}} can help space the template

Spacing

{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|2}}

Template loop detected: Template:BirthDeathAge

Date format

An optional parameter, date format, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|1|2|{{^}}|{{^}}|{{^}}|yes}}

Template loop detected: Template:BirthDeathAge

Date of birth

{{BirthDeathAge|B|1976}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7|1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|6|7}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge|B|1976|||1990}}

Template loop detected: Template:BirthDeathAge

Date of death

{{BirthDeathAge| |1976| | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990| |}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| | | | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

{{BirthDeathAge| |1976| | |1990|8|9}}

Template loop detected: Template:BirthDeathAge

See also

{{#invoke:Navbox|with collapsible groups}} ur:سانچہ:BirthDeathAge

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested

See also

{{#invoke:Navbox|with collapsible groups}}

This template displays a person's birth and/or death year, or full birth and/or death date, with or without the person's age. It therefore combines the functionality of the following templates:

  • {{tl|Birth date text}}
  • {{tl|Birth date}}
  • {{tl|Birth date and age}} &ndash; same as {{tl|Birth date}}, except that "(age ##)" appears after the birth date
  • {{tl|Birth year and age}} &ndash; year of birth and approximate age
  • {{tl|Death date text}}
  • {{tl|Death date}}
  • {{tl|Death date and age}} &ndash; same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
  • {{tl|Death year and age}} &ndash; year of death and approximate age at death
The minimum information required by the template is a birth or death year.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Insert 'B' for a birth date, leave blank for a death date.

Suggested values
B
Auto value
Stringsuggested
Year of birth2

no description

Default
Example
1942
Numbersuggested
Month of birth3

as a number

Default
Example
1
Numbersuggested
Day of birth4

no description

Default
Example
31
Numbersuggested
Year of death5

no description

Default
Example
2006
Numbersuggested
Month of death6

as a number

Default
Example
12
Numbersuggested
Day of death7

no description

Default
Example
21
Numbersuggested
Date format8

Set this to "yes" to display the day before the month.

Suggested values
yes
Default
Stringsuggested