Template:Test: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<div>{{#show:{{{Program|}}}|?Program type}}</div> | <div>{{#show:{{{Program|}}}|?Program type}}</div> | ||
<div>{{#if:{{#var:datestart}}|{{#time: M Y|{{#var:datestart}}}}}} {{#ifeq:{{#time: M Y|{{#var:datestart}}}}|{{#time: M Y|{{#var:dateend}}}}||{{#if:{{#var:dateend}}|{{#time: - M Y|{{#var:dateend}}}}}}}}</div> | <div>{{#if:{{#var:datestart}}|{{#time: M Y|{{#var:datestart}}}}}} {{#ifeq:{{#time: M Y|{{#var:datestart}}}}|{{#time: M Y|{{#var:dateend}}}}||{{#if:{{#var:dateend}}|{{#time: - M Y|{{#var:dateend}}}}}}}}</div> | ||
{{#lst:{{{Program|}}}|Program purpose}} | |||
</div> | </div> | ||
</includeonly> | </includeonly> |