Template:Marriage: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
en>Jonesey95
(replace Hover title with Tooltip per TFD. Tested in sandbox first.)
Line 22: Line 22:
   |{{abbr|m.|married}} }}{{#ifeq:{{{2|}}}|{{#time:Y|{{{2|}}}}}
   |{{abbr|m.|married}} }}{{#ifeq:{{{2|}}}|{{#time:Y|{{{2|}}}}}
   |{{{2|}}}
   |{{{2|}}}
   |{{hover title|dotted=no|2={{#iferror: {{#time:Y|{{{2|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}}<span style="color:red;">invalid year</span>|{{#time:Y|{{{2|}}}}}}}|1={{{2|}}}}}
   |{{tooltip|dotted=no|1={{#iferror: {{#time:Y|{{{2|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}}<span style="color:red;">invalid year</span>|{{#time:Y|{{{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}}]]}}}}<!--
Line 60: Line 60:
     }}
     }}
   |{{{3|}}}
   |{{{3|}}}
   |{{hover title|dotted=no|2={{#iferror: {{#time:Y|{{{3|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}}<span style="color:red;">invalid year</span>
   |{{tooltip|dotted=no|1={{#iferror: {{#time:Y|{{{3|}}}}} | {{main other|[[Category:Marriage template errors|I{{PAGENAME}}]]}}<span style="color:red;">invalid year</span>
   |{{Str ≠ len|{{{3}}}|4
   |{{Str ≠ len|{{{3}}}|4
     |{{#ifexpr:{{#iferror:{{#time:Ymd|{{Wdib |P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=ymd}} }}|{{#time:Ymd}} }} >= {{#time:Ymd|{{{3|}}}}}
     |{{#ifexpr:{{#iferror:{{#time:Ymd|{{Wdib |P570|fwd=ALL|maxvals=1|noicon=true|pd=yes|df=ymd}} }}|{{#time:Ymd}} }} >= {{#time:Ymd|{{{3|}}}}}
Line 75: Line 75:
     |{{main other|[[Category:Marriage template anomalies|P{{PAGENAME}}]]}}{{if preview|<var>{{colored link|red|Category:Marriage template anomalies|{{#ifexpr:{{#time:Y}} >= {{{3|}}}|posthumous|future}} year}}</var>|{{#time:Y|{{{3|}}}}}
     |{{main other|[[Category:Marriage template anomalies|P{{PAGENAME}}]]}}{{if preview|<var>{{colored link|red|Category:Marriage template anomalies|{{#ifexpr:{{#time:Y}} >= {{{3|}}}|posthumous|future}} year}}</var>|{{#time:Y|{{{3|}}}}}
     }}}}
     }}}}
     }}}}|1={{{3|}}}}}
     }}}}|2={{{3|}}}}}
   }}
   }}
   |{{#if:{{{2|}}}
   |{{#if:{{{2|}}}

Revision as of 09:03, 4 October 2022

(no value)