Template:Event: Difference between revisions

From base48
imported>B42
(ics file name)
imported>B42
m (remove obsolete comment)
Line 4: Line 4:
-->
-->
<includeonly>
<includeonly>
{{#set_internal:Event page
| Start date = {{{1}}}
| Is recurring = false
}}
<div style="display: block; float: right; margin-left: 10px; margin-bottom: 10px; margin-top: 10px; width: 300px; " class="catlinks">
<div style="display: block; float: right; margin-left: 10px; margin-bottom: 10px; margin-top: 10px; width: 300px; " class="catlinks">
   <!-- Header -->
   <!-- Header -->
Line 15: Line 11:
   <!-- 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|{{#if:{{{1|}}}|{{{1}}}|}}}} <!-- uglyhack: MW parser ignores the trailing spaces of replacement, &#x200b; is 'zero-width' space
     {{ProjectInfoBoxItem|Event start|{{#if:{{{1|}}}|{{{1}}}|}}}} <!--
--> {{ProjectInfoBoxItem|iCalendar|{{#ask: [[Event page::{{FULLPAGENAME}}]]
--> {{ProjectInfoBoxItem|iCalendar|{{#ask: [[Event page::{{FULLPAGENAME}}]]
                                         | ?Start date = start
                                         | ?Start date = start
Line 27: Line 23:
   </div>
   </div>
</div>
</div>
{{#set_internal:Event page
| Start date = {{{1}}}
| Is recurring = false
}}
[[Category:Events]]
[[Category:Events]]
</includeonly>
</includeonly>

Revision as of 19:16, 12 February 2013



{{#set_internal:Event page | Start date = 1970-08-09 10:00 | Is recurring = false }}