Difference between revisions of "Template:Gacha infobox"

Jump to navigation Jump to search
m
no edit summary
m
Line 34: Line 34:
     {{#vardefine:duration|{{#var:duration}};{{#var:duration array piece name}}!{{#replace:{{#time:c|{{#var:duration array piece start}}}}|+00:00|+09:00}}->{{#replace:{{#time:c|{{#var:duration array piece end}}}}|+00:00|+09:00}}}}
     {{#vardefine:duration|{{#var:duration}};{{#var:duration array piece name}}!{{#replace:{{#time:c|{{#var:duration array piece start}}}}|+00:00|+09:00}}->{{#replace:{{#time:c|{{#var:duration array piece end}}}}|+00:00|+09:00}}}}
     |{{#vardefine:duration|{{#var:duration array piece name}}!{{#replace:{{#time:c|{{#var:duration array piece start}}}}|+00:00|+09:00}}->{{#replace:{{#time:c|{{#var:duration array piece end}}}}|+00:00|+09:00}}}}
     |{{#vardefine:duration|{{#var:duration array piece name}}!{{#replace:{{#time:c|{{#var:duration array piece start}}}}|+00:00|+09:00}}->{{#replace:{{#time:c|{{#var:duration array piece end}}}}|+00:00|+09:00}}}}
   }}{{#ifexpr:{{#time: U|now}} >= {{#time:U|{{#var:duration array piece start}}}} and {{#time: U|now}} <= {{#time: U|{{#var:duration array piece end}}}}|
   }}{{#ifexpr:{{#time: U|+9 hours}} >= {{#time:U|{{#var:duration array piece start}}}} and {{#time: U|+9 hours}} <= {{#time: U|{{#var:duration array piece end}}}}|
     {{#vardefine:is active|true}}
     {{#vardefine:is active|true}}
   }}{{#vardefine:duration array piece start|{{#time:U|{{#var:duration array piece start}}}}
   }}{{#vardefine:duration array piece start|{{#time:U|{{#var:duration array piece start}}}}
trusted
5,920

edits

Navigation menu