Difference between revisions of "Template:BuildTime"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
>Mornsta-gpuser
Line 1: Line 1:
{{#ifeq:{{{1}}}|0|—|{{#ifeq:{{#expr:floor(({{{1|0}}})/86400) round 0}}|0||{{#expr:floor(({{{1|0}}})/86400) round 0}}d}} {{#ifeq:{{#expr:floor(({{{1|0}}}mod86400)/3600) round 0}}|0||{{#expr:floor(({{{1|0}}}mod86400)/3600) round 0}}h}} {{#ifeq:{{#expr:floor(({{{1|0}}}mod3600)/60) round 0}}|0||{{#expr:floor(({{{1|0}}}mod3600)/60) round 0}}m}} {{#ifeq:{{#expr:(floor{{{1|0}}}mod60)}}|0||{{#expr:(floor{{{1|0}}}mod60)}})s}}}}
+
{{#ifeq:{{{1}}}|0|—|{{#ifeq:{{#expr:floor(({{{1|0}}})/86400) round 0}}|0||{{#expr:floor(({{{1|0}}})/86400) round 0}}d}} {{#ifeq:{{#expr:floor(({{{1|0}}}mod86400)/3600) round 0}}|0||{{#expr:floor(({{{1|0}}}mod86400)/3600) round 0}}h}} {{#ifeq:{{#expr:floor(({{{1|0}}}mod3600)/60) round 0}}|0||{{#expr:floor(({{{1|0}}}mod3600)/60) round 0}}m}} {{#ifeq:{{#expr:(floor{{{1|0}}}mod60)}}|0||{{#expr:(floor{{{1|0}}}mod60)}}s}}}}

Revision as of 18:20, 3 March 2019