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
   |#default={{time:ga|{{{Hour open from|}}}:{{{Minutes open from|}}}}}–{{#if:{{{Hour break from|}}}
   |#default={{#time:ga|{{{Hour open from|}}}:{{{Minutes open from|}}}:00}}–{{#if:{{{Hour break from|}}}
       |{{{Hour break from|}}}:{{{Minutes break from|}}}, {{{Hour break to|}}}:{{{Minutes break to|}}}–
       |{{{Hour break from|}}}:{{{Minutes break from|}}}, {{{Hour break to|}}}:{{{Minutes break to|}}}–
       |{{#time:ga|{{{Hour open to|}}}:{{{Minutes open to|}}}}}
       |{{#time:ga|{{{Hour open to|}}}:{{{Minutes open to|}}}:00}}
     }}
     }}
}}}}<!--  
}}}}<!--  

Revision as of 16:20, May 18, 2024

Error: Invalid time.Error: Invalid time.