Jump to content

Template:Marriage/doc

From The Commentary Community Wiki
Revision as of 17:06, 18 March 2025 by M0x0n (talk | contribs) (1 revision imported)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | Template:Mbox
        }}{{#if: |
         |   {{#ifexist:Template:Marriage
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

Template:Esoteric

Template:Uses Wikidata Template:Uses TemplateStyles

Usage

[edit]
{{#if:|{{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AMarriage%7CMarriage%7CMarriage%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Marriage|Template:Marriage|this template}} in articles{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:Marriage|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AMarriage%7CMarriage%7CMarriage%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:Marriage|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AMarriage%7CMarriage%7CMarriage%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report] for {{#if:Marriage|Template:Marriage|Template:Marriage}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:Marriage|its|this}} TemplateData}}.

|#default=[1]{{#ifeq:{{safesubst:#switch: y
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:Marriage|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:

|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AMarriage%7CMarriage%7CMarriage%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Marriage|Template:Marriage|this template}} in articles{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:Marriage|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AMarriage%7CMarriage%7CMarriage%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:Marriage|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AMarriage%7CMarriage%7CMarriage%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report] for {{#if:Marriage|Template:Marriage|Template:Marriage}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:Marriage|its|this}} TemplateData}}.

|#default=[2]{{#ifeq:{{safesubst:#switch: y
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:Marriage|its|this}} TemplateData}} }}}}

TemplateData for Marriage

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||

}} | other | #default = }} <templatedata>{ "format": "inline",

"description": "Intended for use in Infoboxes, specifically

