Differenze tra le versioni di "Template:Time"
Da Bamboomt2Wiki.
(Migliorata visualizzazione tempo ~ ALFA!) |
(Migliorata visualizzazione tempo ~ ALFA!) |
||
Riga 1: | Riga 1: | ||
<includeonly> | <includeonly> | ||
− | {{#vardefine: hours|{{#expr: floor({{#expr: {{{1}}} /60/60 }})}}}} | + | {{#vardefine: hours|{{#expr: floor({{#expr: {{{1}}} /60/60 }})}}}}{{#ifexpr: {{#expr: {{{1}}} /60/60}} >= 1 | {{#var: hours}} {{#ifexpr: {{#expr: {{{1}}} /60/60}} = 1 | ora) | ore }} }} {{#expr: floor({{#expr: {{#expr: {{{1}}} - {{#expr: {{#expr: floor({{#expr: {{{1}}} /60/60 }})}} * 60 * 60 }} }} /60 }}) }} minuti {{#expr: {{{1}}} - {{#expr: {{#expr: floor({{#expr: {{{1}}} /60/60 }})}} * 60 * 60}}- {{#expr: {{#expr: floor({{#expr: {{#expr: {{{1}}} - {{#expr: {{#expr: floor({{#expr: {{{1}}} /60/60 }})}} * 60 * 60 }} }} /60 }}) }} * 60}} }} secondi |
− | {{#ifexpr: {{#expr: {{{1}}} /60/60}} >= 1 | {{#var: hours}} {{#ifexpr: {{#expr: {{{1}}} /60/60}} = 1 | ora) | ore }} }} {{#expr: floor({{#expr: {{#expr: {{{1}}} - {{#expr: {{#expr: floor({{#expr: {{{1}}} /60/60 }})}} * 60 * 60 }} }} /60 }}) }} minuti {{#expr: {{{1}}} - {{#expr: {{#expr: floor({{#expr: {{{1}}} /60/60 }})}} * 60 * 60}}- {{#expr: {{#expr: floor({{#expr: {{#expr: {{{1}}} - {{#expr: {{#expr: floor({{#expr: {{{1}}} /60/60 }})}} * 60 * 60 }} }} /60 }}) }} * 60}} }} secondi | ||
</includeonly> | </includeonly> | ||
− | |||
− | |||
− | |||
− |