Template:Open hours: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
-->{{#vardefine: whours|{{#switch: {{{Schedule type|}}} | -->{{#vardefine: whours|{{#switch: {{{Schedule type|}}} | ||
|Day off=Day off | |Day off=Day off | ||
|Working day={{#time: | |Working day={{#time:g{{#if:{{{Minutes open from|}}}|{{#ifeq:{{{Minutes open from|}}}|00||:i}}}} a|{{{Hour open from|}}}:{{{Minutes open from|}}}:00}}–<!-- | ||
-->{{#time: | -->{{#time:g{{#if:{{{Minutes open to |}}}|{{#ifeq:{{{Minutes open to |}}}|00||:i}}}} a|{{{Hour open to |}}}:{{{Minutes open to |}}}:00}} | ||
|Working day with break={{#time: | |Working day with break={{#time:g{{#if:{{{Minutes open from |}}}|{{#ifeq:{{{Minutes open from |}}}|00||:i}}}} a|{{{Hour open from |}}}:{{{Minutes open from |}}}:00}}–<!-- | ||
-->{{#time: | -->{{#time:g{{#if:{{{Minutes break from|}}}|{{#ifeq:{{{Minutes break from|}}}|00||:i}}}} a|{{{Hour break from|}}}:{{{Minutes break from|}}}:00}}, <!-- | ||
-->{{#time: | -->{{#time:g{{#if:{{{Minutes break to |}}}|{{#ifeq:{{{Minutes break to |}}}|00||:i}}}} a|{{{Hour break to |}}}:{{{Minutes break to |}}}:00}}–<!-- | ||
-->{{#time: | -->{{#time:g{{#if:{{{Minutes open to |}}}|{{#ifeq:{{{Minutes open to |}}}|00||:i}}}} a|{{{Hour open to |}}}:{{{Minutes open to |}}}:00}} | ||
}}}}<!-- | }}}}<!-- | ||