Template:Infobox event: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
m (Fixing the ical link - try 2)
m (Text replacement - "(['][']['])(.*)(['][']['])" to "{{b|$2}}")
 
(7 intermediate revisions by the same user not shown)
Line 25: Line 25:
|header5 =
|header5 =
|label5 = Next held on
|label5 = Next held on
|data5 = {{#if:{{{nextdate|}}}
|data5 = {{#if:{{{nextdate|}}}|{{#set:Eventstartdate={{#time: F j, Y | {{{nextdate}}}}}}}{{#time: F j, Y | {{{nextdate|}}}}}|[[Eventstartdate::{{#time: F j, Y | {{{nextdate|}}}}}]]}} {{#if:{{{nextends|}}}|to [[Eventends::{{#time: F j, Y | {{{nextends|}}}}}]]|}}
|{{#set:Eventstartdate={{#time: F j, Y | {{{nextdate}}} }} }}{{#time: F j, Y | {{{nextdate|}}}}} |}} {{#if:{{{nextends|}}}|to [[Eventends::{{#time: F j, Y | {{{nextends|}}}}}]]|}}
{{#switch: {{{nextdate|}}}
| TBD = {{#set:Eventnotscheduled=TRUE}}
{{#if:{{{nextdate|}}}|{{#switch: {{{nextdate|}}}| TBD = {{#set:Eventnotscheduled=TRUE}}| {{#set:Eventnotscheduled=FALSE}}
}}
| {{#set:Eventnotscheduled=FALSE}}
|{{#set:Eventnotscheduled=TRUE}}
}}
}}
|header6 =
|header6 =
Line 55: Line 56:
|rsstitle=Upcoming {{FULLPAGENAME}}
|rsstitle=Upcoming {{FULLPAGENAME}}
|rssdescription=Upcoming {{FULLPAGENAME}}
|rssdescription=Upcoming {{FULLPAGENAME}}
}} {{b|·}} {{#get_web_data:url=https://dreamhart.org/lilliputian.php?url={{#ask:
}} '''·''' {{#get_web_data:url={{fullurl:Special%3AAsk&q=%5B%5BEventstartdate%3A%3A%2B%5D%5D%0D%0A%5B%5BStatus%3A%3AActive%5D%5D%0D%0A%5B%5B{{FULLPAGENAME}}%5D%5D&po=%3FEventstartdate%3Dstart%0D%0A%3FEventenddate%3Dend%0D%0A&eq=yes&p%5Bformat%5D=icalendar&sort%5B0%5D=Eventstartdate&order%5B0%5D=ASC&sort_num=&order_num=ASC&p%5Blimit%5D=&p%5Boffset%5D=&p%5Blink%5D=all&p%5Bsort%5D=Eventstartdate&p%5Border%5D%5Basc%5D=1&p%5Bheaders%5D=show&p%5Bmainlabel%5D=Upcoming+Events+{{FULLPAGENAME}}&p%5Bintro%5D=&p%5Boutro%5D=&p%5Bsearchlabel%5D=iCal&p%5Bdefault%5D=No+upcoming+events&p%5Btitle%5D={{FULLPAGENAME}}EventExport.ics&p%5Bdescription%5D=Upcoming+events+{{FULLPAGENAME}}&eq=yes|action=raw}}
[[Eventstartdate::+]]
[[{{FULLPAGENAME}}]]
[[Status::Active]]
|? Eventstartdate = start
|? Eventenddate = end
|format=iCalendar
|sort=eventstartdate
|order=ASC
|searchlabel=iCal
|default=No results found
|title={{FULLPAGENAME}}
}}
|format=csv|data=theurl=1|suppress error}}<span class="plainlinks">[{{#external_value:theurl}} iCal]</span>
|format=csv|data=theurl=1|suppress error}}<span class="plainlinks">[{{#external_value:theurl}} iCal]</span>
|belowstyle = background:#ddf;
|belowstyle = background:#ddf;

Latest revision as of 21:30, 13 September 2023

Infobox event

Caption goes here
Organizer(s) Organizer(s)
Status Active
First held on February 2, 2008
Last held on February 28, 2008
Setting Camping
Website
Subscribe RSS · [there iCal]