Changes
amended abbreviation to avoid confusion with 'divorced', particularly because details of whether the spouse is living will not be immediately to hand where the spouse predeceased the subject
{{#if:{{{1|}}}
|<div style="position:relative;display:inline-block;line-height:normal;">{{trim|{{#if:{{{end|{{{reason|}}}}}} | {{MultiReplace|{{{1|}}}|<br />||<br >||<br/>||<br>|}} |{{{1}}}
}}|}}{{#if:{{{end|{{{reason|}}}}}}|<br />| }}}}({{#if:{{{2|}}}
|{{abbr|m.|married}} {{#ifeq:{{{2|}}}|{{get year|{{{2|}}}}}
|{{{2|}}}
|{{hover title|dotted=no|2={{get year|{{{2|}}}}}|1={{{2|{{#time:F j, Y}}}}}}}
}}
}}{{#if:{{{3|}}}
|{{#ifeq:{{{end|{{{reason|}}}}}}|
|–
|{{#if:{{{2|}}}
|; 
}}{{#switch:{{{end|{{{reason|}}}}}}
| d | d. | died = died <!-- this used to be {{abbr|d.|died}} but caused confusion with "divorced" -->
| div | div. | divorced = {{abbr|div.|divorced}}
| w | w. | wid | wid. | widow | widowed = {{main other|[[Category:Marriage template errors|W{{PAGENAME}}]]}}{{abbr|wid.|widowed}}
| = <!--(reason marriage ended not supplied)-->
| #default = {{{end|{{{reason|}}}}}}
}}
}}{{#ifeq:{{{3|}}}|{{get year|{{{3|}}}}}
|{{{3|}}}
|{{hover title|dotted=no|2={{get year|{{{3|}}}}}|1={{{3|}}}}}
}}
}})</div>{{#ifeq:{{{4|+}}}|{{{4|-}}}
|{{main other|[[Category:Marriage template errors|U{{PAGENAME}}]]}}
}}<!--
--><noinclude>{{Documentation}}</noinclude>
|<div style="position:relative;display:inline-block;line-height:normal;">{{trim|{{#if:{{{end|{{{reason|}}}}}} | {{MultiReplace|{{{1|}}}|<br />||<br >||<br/>||<br>|}} |{{{1}}}
}}|}}{{#if:{{{end|{{{reason|}}}}}}|<br />| }}}}({{#if:{{{2|}}}
|{{abbr|m.|married}} {{#ifeq:{{{2|}}}|{{get year|{{{2|}}}}}
|{{{2|}}}
|{{hover title|dotted=no|2={{get year|{{{2|}}}}}|1={{{2|{{#time:F j, Y}}}}}}}
}}
}}{{#if:{{{3|}}}
|{{#ifeq:{{{end|{{{reason|}}}}}}|
|–
|{{#if:{{{2|}}}
|; 
}}{{#switch:{{{end|{{{reason|}}}}}}
| d | d. | died = died <!-- this used to be {{abbr|d.|died}} but caused confusion with "divorced" -->
| div | div. | divorced = {{abbr|div.|divorced}}
| w | w. | wid | wid. | widow | widowed = {{main other|[[Category:Marriage template errors|W{{PAGENAME}}]]}}{{abbr|wid.|widowed}}
| = <!--(reason marriage ended not supplied)-->
| #default = {{{end|{{{reason|}}}}}}
}}
}}{{#ifeq:{{{3|}}}|{{get year|{{{3|}}}}}
|{{{3|}}}
|{{hover title|dotted=no|2={{get year|{{{3|}}}}}|1={{{3|}}}}}
}}
}})</div>{{#ifeq:{{{4|+}}}|{{{4|-}}}
|{{main other|[[Category:Marriage template errors|U{{PAGENAME}}]]}}
}}<!--
--><noinclude>{{Documentation}}</noinclude>