Difference between revisions of "Template:HCalendar event"

From Second Life Wiki
Jump to navigation Jump to search
(updating to use parser functions extension)
Line 1: Line 1:
<includeonly><div class="vevent" {{#if:{{{vevent_style|}}}|style="{{{vevent_style}}}"|}}><span class="summary" {{#if:{{{summary_style|}}}|style="{{{summary_style}}}"|}}>{{{summary|<strong style="color:red;font-weight:bolder;">summary is required</strong>}}}</span>{{{sep_1|,&nbsp;}}}<span class="dtstart" style="display:none;{{{dtstart_style|}}}">{{{dtstart|<strong style="color:red;font-weight:bolder;">dtstart is required</strong>}}}</span>{{{start|<strong style="color:red;">Human-readable event start required</strong>}}}{{{sep_2|&nbsp;-&nbsp;}}}<span class="dtend" style="display:none;{{{dtend_style}}}">{{{dtend|<strong style="color:red;font-weight:bolder;">dtend is required</strong>}}}</span>{{{end|<strong style="color:red;">Human-readable event end required</strong>}}}{{#if:{{{location|}}}|.{{{location_prefix|&nbsp;Location:&nbsp;}}}<span class="location" {{#if:{{{location_style|}}}|style="{{{location_style}}}"}}}>{{{location}}}</span>|}}</div></includeonly><noinclude>
<includeonly><div class="vevent" {{#if:{{{vevent_style|}}}|style="{{{vevent_style}}}"|}}><span class="summary" {{#if:{{{summary_style|}}}|style="{{{summary_style}}}"|}}>{{{summary|<strong style="color:red;font-weight:bolder;">summary is required</strong>}}}</span>{{{sep_1|,&nbsp;}}}<span class="dtstart" style="display:none;{{{dtstart_style|}}}">{{#time:c|{{{dtstart}}}|}}</span>{{{dtstart|<strong style="color:red;">dtstart is a required parameter</strong>}}}{{#if:{{{dtend|}}}|{{{sep_2|&nbsp;-&nbsp;}}}<span class="dtend" style="display:none;{{{dtend_style}}}">{{#time:c|{{{dtend}}}</span>{{{dtend|<strong style="color:red;">dtend is a required parameter</strong>}}}|}}{{#if:{{{location|}}}|.{{{location_prefix|&nbsp;Location:&nbsp;}}}<span class="location" {{#if:{{{location_style|}}}|style="{{{location_style}}}"}}}>{{{location}}}</span>|}}</div></includeonly><noinclude>
{{:User:SignpostMarv Martin/Sandbox/Template:hCalendar event
{{:User:SignpostMarv Martin/Sandbox/Template:hCalendar event
|summary=April Fool's Day
|summary=April Fool's Day
|dtstart=2007-04-18T00:00:00Z
|dtstart=April 1st
|dtend=2007-04-18T23:59:59Z
|start=From sunrise till sunset
|end=April 1st 2007
|}}
|}}
</noinclude>
</noinclude>

Revision as of 13:55, 1 December 2007

April Fool's DayApril 1st{{#if:| -