Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
m (Text replacement - "Opportunity type" to "Opportunity format")
 
(4 intermediate revisions by the same user not shown)
Line 106: Line 106:
   }}<!--
   }}<!--


-->{{{Open hours|}}}<!--
-->{{#if: {{{Open hours|}}}|<tr>
<td>Schedule</td>
<td><ul>
{{{Open hours|}}}
</ul></td>
</tr>
  }}<!--


-->{{#if: {{{Event format|}}}|<tr>
-->{{#if: {{{Event format|}}}|<tr>
Line 328: 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 379: 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