Template:Event: Difference between revisions

From base48
imported>B42
(ics file name)
(drop SMW shit)
 
(10 intermediate revisions by one other user not shown)
Line 2: Line 2:
{{{1}}} - start date
{{{1}}} - start date
{{{end}}} - end date
{{{end}}} - end date
-->
--> <includeonly> <!--
<includeonly>
--> <div style="display: block; float: right; margin-left: 10px; margin-bottom: 10px; margin-top: 10px; width: 300px; " class="catlinks">
{{#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">
   <!-- Header -->
   <!-- Header -->
   <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|{{#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}}]]
                                        | ?Start date = start
                                        | ?Event page = summary
                                        | format = icalendar
                                        | sort = Start date
                                        | searchlabel = download
                                        | title = {{SUBPAGENAMEE}}
                                  }}|1}} <!--
--> <div style="clear: right; margin-top: 4px;"></div>
--> <div style="clear: right; margin-top: 4px;"></div>
   </div>
   </div>
</div>
</div> <!--
[[Category:Events]]
--> [[Category:Events]] <!--
</includeonly>
--> </includeonly> <!--
<noinclude>
--> <noinclude>
{{Event|1970-08-09 10:00}}
{{Event|1970-08-09 10:00|image=Base-small.png}}
Lorem ipsum blah blah.
</noinclude>
</noinclude>

Latest revision as of 17:13, 15 February 2024

Lorem ipsum blah blah.