Template:RecurringEvent: Difference between revisions

From base48
imported>Admin
No edit summary
(drop SMW shit)
 
Line 18: Line 18:
   <div style="border: 1px solid #CCC; margin: 5px; padding: 0.5em; background-color: #FFF;">
   <div style="border: 1px solid #CCC; margin: 5px; padding: 0.5em; background-color: #FFF;">
     {{ProjectInfoBoxItem|Event start|{{{date description}}}}} <!-- uglyhack: MW parser ignores the trailing spaces of replacement, &#x200b; is 'zero-width' space
     {{ProjectInfoBoxItem|Event start|{{{date description}}}}} <!-- uglyhack: MW parser ignores the trailing spaces of replacement, &#x200b; is 'zero-width' space
--> {{ProjectInfoBoxItem|iCalendar|{{#ask: [[Event page::{{FULLPAGENAME}}]]
                                          [[Start date::>{{Time|now|Y-m-d}}]]
                                          [[Start date::<{{Time|now + 6 months|Y-m-d}}]]
                                        | ?Start date = start
                                        | ?Event page = summary
                                        | format = icalendar
                                        | sort = Start date
                                        | searchlabel = download
                                  }}|1}} <!--
--> <div style="clear: right; margin-top: 4px;"></div>
--> <div style="clear: right; margin-top: 4px;"></div>
   </div>
   </div>
</div> <!--
</div> <!--
--> {{#set_recurring_event:Event page
      |property=Start date
      |start={{{start}}}
      |unit={{{unit|day}}}
      |period={{{period|7}}}
      |include={{{include|}}}
      |exclude={{{exclude|}}}
      |Is recurring=true
      |Image={{{image|}}}
      }} <!--
--> [[Category:Events]] [[Category:Recurring events]]
--> [[Category:Events]] [[Category:Recurring events]]
</includeonly>
</includeonly>

Latest revision as of 17:14, 15 February 2024