Jump to content

Template:Marriage: Difference between revisions

From the Vrienden Universe, a fictional wiki
wiki>Paine Ellsworth
per edit request on talk page - update CSS class for mobile
Tag: Recreated
 
Remove remaining unsupported template dependencies
 
(One intermediate revision by one other user not shown)
Line 23: Line 23:
   |{{abbr|m.|married}} }}{{#ifeq:{{{2|}}}|{{YEAR|{{{2|}}}}}
   |{{abbr|m.|married}} }}{{#ifeq:{{{2|}}}|{{YEAR|{{{2|}}}}}
   |{{{2|}}}
   |{{{2|}}}
   |{{tooltip|dotted=no|1={{#iferror: {{YEAR|{{{2|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}}{{error-small|invalid year}}|{{YEAR|{{{2|}}}}}}}|2={{{2|}}}}}
   |{{tooltip|dotted=no|1={{#iferror: {{YEAR|{{{2|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}}<strong class="error">invalid year</strong>|{{YEAR|{{{2|}}}}}}}|2={{{2|}}}}}
   }}
   }}
  |{{#if:{{{3|}}}{{{end|{{{reason|}}}}}}||{{#if:{{#property:P570}}||{{main other|[[Category:Marriage template errors|N{{PAGENAME}}]]}}}}<!--
  |{{#if:{{{3|}}}{{{end|{{{reason|}}}}}}||{{#if:{{#property:P570}}||{{main other|[[Category:Marriage template errors|N{{PAGENAME}}]]}}}}<!--
-->{{#if:{{{end|{{{reason|}}}}}}||{{#if:{{#invoke:WikidataIB|getValue|P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=y}} | {{main other|[[Category:Marriage template errors|B{{PAGENAME}}]]}}before&nbsp;{{#invoke:WikidataIB|getValue|P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=y}} |{{error-small|date missing}}}}}}<!--
-->{{#if:{{{end|{{{reason|}}}}}}||{{#if:{{#invoke:WikidataIB|getValue|P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=y}} | {{main other|[[Category:Marriage template errors|B{{PAGENAME}}]]}}before&nbsp;{{#invoke:WikidataIB|getValue|P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=y}} |<strong class="error">date missing</strong>}}}}<!--
-->{{#if:{{{end|{{{reason|}}}}}}|{{#if:{{{2|}}}{{{3|}}}|&#44;&#32;}}}}}}
-->{{#if:{{{end|{{{reason|}}}}}}|{{#if:{{{2|}}}{{{3|}}}|&#44;&#32;}}}}}}
   }}{{#if:{{{3|}}}
   }}{{#if:{{{3|}}}
Line 40: Line 40:
     | sep | sep. | separated = {{abbr|sep.|separated}}&nbsp; <!-- commonly used reason for end -->
     | sep | sep. | separated = {{abbr|sep.|separated}}&nbsp; <!-- commonly used reason for end -->
     | ann | ann. | annulled | annulment = {{abbr|ann.|annulled}}&nbsp; <!-- commonly used reason for end -->
     | ann | ann. | annulled | annulment = {{abbr|ann.|annulled}}&nbsp; <!-- commonly used reason for end -->
     | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died&nbsp;|{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}}{{error-small|"{{lc:{{{end|{{{reason|}}}}}}}}" is deprecated; use "died" instead.}}&nbsp;}}
     | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died&nbsp;|{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}}<strong class="error">"{{lc:{{{end|{{{reason|}}}}}}}}" is deprecated; use "died" instead.</strong>&nbsp;}}
     | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died&nbsp;|{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}}{{error-small|"{{lc:{{{end|{{{reason|}}}}}}}}" is deprecated; use "died" instead.}}&nbsp;}}
     | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died&nbsp;|{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}}<strong class="error">"{{lc:{{{end|{{{reason|}}}}}}}}" is deprecated; use "died" instead.</strong>&nbsp;}}
     | w | w. | wid | wid. | widow | widowed = {{main other|[[Category:Marriage template errors|W{{PAGENAME}}]]}}{{error-small|invalid reason}}&nbsp;
     | w | w. | wid | wid. | widow | widowed = {{main other|[[Category:Marriage template errors|W{{PAGENAME}}]]}}<strong class="error">invalid reason</strong>&nbsp;
     | = <!--(reason marriage ended not supplied)-->
     | = <!--(reason marriage ended not supplied)-->
     | #default = {{{end|{{{reason|}}}}}}&nbsp;
     | #default = {{{end|{{{reason|}}}}}}&nbsp;
Line 63: Line 63:
     }}
     }}
   |{{{3|}}}
   |{{{3|}}}
   |{{tooltip|dotted=no|1={{#iferror: {{YEAR|{{{3|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}}{{error-small|invalid year}}
   |{{tooltip|dotted=no|1={{#iferror: {{YEAR|{{{3|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}}<strong class="error">invalid year</strong>
   |{{Str ≠ len|{{{3}}}|4
   |{{Str ≠ len|{{{3}}}|4
     |{{#ifexpr:{{#iferror:{{#time:Ymd|{{#invoke:WikidataIB|getValue|P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=ymd}} }}|{{#time:Ymd}} }} >= {{#time:Ymd|{{{3|}}}}}
     |{{#ifexpr:{{#iferror:{{#time:Ymd|{{#invoke:WikidataIB|getValue|P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=ymd}} }}|{{#time:Ymd}} }} >= {{#time:Ymd|{{{3|}}}}}
Line 87: Line 87:
     | sep | sep. | separated = separated
     | sep | sep. | separated = separated
     | ann | ann. | annulled | annulment = annulled
     | ann | ann. | annulled | annulment = annulled
     | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}}{{error-small|"{{lc:{{{end|{{{reason|}}}}}}}}" is deprecated; use "died" instead}}}}
     | she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died|{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}}<strong class="error">"{{lc:{{{end|{{{reason|}}}}}}}}" is deprecated; use "died" instead</strong>}}
     | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}}{{error-small|"{{lc:{{{end|{{{reason|}}}}}}}}" is deprecated; use "died" instead}}}}
     | he d. | his d. | he died | his death = {{#ifeq:{{#property:P21}}|female|died|{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}}<strong class="error">"{{lc:{{{end|{{{reason|}}}}}}}}" is deprecated; use "died" instead</strong>}}
     | w | w. | wid | wid. | widow | widowed =  {{main other|[[Category:Marriage template errors|W{{PAGENAME}}]]}}{{error-small|invalid reason&nbsp}}
     | w | w. | wid | wid. | widow | widowed =  {{main other|[[Category:Marriage template errors|W{{PAGENAME}}]]}}<strong class="error">invalid reason&nbsp</strong>
     | = <!--(reason marriage ended not supplied)-->
     | = <!--(reason marriage ended not supplied)-->
     | #default = {{{end|{{{reason|}}}}}}
     | #default = {{{end|{{{reason|}}}}}}

Latest revision as of 23:49, 26 September 2026

​
(date missing)​