Jump to content

Template:Marriage

From Wikihoc

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

|{{#ifeq:+|-|

|{{safesubst:#switch:

 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#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|Error}}
            |{{#time:Y| }} }} 
        |{{#time:Y|1 January  }} }}

|2026}}

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

}}|yes

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

|2026}} | {{safesubst:#switch:

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

| main = | other | #default = }}invalid year|{{#if:

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

|2026}}}}|{{#iferror: {{#if:

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

|2026}} | {{safesubst:#switch:

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

| main = | other | #default = }}invalid year|{{#if:

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

|2026}}}}]]

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

|2026}} | {{safesubst:#switch:

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

| main = | other | #default = }}invalid year|{{#if:

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

|2026}}}}}} }}

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

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

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

| main = | other | #default = }}before  |date missing}}}}{{#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 |{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}"" is deprecated; use "died" instead. }}

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

| main = | other | #default = }}"" is deprecated; use "died" instead. }}

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

| main = | other | #default = }}invalid reason 

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

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

    |{{#ifexpr:{{#time:Ymd|{{#switch:{{{1}}}
|long={{#time:F" "j", "Y|+1 day}}
|num={{#time:n" "j|+1 day}}
|#default={{#time:F" "j|+1 day}}

}}}} = {{#time:Ymd|}}

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

|2026}}

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

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

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

|2026}}}}

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

|2026}}

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

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

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

|2026}}}}

| {{#ifexpr:{{#iferror:{{#if: {{#ifeq:|Unknown||}}

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

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

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

|2026}}

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

|2026}}

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

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

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

|2026}}}}

}}

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

}}|yes

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

|2026}} | {{safesubst:#switch:

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

| main = | other | #default = }}invalid year

  |{{safesubst:#ifexpr: 7 != 4
     

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

    |{{#ifexpr:{{#time:Ymd|{{#switch:{{{1}}}
|long={{#time:F" "j", "Y|+1 day}}
|num={{#time:n" "j|+1 day}}
|#default={{#time:F" "j|+1 day}}

}}}} = {{#time:Ymd|}}

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

|2026}}

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

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

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

|2026}}}}

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

|2026}}

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

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

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

|2026}}}}

| {{#ifexpr:{{#iferror:{{#if: {{#ifeq:|Unknown||}}

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

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

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

|2026}}

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

|2026}}

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

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

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

|2026}}}}

}}}}|{{#iferror: {{#if:

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

|2026}} | {{safesubst:#switch:

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

| main = | other | #default = }}invalid year

  |{{safesubst:#ifexpr: 7 != 4
     

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

    |{{#ifexpr:{{#time:Ymd|{{#switch:{{{1}}}
|long={{#time:F" "j", "Y|+1 day}}
|num={{#time:n" "j|+1 day}}
|#default={{#time:F" "j|+1 day}}

}}}} = {{#time:Ymd|}}

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

|2026}}

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

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

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

|2026}}}}

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

|2026}}

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

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

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

|2026}}}}

| {{#ifexpr:{{#iferror:{{#if: {{#ifeq:|Unknown||}}

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

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

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

|2026}}

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

|2026}}

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

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

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

|2026}}}}

}}}}]]

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

|2026}} | {{safesubst:#switch:

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

| main = | other | #default = }}invalid year

  |{{safesubst:#ifexpr: 7 != 4
     

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

    |{{#ifexpr:{{#time:Ymd|{{#switch:{{{1}}}
|long={{#time:F" "j", "Y|+1 day}}
|num={{#time:n" "j|+1 day}}
|#default={{#time:F" "j|+1 day}}

}}}} = {{#time:Ymd|}}

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

|2026}}

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

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

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

|2026}}}}

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

|2026}}

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

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

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

|2026}}}}

| {{#ifexpr:{{#iferror:{{#if: {{#ifeq:|Unknown||}}

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

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

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

|2026}}

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

|2026}}

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

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

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

|2026}}}}

}}}}}} }}

 }}
  |{{#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|{{safesubst:#switch:
 
 {{safesubst:#if: 
 | {{{demospace}}}    
 | {{safesubst:#ifeq:Template|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}"" is deprecated; use "died" instead}}

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

| main = | other | #default = }}"" is deprecated; use "died" instead}}

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

| main = | other | #default = }}invalid reason&nbsp

   | = 
   | #default = 
  }}
}})