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

Revision as of 16:19, May 18, 2024

Template:Time:gaError: Invalid time.