Template:Test: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
;[[{{{Program|}}}]]
;[[{{{Program|}}}]]
<div class="mb-3">
<div class="mb-3"><!--
-->{{#vardefine:datestart|{{#show:{{{Program|}}}|?Date Start}}}}<!--
-->{{#vardefine:dateend|{{#show:{{{Program|}}}|?Date End}}}}
<div>{{#show:{{{Program|}}}|?Program type}}</div>
<div>{{#show:{{{Program|}}}|?Program type}}</div>
<div>{{#if:{{#show:{{{Program|}}}|?Date Start}}|{{#time: M Y|{{#show:{{{Program|}}}|?Date Start}}}}}} {{#if:{{#show:{{{Program|}}}|?Date End}}|{{#time: - M Y|{{#show:{{{Program|}}}|?Date End}}}}}}</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>
</div>
</includeonly>
</includeonly>

Revision as of 10:33, August 16, 2022