Template:Event: Difference between revisions
imported>B42 (Test) |
imported>B42 (Test) |
||
Line 16: | Line 16: | ||
<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, ​ is 'zero-width' space | {{ProjectInfoBoxItem|Event start|{{#if:{{{1|}}}|{{{1}}}|}}}} <!-- uglyhack: MW parser ignores the trailing spaces of replacement, ​ is 'zero-width' space | ||
--> {{ProjectInfoBoxItem|iCalendar|{{#ask: [[Event page::{{ | --> {{ProjectInfoBoxItem|iCalendar|{{#ask: [[Event page::{{FULLPAGENAME}}]] | ||
| ?Start date = start | | ?Start date = start | ||
| ?Event page = summary | | ?Event page = summary |
Revision as of 00:00, 10 January 2013
{{#set_internal:Event page | Start date = 1970-08-09 10:00 | Is recurring = false }}
Event
Event start:
1970-08-09 10:00
iCalendar:
{{#ask: Event page::Template:Event
| ?Start date = start | ?Event page = summary | format = icalendar | sort = Start date | searchlabel = download}}