Changes

Template:Convert

1,956 bytes removed, 16:57, 29 February 2020
no edit summary
<includeonly>{{ #vardefineifeq: unit-from | {{ #switch: {{lc:{{{2sortable|}}} }} | minute on| minutes | min | mins <span style= minute | second | seconds | sec | secs = second | tick | ticks | game tick | game ticks | #default = game tick | redstone tick | redstone ticks = redstone tick | in-game day | in-game days = in-game day }}}}{{ #vardefine"display: unit-to | none">{{ #switchpadleft: {{lcFORMATNUM:{{{31}}} |R}} | minute 16| minutes | min | mins = minute | second | seconds | sec | secs = second | tick | ticks | game tick | game ticks = game tick | redstone tick | redstone ticks = redstone tick | in-game day | in-game days = in-game day | #default = 0}}{{#switchifeq: {{#varexpr: unit-from}} | second = game tick | #default = second }} }}}}({{{13|0}}} {{ #switch: {{#var: unit-from)*0}} | game tick 0| redstone tick | in-game day = {{ #ifpadleft: {{#varFORMATNUM: convert-link-from-{{#var: unit-from{3}}} | R}} | {{#var: unit-from16|0}} | [[{{#var: unit-from}}]]</span>}}{{#vardefine: convert-link-from-/{{#varif: unit-from}} 1| true }} }} | second | minute = {{#var: unit-from{2}}}}}|{{#ifeqFORMATNUM: {{{1}}} | 1 ||s R}}|{{ #switchifeq: {{#expr:{sep|{{{seperator3|0}}}*0}}} | 0| () 0}}| brackets = &#32;( | ; | : | , = {{{sep3|{{{seperator}}}}}}&#32; | br | <br> = <br>( | #default = {{{sep4|{{{seperator}}}}}}}}|{{formatnum:{{ #vardefineecho: conversion 5| {{ #expr: {{{1}}} |{{ #switch: {{#var: unit-from6|}}, }|{{#var: unit-to}} {7| second, game tick = *20 | game tick, second = /20 | second, redstone tick = *10 | redstone tick, second = /10 | minute, game tick = *20*60 | game tick, minute = /20/60 | minute, redstone tick = *10*60 | redstone tick, minute = /10/60 | in-game day, minute = *20 | minute, in-game day = /20 | mile, kilometer = *20*60 | second, in-game day = /20/60 | in-game day, game tick = *24000 | game tick, in-game day = /24000  }} }}}} }} |{{ #switch: {{#var: unit-to8|}}} | game tick | redstone tick | in-game day r= {{ #ififeq: {{#var: convert-link-to-{{#var: unit-tosp}}} | }} us| {{#var: unit-toer|re}} | [[d=L{{#var: unit-to}}]]{{#vardefine: convert-link-to-{{#var: unit-to}} lk| true off}} }} | second | minute = A{{#var: unit-to}{abbr|off}}}D{{#ifeq: {{#var: conversiondisp|b}} | 1 ||s}}S{{ #switch: {{{sepadj|{{{seperatorsing|off}}}}}} | | () | brackets | br | <br> s= ) {{{sigfig| #default =}}}}}</includeonly><noinclude>{{documentationDocumentation}}<!-- Put categories/interwiki on the documentation page --></noinclude>