{{#if:|
}}
{{#if:|{{{name}}}|Marriage/doc}}
{{#if:|
}}
{{#switch:|yes=|#default={{#if:|{{#if:|
}}{{{native_name}}}{{#if:|
}} }} }}
Born{{#if:|
}}
{{#if:|
}}
Bapti{{#if:|z|s}}ed{{#if:||}}
Died{{#if:|
}}
{{#if:|Burial place|Resting place}}{{#if:||}}
Employer{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Notable credit{{#if:||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||}}
Height{{#if: | Template:Convinfobox}}{{#if: | Template:Infobox person/height}}
Opponent{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Criminal charges|Criminal charge}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Judicial status|Criminal status}}{{#if: | {{{judicial_status}}} | }}
Spouse{{#if:|s|}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Parent|{{#ifexpr:Template:Count > 1|Parents|{{#if:|Father|{{#if:|Mother}}}}}}}}{{#if:|{{{parents}}}|{{#ifexpr:Template:Count > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|}}}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Signature}}
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:|}}

| other | #default = }}{{#ifeq:|yes||{{#if:Template||

 {{#if: 
 | {{#if:{{#property:P18}}
   | {{#ifeq:|
     | 
     | 
     }}
   | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}}
     | 
     | 
     }}
   }}
 | {{#if:{{#property:P18}}
   | {{#if: 
     | 
     |  
    }}
   | 
   }}
 }}

}}}} and templates calling Infobox person.\n\n {{#if:||{{#if:

|{{#ifeq:+|-|

|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 7 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 7 >= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

takes up to three unnamed parameters (name, start date, end date) plus an optional named parameter \"end=\" to provide the reason for the end of the marriage.",

   "params": {

"1": { "label": "Spouse's name", "description": "Name of the person to whom the subject married. May be omitted, typically for remarriages to the same spouse.", "type": "string", "suggested": true }, "2": { "label": "Date married", "description": "Date the marriage began.", "type": "date", "suggested": true }, "3": { "label": "Date ended", "description": "Date the marriage was dissolved or the spouse of the article's subject died.", "type": "date", "required": false }, "end": { "label": "Reason marriage ended", "description": "Reason for marriage's end. Suggested reasons are automatically abbreviated. If the marriage ended due to death of article's subject, do not provide a reason.", "type": "string", "required": false, "aliases": [ "reason" ], "suggestedvalues": [ "died", "divorced", "separated", "annulled" ] } } }</templatedata>

Examples and usage notes

[edit]
{{#if:|
}}
{{#if:{{Infobox person}}|{{Infobox person}}|Marriage/doc}}
{{#if:|
}}
{{#switch:|yes=|#default={{#if:|{{#if:|
}}{{{native_name}}}{{#if:|
}} }} }}
Born{{#if:|
}}
{{#if:|
}}
Bapti{{#if:|z|s}}ed{{#if:||}}
Died{{#if:|
}}
{{#if:|Burial place|Resting place}}{{#if:||}}
Employer{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Notable credit{{#if:||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||}}
Height{{#if: | Template:Convinfobox}}{{#if: | Template:Infobox person/height}}
Opponent{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Criminal charges|Criminal charge}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Judicial status|Criminal status}}{{#if: | {{{judicial_status}}} | }}
Spouse{{#if:|s|s}}
{{#if:

{{#if:John Smith ||{{#if:1 January 1895 December 31, 1905

|{{#ifeq:John Smith |John Smith |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Smith
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Smith
  {{#if:1 January 1895 
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Smith
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:1 January 1895 |margin-bottom:1px;}}}}

}}}}">​
({{#if:1 January 1895
 |{{#ifeq:+|
  |{{#switch:December 31, 1905 | = after }}
  |m. }}{{#ifeq:1 January 1895 |{{#if: 1 January 1895 
    |{{#iferror:{{#time:Y|1 January 1 January 1895  }}
        |{{#iferror:{{#time:Y|1 January 1895  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|1 January 1895  }} }} 
        |{{#time:Y|1 January 1 January 1895  }} }}

|2026}}

  |1 January 1895 
  |Template:Tooltip
 }}
|{{#if:December 31, 1905||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:1 January 1895 December 31, 1905|, }}}}}}

 }}{{#if:December 31, 1905
 |{{#ifeq:| 
  |{{#if:1 January 1895 |⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:1 January 1895 
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:December 31, 1905
  |{{safesubst:#ifexpr: 17 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|December 31, 1905}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|December 31, 1905}}
     |{{#if:
      |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: December 31, 1905

    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

    |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |December 31, 1905
  |Template:Tooltip
 }}
  |{{#if:1 January 1895 
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Doe ||{{#if:1885 July 27, 1888 d.

|{{#ifeq:John Doe |John Doe |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Doe
|{{safesubst:#if:1|{{#if:d.
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Doe
  {{#if:1885 
|{{#if:d.|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Doe
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}

| margin-bottom:1px; | {{#if:d.|{{#if:1885 |margin-bottom:1px;}}}}

}}}}">​
({{#if:1885
 |{{#ifeq:d.|
  |{{#switch:July 27, 1888  | = after }}
  |m. }}{{#ifeq:1885 |{{#if: 1885 
    |{{#iferror:{{#time:Y|1 January 1885  }}
        |{{#iferror:{{#time:Y|1885  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|1885  }} }} 
        |{{#time:Y|1 January 1885  }} }}

|2026}}

  |1885 
  |Template:Tooltip
 }}
|{{#if:July 27, 1888 d.||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:d.||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:d.|{{#if:1885 July 27, 1888 |, }}}}}}

 }}{{#if:July 27, 1888 
 |{{#ifeq:d.| 
  |{{#if:1885 |⁠–⁠|{{#ifeq:d.|d.
   |{{#ifeq:d.|d. | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:1885 
   |; 
  }}{{#switch:d.
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = d. 
  }}
 }}{{#ifeq:July 27, 1888 
  |{{safesubst:#ifexpr: 13 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|July 27, 1888 }}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|July 27, 1888 }}
     |{{#if:d.
      |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: July 27, 1888

    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

    |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |July 27, 1888 
  |Template:Tooltip
 }}
  |{{#if:1885 
   |{{#if:d.|, |}}
  }}{{#switch:d.
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = d.
  }}
}})

{{#if:Jane Doe ||{{#if:2002

|{{#ifeq:Jane Doe |Jane Doe |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Jane Doe
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Jane Doe
  {{#if:2002
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Jane Doe
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2002|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2002|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Public ||{{#if:20022010

|{{#ifeq:John Q. Public |John Q. Public |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Public
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Public
  {{#if:2002
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 14 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Public
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 14 >= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:+|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:20022010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:2002|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Citizen ||{{#if:20022010div

|{{#ifeq:John Q. Citizen |John Q. Citizen |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Citizen
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Citizen
  {{#if:2002
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 15 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Citizen
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 15 >= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:div|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:2010div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:20022010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:div| 
  |{{#if:2002|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:div
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:||{{#if:2012

|{{#ifeq:||
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:2012
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 0 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 0 >= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2012|margin-bottom:1px;}}}}

}}}}">​
({{#if:2012
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2012|{{#if: 2012
    |{{#iferror:{{#time:Y|1 January 2012 }}
        |{{#iferror:{{#time:Y|2012 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2012 }} }} 
        |{{#time:Y|1 January 2012 }} }}

|2026}}

  |2012
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2012|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2012|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2012
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2012
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Taxpayer ||{{#if:2002div

|{{#ifeq:John Q. Taxpayer |John Q. Taxpayer |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Taxpayer
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Taxpayer
  {{#if:2002
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 16 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Taxpayer
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 16 >= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:div|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:2002|, }}}}}}

 }}{{#if:
 |{{#ifeq:div| 
  |{{#if:2002|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:div
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Joe Blow||{{#if:2010div

|{{#ifeq:Joe Blow|Joe Blow|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Blow
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Blow
  {{#if:
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Blow
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:div|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:div| 
  |{{#if:|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:div
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Joe Bloggs||{{#if:2010

|{{#ifeq:Joe Bloggs|Joe Bloggs|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Bloggs
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Bloggs
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Bloggs
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:+|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:Joe Sixpack||{{#if:2010

|{{#ifeq:Joe Sixpack|Joe Sixpack|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Sixpack
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Sixpack
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 11 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Sixpack
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 11 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:|
   |{{#ifeq:| | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:Joe Schmo ||{{#if:div

|{{#ifeq:Joe Schmo |Joe Schmo |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Schmo
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Schmo
  {{#if:
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 9 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Schmo
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 9 >= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:div|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:|, }}}}}}

 }}{{#if:
 |{{#ifeq:div| 
  |{{#if:|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:div
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Juan Perez ||{{#if:2010

|{{#ifeq:Juan Perez |Juan Perez |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Juan Perez
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Juan Perez
  {{#if:2010
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Juan Perez
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2010|margin-bottom:1px;}}}}

}}}}">​
({{#if:2010
 |{{#ifeq:|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2010|{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

  |2010
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2010|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:| | until | before }}}} }}
  |{{#if:2010
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2010
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})
|

{{#if:John Smith ||{{#if:1 January 1895 December 31, 1905

|{{#ifeq:John Smith |John Smith |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Smith
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Smith
  {{#if:1 January 1895 
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Smith
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:1 January 1895 |margin-bottom:1px;}}}}

}}}}">​
({{#if:1 January 1895
 |{{#ifeq:+|
  |{{#switch:December 31, 1905 | = after }}
  |m. }}{{#ifeq:1 January 1895 |{{#if: 1 January 1895 
    |{{#iferror:{{#time:Y|1 January 1 January 1895  }}
        |{{#iferror:{{#time:Y|1 January 1895  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|1 January 1895  }} }} 
        |{{#time:Y|1 January 1 January 1895  }} }}

|2026}}

  |1 January 1895 
  |Template:Tooltip
 }}
|{{#if:December 31, 1905||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:1 January 1895 December 31, 1905|, }}}}}}

 }}{{#if:December 31, 1905
 |{{#ifeq:| 
  |{{#if:1 January 1895 |⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:1 January 1895 
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:December 31, 1905
  |{{safesubst:#ifexpr: 17 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|December 31, 1905}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|December 31, 1905}}
     |{{#if:
      |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: December 31, 1905

    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

    |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |December 31, 1905
  |Template:Tooltip
 }}
  |{{#if:1 January 1895 
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Doe ||{{#if:1885 July 27, 1888 d.

|{{#ifeq:John Doe |John Doe |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Doe
|{{safesubst:#if:1|{{#if:d.
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Doe
  {{#if:1885 
|{{#if:d.|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Doe
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}

| margin-bottom:1px; | {{#if:d.|{{#if:1885 |margin-bottom:1px;}}}}

}}}}">​
({{#if:1885
 |{{#ifeq:d.|
  |{{#switch:July 27, 1888  | = after }}
  |m. }}{{#ifeq:1885 |{{#if: 1885 
    |{{#iferror:{{#time:Y|1 January 1885  }}
        |{{#iferror:{{#time:Y|1885  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|1885  }} }} 
        |{{#time:Y|1 January 1885  }} }}

|2026}}

  |1885 
  |Template:Tooltip
 }}
|{{#if:July 27, 1888 d.||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:d.||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:d.|{{#if:1885 July 27, 1888 |, }}}}}}

 }}{{#if:July 27, 1888 
 |{{#ifeq:d.| 
  |{{#if:1885 |⁠–⁠|{{#ifeq:d.|d.
   |{{#ifeq:d.|d. | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:1885 
   |; 
  }}{{#switch:d.
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = d. 
  }}
 }}{{#ifeq:July 27, 1888 
  |{{safesubst:#ifexpr: 13 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|July 27, 1888 }}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|July 27, 1888 }}
     |{{#if:d.
      |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: July 27, 1888

    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

    |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |July 27, 1888 
  |Template:Tooltip
 }}
  |{{#if:1885 
   |{{#if:d.|, |}}
  }}{{#switch:d.
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = d.
  }}
}})

{{#if:Jane Doe ||{{#if:2002

|{{#ifeq:Jane Doe |Jane Doe |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Jane Doe
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Jane Doe
  {{#if:2002
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Jane Doe
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2002|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2002|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Public ||{{#if:20022010

|{{#ifeq:John Q. Public |John Q. Public |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Public
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Public
  {{#if:2002
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 14 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Public
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 14 >= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:+|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:20022010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:2002|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Citizen ||{{#if:20022010div

|{{#ifeq:John Q. Citizen |John Q. Citizen |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Citizen
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Citizen
  {{#if:2002
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 15 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Citizen
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 15 >= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:div|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:2010div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:20022010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:div| 
  |{{#if:2002|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:div
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:||{{#if:2012

|{{#ifeq:||
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:2012
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 0 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 0 >= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2012|margin-bottom:1px;}}}}

}}}}">​
({{#if:2012
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2012|{{#if: 2012
    |{{#iferror:{{#time:Y|1 January 2012 }}
        |{{#iferror:{{#time:Y|2012 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2012 }} }} 
        |{{#time:Y|1 January 2012 }} }}

|2026}}

  |2012
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2012|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2012|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2012
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2012
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Taxpayer ||{{#if:2002div

|{{#ifeq:John Q. Taxpayer |John Q. Taxpayer |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Taxpayer
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Taxpayer
  {{#if:2002
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 16 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Taxpayer
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 16 >= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:div|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:2002|, }}}}}}

 }}{{#if:
 |{{#ifeq:div| 
  |{{#if:2002|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:div
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Joe Blow||{{#if:2010div

|{{#ifeq:Joe Blow|Joe Blow|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Blow
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Blow
  {{#if:
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Blow
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:div|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:div| 
  |{{#if:|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:div
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Joe Bloggs||{{#if:2010

|{{#ifeq:Joe Bloggs|Joe Bloggs|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Bloggs
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Bloggs
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Bloggs
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:+|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:Joe Sixpack||{{#if:2010

|{{#ifeq:Joe Sixpack|Joe Sixpack|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Sixpack
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Sixpack
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 11 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Sixpack
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 11 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:|
   |{{#ifeq:| | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:Joe Schmo ||{{#if:div

|{{#ifeq:Joe Schmo |Joe Schmo |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Schmo
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Schmo
  {{#if:
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 9 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Schmo
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 9 >= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:div|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:|, }}}}}}

 }}{{#if:
 |{{#ifeq:div| 
  |{{#if:|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:div
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Juan Perez ||{{#if:2010

|{{#ifeq:Juan Perez |Juan Perez |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Juan Perez
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Juan Perez
  {{#if:2010
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Juan Perez
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2010|margin-bottom:1px;}}}}

}}}}">​
({{#if:2010
 |{{#ifeq:|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2010|{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

  |2010
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2010|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:| | until | before }}}} }}
  |{{#if:2010
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2010
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})
}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Parent|{{#ifexpr:Template:Count > 1|Parents|{{#if:|Father|{{#if:|Mother}}}}}}}}{{#if:|{{{parents}}}|{{#ifexpr:Template:Count > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|}}}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Signature}}
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:|}}

| other | #default = }}{{#ifeq:|yes||{{#if:Template||

 {{#if: 
 | {{#if:{{#property:P18}}
   | {{#ifeq:|
     | 
     | 
     }}
   | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}}
     | 
     | 
     }}
   }}
 | {{#if:{{#property:P18}}
   | {{#if: 
     | 
     |  
    }}
   | 
   }}
 }}

}}}} Infoboxes already reduce text size to 88%, and MOS:FONTSIZE sets a lower limit for text size at 85% of the normal page font size, so it is not appropriate to use font size reduction when this template is used in an infobox. The example here is produced by: <syntaxhighlight style="font-size:small;" lang="wikitext">

{{#if:|
}}
{{#if:|{{{name}}}|Marriage/doc}}
{{#if:|
}}
{{#switch:|yes=|#default={{#if:|{{#if:|
}}{{{native_name}}}{{#if:|
}} }} }}
Born{{#if:|
}}
{{#if:|
}}
Bapti{{#if:|z|s}}ed{{#if:||}}
Died{{#if:|
}}
{{#if:|Burial place|Resting place}}{{#if:||}}
Employer{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Organisation|Organization}}{{#if:|s|}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Agent{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Notable credit{{#if:||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Label{{#if:||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}}}
Notable work{{#if:||}}
Height{{#if: | Template:Convinfobox}}{{#if: | Template:Infobox person/height}}
Opponent{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Criminal charges|Criminal charge}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Judicial status|Criminal status}}{{#if: | {{{judicial_status}}} | }}
Spouse{{#if:|s|s}}
{{#if:

{{#if:John Smith ||{{#if:1 January 1895 December 31, 1905

|{{#ifeq:John Smith |John Smith |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Smith
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Smith
  {{#if:1 January 1895 
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Smith
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:1 January 1895 |margin-bottom:1px;}}}}

}}}}">​
({{#if:1 January 1895
 |{{#ifeq:+|
  |{{#switch:December 31, 1905 | = after }}
  |m. }}{{#ifeq:1 January 1895 |{{#if: 1 January 1895 
    |{{#iferror:{{#time:Y|1 January 1 January 1895  }}
        |{{#iferror:{{#time:Y|1 January 1895  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|1 January 1895  }} }} 
        |{{#time:Y|1 January 1 January 1895  }} }}

|2026}}

  |1 January 1895 
  |Template:Tooltip
 }}
|{{#if:December 31, 1905||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:1 January 1895 December 31, 1905|, }}}}}}

 }}{{#if:December 31, 1905
 |{{#ifeq:| 
  |{{#if:1 January 1895 |⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:1 January 1895 
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:December 31, 1905
  |{{safesubst:#ifexpr: 17 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|December 31, 1905}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|December 31, 1905}}
     |{{#if:
      |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: December 31, 1905

    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

    |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |December 31, 1905
  |Template:Tooltip
 }}
  |{{#if:1 January 1895 
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Doe ||{{#if:1885 July 27, 1888 d.

|{{#ifeq:John Doe |John Doe |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Doe
|{{safesubst:#if:1|{{#if:d.
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Doe
  {{#if:1885 
|{{#if:d.|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Doe
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}

| margin-bottom:1px; | {{#if:d.|{{#if:1885 |margin-bottom:1px;}}}}

}}}}">​
({{#if:1885
 |{{#ifeq:d.|
  |{{#switch:July 27, 1888  | = after }}
  |m. }}{{#ifeq:1885 |{{#if: 1885 
    |{{#iferror:{{#time:Y|1 January 1885  }}
        |{{#iferror:{{#time:Y|1885  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|1885  }} }} 
        |{{#time:Y|1 January 1885  }} }}

|2026}}

  |1885 
  |Template:Tooltip
 }}
|{{#if:July 27, 1888 d.||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:d.||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:d.|{{#if:1885 July 27, 1888 |, }}}}}}

 }}{{#if:July 27, 1888 
 |{{#ifeq:d.| 
  |{{#if:1885 |⁠–⁠|{{#ifeq:d.|d.
   |{{#ifeq:d.|d. | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:1885 
   |; 
  }}{{#switch:d.
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = d. 
  }}
 }}{{#ifeq:July 27, 1888 
  |{{safesubst:#ifexpr: 13 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|July 27, 1888 }}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|July 27, 1888 }}
     |{{#if:d.
      |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: July 27, 1888

    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

    |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |July 27, 1888 
  |Template:Tooltip
 }}
  |{{#if:1885 
   |{{#if:d.|, |}}
  }}{{#switch:d.
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = d.
  }}
}})

{{#if:Jane Doe ||{{#if:2002

|{{#ifeq:Jane Doe |Jane Doe |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Jane Doe
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Jane Doe
  {{#if:2002
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Jane Doe
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2002|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2002|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Public ||{{#if:20022010

|{{#ifeq:John Q. Public |John Q. Public |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Public
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Public
  {{#if:2002
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 14 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Public
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 14 >= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:+|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:20022010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:2002|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Citizen ||{{#if:20022010div

|{{#ifeq:John Q. Citizen |John Q. Citizen |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Citizen
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Citizen
  {{#if:2002
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 15 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Citizen
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 15 >= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:div|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:2010div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:20022010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:div| 
  |{{#if:2002|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:div
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:||{{#if:2012

|{{#ifeq:||
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:2012
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 0 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 0 >= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2012|margin-bottom:1px;}}}}

}}}}">​
({{#if:2012
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2012|{{#if: 2012
    |{{#iferror:{{#time:Y|1 January 2012 }}
        |{{#iferror:{{#time:Y|2012 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2012 }} }} 
        |{{#time:Y|1 January 2012 }} }}

|2026}}

  |2012
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2012|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2012|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2012
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2012
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Taxpayer ||{{#if:2002div

|{{#ifeq:John Q. Taxpayer |John Q. Taxpayer |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Taxpayer
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Taxpayer
  {{#if:2002
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 16 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Taxpayer
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 16 >= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:div|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:2002|, }}}}}}

 }}{{#if:
 |{{#ifeq:div| 
  |{{#if:2002|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:div
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Joe Blow||{{#if:2010div

|{{#ifeq:Joe Blow|Joe Blow|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Blow
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Blow
  {{#if:
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Blow
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:div|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:div| 
  |{{#if:|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:div
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Joe Bloggs||{{#if:2010

|{{#ifeq:Joe Bloggs|Joe Bloggs|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Bloggs
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Bloggs
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Bloggs
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:+|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:Joe Sixpack||{{#if:2010

|{{#ifeq:Joe Sixpack|Joe Sixpack|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Sixpack
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Sixpack
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 11 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Sixpack
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 11 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:|
   |{{#ifeq:| | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:Joe Schmo ||{{#if:div

|{{#ifeq:Joe Schmo |Joe Schmo |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Schmo
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Schmo
  {{#if:
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 9 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Schmo
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 9 >= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:div|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:|, }}}}}}

 }}{{#if:
 |{{#ifeq:div| 
  |{{#if:|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:div
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Juan Perez ||{{#if:2010

|{{#ifeq:Juan Perez |Juan Perez |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Juan Perez
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Juan Perez
  {{#if:2010
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Juan Perez
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2010|margin-bottom:1px;}}}}

}}}}">​
({{#if:2010
 |{{#ifeq:|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2010|{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

  |2010
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2010|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:| | until | before }}}} }}
  |{{#if:2010
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2010
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})
|

{{#if:John Smith ||{{#if:1 January 1895 December 31, 1905

|{{#ifeq:John Smith |John Smith |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Smith
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Smith
  {{#if:1 January 1895 
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Smith
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:1 January 1895 | {{safesubst:#if:December 31, 1905|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:1 January 1895 |margin-bottom:1px;}}}}

}}}}">​
({{#if:1 January 1895
 |{{#ifeq:+|
  |{{#switch:December 31, 1905 | = after }}
  |m. }}{{#ifeq:1 January 1895 |{{#if: 1 January 1895 
    |{{#iferror:{{#time:Y|1 January 1 January 1895  }}
        |{{#iferror:{{#time:Y|1 January 1895  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|1 January 1895  }} }} 
        |{{#time:Y|1 January 1 January 1895  }} }}

|2026}}

  |1 January 1895 
  |Template:Tooltip
 }}
|{{#if:December 31, 1905||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:1 January 1895 December 31, 1905|, }}}}}}

 }}{{#if:December 31, 1905
 |{{#ifeq:| 
  |{{#if:1 January 1895 |⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:1 January 1895 
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:December 31, 1905
  |{{safesubst:#ifexpr: 17 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|December 31, 1905}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|December 31, 1905}}
     |{{#if:
      |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: December 31, 1905

    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

    |{{#if: December 31, 1905
    |{{#iferror:{{#time:Y|1 January December 31, 1905 }}
        |{{#iferror:{{#time:Y|December 31, 1905 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|December 31, 1905 }} }} 
        |{{#time:Y|1 January December 31, 1905 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |December 31, 1905
  |Template:Tooltip
 }}
  |{{#if:1 January 1895 
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Doe ||{{#if:1885 July 27, 1888 d.

|{{#ifeq:John Doe |John Doe |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Doe
|{{safesubst:#if:1|{{#if:d.
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Doe
  {{#if:1885 
|{{#if:d.|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Doe
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:1885 | {{safesubst:#if:July 27, 1888 |15|20}} |20 }}

| margin-bottom:1px; | {{#if:d.|{{#if:1885 |margin-bottom:1px;}}}}

}}}}">​
({{#if:1885
 |{{#ifeq:d.|
  |{{#switch:July 27, 1888  | = after }}
  |m. }}{{#ifeq:1885 |{{#if: 1885 
    |{{#iferror:{{#time:Y|1 January 1885  }}
        |{{#iferror:{{#time:Y|1885  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|1885  }} }} 
        |{{#time:Y|1 January 1885  }} }}

|2026}}

  |1885 
  |Template:Tooltip
 }}
|{{#if:July 27, 1888 d.||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:d.||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:d.|{{#if:1885 July 27, 1888 |, }}}}}}

 }}{{#if:July 27, 1888 
 |{{#ifeq:d.| 
  |{{#if:1885 |⁠–⁠|{{#ifeq:d.|d.
   |{{#ifeq:d.|d. | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:1885 
   |; 
  }}{{#switch:d.
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = d. 
  }}
 }}{{#ifeq:July 27, 1888 
  |{{safesubst:#ifexpr: 13 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|July 27, 1888 }}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|July 27, 1888 }}
     |{{#if:d.
      |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: July 27, 1888

    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

    |{{#if: July 27, 1888 
    |{{#iferror:{{#time:Y|1 January July 27, 1888  }}
        |{{#iferror:{{#time:Y|July 27, 1888  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|July 27, 1888  }} }} 
        |{{#time:Y|1 January July 27, 1888  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |July 27, 1888 
  |Template:Tooltip
 }}
  |{{#if:1885 
   |{{#if:d.|, |}}
  }}{{#switch:d.
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = d.
  }}
}})

{{#if:Jane Doe ||{{#if:2002

|{{#ifeq:Jane Doe |Jane Doe |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Jane Doe
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Jane Doe
  {{#if:2002
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Jane Doe
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2002|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2002|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Public ||{{#if:20022010

|{{#ifeq:John Q. Public |John Q. Public |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Public
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Public
  {{#if:2002
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 14 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Public
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 14 >= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:+|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:20022010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:2002|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Citizen ||{{#if:20022010div

|{{#ifeq:John Q. Citizen |John Q. Citizen |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Citizen
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Citizen
  {{#if:2002
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 15 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Citizen
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 15 >= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:div|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:2010div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:20022010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:div| 
  |{{#if:2002|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:div
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:||{{#if:2012

|{{#ifeq:||
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:2012
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 0 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 0 >= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2012| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2012|margin-bottom:1px;}}}}

}}}}">​
({{#if:2012
 |{{#ifeq:+|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2012|{{#if: 2012
    |{{#iferror:{{#time:Y|1 January 2012 }}
        |{{#iferror:{{#time:Y|2012 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2012 }} }} 
        |{{#time:Y|1 January 2012 }} }}

|2026}}

  |2012
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2012|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2012|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2012
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2012
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:John Q. Taxpayer ||{{#if:2002div

|{{#ifeq:John Q. Taxpayer |John Q. Taxpayer |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:John Q. Taxpayer
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">John Q. Taxpayer
  {{#if:2002
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 16 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">John Q. Taxpayer
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 16 >= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2002| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:2002|margin-bottom:1px;}}}}

}}}}">​
({{#if:2002
 |{{#ifeq:div|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2002|{{#if: 2002
    |{{#iferror:{{#time:Y|1 January 2002 }}
        |{{#iferror:{{#time:Y|2002 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2002 }} }} 
        |{{#time:Y|1 January 2002 }} }}

|2026}}

  |2002
  |Template:Tooltip
 }}
|{{#if:div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:2002|, }}}}}}

 }}{{#if:
 |{{#ifeq:div| 
  |{{#if:2002|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:2002
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:div
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2002
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Joe Blow||{{#if:2010div

|{{#ifeq:Joe Blow|Joe Blow|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Blow
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Blow
  {{#if:
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 8 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Blow
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 8 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:div|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:div| 
  |{{#if:|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:div
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Joe Bloggs||{{#if:2010

|{{#ifeq:Joe Bloggs|Joe Bloggs|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Bloggs
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Bloggs
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Bloggs
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:+|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:Joe Sixpack||{{#if:2010

|{{#ifeq:Joe Sixpack|Joe Sixpack|
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Sixpack
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Sixpack
  {{#if:
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 11 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Sixpack
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 11 >= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:2010|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:|
  |{{#switch:2010 | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:2010||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:2010
 |{{#ifeq:| 
  |{{#if:|⁠–⁠|{{#ifeq:|
   |{{#ifeq:| | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:2010
  |{{safesubst:#ifexpr: 4 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|2010}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|2010}}
     |{{#if:
      |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if: 2010

    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |2010
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})

{{#if:Joe Schmo ||{{#if:div

|{{#ifeq:Joe Schmo |Joe Schmo |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Joe Schmo
|{{safesubst:#if:1|{{#if:div
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Joe Schmo
  {{#if:
|{{#if:div|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 9 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Joe Schmo
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 9 >= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:div|{{#if:|margin-bottom:1px;}}}}

}}}}">​
({{#if:
 |{{#ifeq:div|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:|{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

  |
  |Template:Tooltip
 }}
|{{#if:div||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:div||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:div|{{#if:|, }}}}}}

 }}{{#if:
 |{{#ifeq:div| 
  |{{#if:|⁠–⁠|{{#ifeq:div|div
   |{{#ifeq:div|div | until | before }}
   |{{#ifeq:+|- | until | before }}}} }}
  |{{#if:
   |; 
  }}{{#switch:div
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default = div 
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:div
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:
   |{{#if:div|, |}}
  }}{{#switch:div
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = div
  }}
}})

{{#if:Juan Perez ||{{#if:2010

|{{#ifeq:Juan Perez |Juan Perez |
|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}}}}}

{{#if:Juan Perez
|{{safesubst:#if:1|{{#if:
|
= 20

| margin-top:1px;white-space:normal; |

}}}}">Juan Perez
  {{#if:2010
|{{#if:|
}}
   |{{#if:{{#if:||{{#if:|0|}}}}
|
    |{{safesubst:#ifexpr: 10 >= 20  
|

| }}

 }}}}
|
= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}

| margin-top:1px;white-space:normal; |

}}}}">Juan Perez
  {{#if:{{#if:||{{#if:|0|}}}}
|
   |{{safesubst:#ifexpr: 10 >= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}  
|

| }}}}

}}}}}}
= {{safesubst:#if:2010| {{safesubst:#if:|15|20}} |20 }}

| margin-bottom:1px; | {{#if:|{{#if:2010|margin-bottom:1px;}}}}

}}}}">​
({{#if:2010
 |{{#ifeq:|
  |{{#switch: | = after }}
  |m. }}{{#ifeq:2010|{{#if: 2010
    |{{#iferror:{{#time:Y|1 January 2010 }}
        |{{#iferror:{{#time:Y|2010 }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|2010 }} }} 
        |{{#time:Y|1 January 2010 }} }}

|2026}}

  |2010
  |Template:Tooltip
 }}
|{{#if:||{{#if:{{#property:P570}}||{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}}}{{#if:||{{#if: | {{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}before  |Template:Error-small}}}}{{#if:|{{#if:2010|, }}}}}}

 }}{{#if:
 |{{#ifeq:| 
  |{{#if:2010|⁠–⁠|{{#ifeq:+|-
   |{{#ifeq:+|- | until | before }}
   |{{#ifeq:| | until | before }}}} }}
  |{{#if:2010
   |; 
  }}{{#switch:
   | d | d. | died = died 
   | div | div. | divorce | divorced = div. 
   | sep | sep. | separated = sep.  
   | ann | ann. | annulled | annulment = ann.  
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small }}

   | w | w. | wid | wid. | widow | widowed = {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small 

   | = 
   | #default =  
  }}
 }}{{#ifeq:
  |{{safesubst:#ifexpr: 7 != 4
     

| {{#ifexpr:{{#iferror:{{#time:Ymd| }}|{{#time:Ymd}} }} >= {{#time:Ymd|}}

    |{{#ifexpr:{{#time:Ymd|Template:Tomorrow}} = {{#time:Ymd|}}
     |{{#if:
      |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

      |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

     |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

     }}
    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

| {{#ifexpr:{{#iferror:{{#if:

    |{{#iferror:{{#time:Y|1 January   }}
        |{{#iferror:{{#time:Y|  }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y|  }} }} 
        |{{#time:Y|1 January   }} }}

|2026}}|{{#time:Y}} }} >= {{#if:

    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#if: 
    |{{#iferror:{{#time:Y|1 January  }}
        |{{#iferror:{{#time:Y| }} 
            |{{#ifeq:|{{{2}}}|error|Template:Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

    |{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:If preview}}

}}

  |
  |Template:Tooltip
 }}
  |{{#if:2010
   |{{#if:|, |}}
  }}{{#switch:
   | d | d. | died = died
   | div | div. | divorce | divorced = divorced
   | sep | sep. | separated = separated
   | ann | ann. | annulled | annulment = annulled
   | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small}}

   | w | w. | wid | wid. | widow | widowed =  {{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}Template:Error-small

   | = 
   | #default = 
  }}
}})
}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
Partner{{#if:|s|}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Parent|{{#ifexpr:Template:Count > 1|Parents|{{#if:|Father|{{#if:|Mother}}}}}}}}{{#if:|{{{parents}}}|{{#ifexpr:Template:Count > 1|
  • {{{father}}} (father)
  • {{{mother}}} (mother)
|}}}}{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default =

}}
{{#if:|Signature}}
{{#if:|Notes}}
{{#if:|
{{{footnotes}}}
}}

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = {{#if:|}}{{#if:|}}

| other | #default = }}{{#ifeq:|yes||{{#if:Template||

 {{#if: 
 | {{#if:{{#property:P18}}
   | {{#ifeq:|
     | 
     | 
     }}
   | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}}
     | 
     | 
     }}
   }}
 | {{#if:{{#property:P18}}
   | {{#if: 
     | 
     |  
    }}
   | 
   }}
 }}

}}}} </syntaxhighlight>

  • None of the parameters are required on their own, but if a template is missing all three of start date, end date, and reason, an error message will be displayed.
  • Use of the first two parameters with |{{SAFESUBST:#if:end|end=}} (|{{SAFESUBST:#if:reason|reason=}}) will cause a line break between the name and the start date.
  • Use of Template:Dc or Template:Dc for this purpose has been deprecated (see discussion).
  • If the marriage ended with the death of the article's subject, Template:Insource.
  • For either date parameter, only the year will be displayed; if a full date is provided, it is included via a tooltip; i.e., Template:Tla.

Template:Qnote

Tracking categories

[edit]

}}