Template:Open hours: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
}}<!-- | }}<!-- | ||
--><li> | --><li>{{#switch:{{{Record type|}}} | ||
|Opening | |||
|Closing=<div>{{{Record type|}}}</div> | |||
|#default= | |||
}} | |||
<div>{{#var:wdays}}</div> | <div>{{#var:wdays}}</div> | ||
<div>{{#var:whours}}</div> | <div>{{#ifeq: {{{Record type|}}}|Day off|Day off|{{#var:whours}}}}</div> | ||
</li></includeonly> | </li></includeonly> |