Template:Marriage: Difference between revisions
Appearance
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}}]]}} | |{{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 {{#invoke:WikidataIB|getValue|P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=y}} | | -->{{#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 {{#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|}}}|, }}}}}} | -->{{#if:{{{end|{{{reason|}}}}}}|{{#if:{{{2|}}}{{{3|}}}|, }}}}}} | ||
}}{{#if:{{{3|}}} | }}{{#if:{{{3|}}} | ||
| Line 40: | Line 40: | ||
| sep | sep. | separated = {{abbr|sep.|separated}} <!-- commonly used reason for end --> | | sep | sep. | separated = {{abbr|sep.|separated}} <!-- commonly used reason for end --> | ||
| ann | ann. | annulled | annulment = {{abbr|ann.|annulled}} <!-- commonly used reason for end --> | | ann | ann. | annulled | annulment = {{abbr|ann.|annulled}} <!-- commonly used reason for end --> | ||
| she d. | her d. | she died | her death = {{#ifeq:{{#property:P21}}|male|died |{{main other|[[Category:Marriage template errors|X{{PAGENAME}}]]}} | | 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}}]]}} | | 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}}]]}} | | w | w. | wid | wid. | widow | widowed = {{main other|[[Category:Marriage template errors|W{{PAGENAME}}]]}}<strong class="error">invalid reason</strong> | ||
| = <!--(reason marriage ended not supplied)--> | | = <!--(reason marriage ended not supplied)--> | ||
| #default = {{{end|{{{reason|}}}}}} | | #default = {{{end|{{{reason|}}}}}} | ||
| Line 63: | Line 63: | ||
}} | }} | ||
|{{{3|}}} | |{{{3|}}} | ||
|{{tooltip|dotted=no|1={{#iferror: {{YEAR|{{{3|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}} | |{{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}}]]}} | | 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}}]]}} | | 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}}]]}} | | w | w. | wid | wid. | widow | widowed = {{main other|[[Category:Marriage template errors|W{{PAGENAME}}]]}}<strong class="error">invalid reason </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)