Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
m (Text replacement - "Opportunity type" to "Opportunity format")
 
(3 intermediate revisions by the same user not shown)
Line 107: Line 107:


-->{{#if: {{{Open hours|}}}|<tr>
-->{{#if: {{{Open hours|}}}|<tr>
<td>Open hours</td>
<td>Schedule</td>
<td><ul>
<td><ul>
{{{Open hours|}}}
{{{Open hours|}}}
</ul</td>
</ul></td>
</tr>
</tr>
   }}<!--
   }}<!--
Line 334: Line 334:
   [[Associated Event::{{#ask: [[{{PAGENAME}}]]|link=none}}]]
   [[Associated Event::{{#ask: [[{{PAGENAME}}]]|link=none}}]]
   |mainlabel=Opportunity
   |mainlabel=Opportunity
   |?Opportunity type=Opportunity type
   |?Opportunity format=Opportunity format
   |?Opportunity short description=Description
   |?Opportunity short description=Description
   |?Opportunity start date=Start
   |?Opportunity start date=Start
Line 385: Line 385:
| {{#ifexpr: {{#time: Ymd|{{{Date Start|}}}}}>{{#time: Ymd|now}}
| {{#ifexpr: {{#time: Ymd|{{{Date Start|}}}}}>{{#time: Ymd|now}}
| [[Category:Upcoming Events]]
| [[Category:Upcoming Events]]
}} {{#ifexpr: {{#time: Ymd|{{{Date End|}}}}}<{{#time: Ymd|now}}
}} {{#ifexpr: {{#time: Ymd235959|{{{Date End|}}}}}<{{#time: Ymd000000|now}}
| [[Category:Past Events]]
| [[Category:Past Events]]
}}
}}
}}
}}
</includeonly>
</includeonly>

Latest revision as of 09:32, July 28, 2024