Difference between revisions of "Template:Event infobox"

Jump to navigation Jump to search
no edit summary
Line 27: Line 27:
   }}{{#if:{{#var:duration array piece start|}}||{{#vardefine:duration array piece start|{{#time:c|December 2nd, 2018}}}}
   }}{{#if:{{#var:duration array piece start|}}||{{#vardefine:duration array piece start|{{#time:c|December 2nd, 2018}}}}
   }}{{#if:{{#var:duration array piece end|}}||{{#vardefine:duration array piece end|{{#time:c|December 31st, 3000}}}}
   }}{{#if:{{#var:duration array piece end|}}||{{#vardefine:duration array piece end|{{#time:c|December 31st, 3000}}}}
   }}{{#vardefine:duration array piece start|{{#replace:{{#var:duration array piece start}}|@|}}
   }}
}}{{#vardefine:duration array piece start|{{#replace:{{#var:duration array piece start}}|@|}}
   }}{{#vardefine:duration array piece end|{{#replace:{{#var:duration array piece end}}|@|}}
   }}{{#vardefine:duration array piece end|{{#replace:{{#var:duration array piece end}}|@|}}
  }}
}}{{#if:{{#var:duration}}|
}}{{#if:{{#var:duration}}|
   {{#vardefineecho:duration|{{#var:duration}};{{#var:duration array piece name}}!{{#time:c|{{#var:duration array piece start}}}}->{{#time:c|{{#var:duration array piece end}}}}}}
   {{#vardefineecho:duration|{{#var:duration}};{{#var:duration array piece name}}!{{#time:c|{{#var:duration array piece start}}}}->{{#time:c|{{#var:duration array piece end}}}}}}

Navigation menu