Difference between revisions of "Template:BuildTime"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
m (Mornsta moved page Template:FacilityTime to Template:BuildTime without leaving a redirect)
>Canim44
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}}}}
+
[[Category:Templates]]{{#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 14:17, 20 May 2019