Template:RecurringEvent: Difference between revisions

From base48
imported>B42
(Undo revision 2121 by B42 (talk))
(drop SMW shit)
 
(8 intermediate revisions by 2 users not shown)
Line 14: Line 14:
   <div style="margin-top: 0.3em; margin-bottom: 0.3em; width: 290px; font-weight: bolder; font-size: 1.4em; text-align: center;  color: #333;">{{PAGENAME}}</div>
   <div style="margin-top: 0.3em; margin-bottom: 0.3em; width: 290px; font-weight: bolder; font-size: 1.4em; text-align: center;  color: #333;">{{PAGENAME}}</div>
   <!-- Logo -->
   <!-- Logo -->
   <div style="width: 290px; text-align: center; margin: 5px;"><!-- logo --></div>
   <div style="width: 290px; text-align: center; margin: 5px;">{{#if: {{{image|}}}|[[File:{{{image}}}|frameless|290px]]|}}</div>
   <!-- Details -->
   <!-- Details -->
   <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_internal_recurring_event:Event page
      |property=Start date
      |start={{{start}}}
      |unit={{{unit|day}}}
      |period={{{period|7}}}
      |include={{{include|}}}
      |exclude={{{exclude|}}}
      |Is recurring=true
      }} <!--
--> [[Category:Events]] [[Category:Recurring events]]
--> [[Category:Events]] [[Category:Recurring events]]
</includeonly>
</includeonly>

Latest revision as of 17:14, 15 February 2024