Template:Infobox event: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
No edit summary
(Trying to fix the ical link still.)
 
(24 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:{{{nextheldon|}}}|{{#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|}}}}}]]{{#switch: {{{nextdate|}}}|TBD = {{#set:Eventnotscheduled=TRUE}}|{{#set:Eventnotscheduled=FALSE}}
|{{#set:Eventstartdate={{#time: F j, Y | {{{nextdate}}} }} }}{{#time: F j, Y | {{{nextdate|}}}}} |}} {{#if:{{{nextends|}}}|to [[Eventends::{{#time: F j, Y | {{{nextends|}}}}}]]|}}
}}|}}
{{#if:{{{nextdate|}}}|{{#switch: {{{nextdate|}}}| TBD = {{#set:Eventnotscheduled=TRUE}}| {{#set:Eventnotscheduled=FALSE}}
}}
|{{#set:Eventnotscheduled=TRUE}}
}}
|header6 =
|header6 =
|label6 = First held on
|label6 = First held on
Line 42: Line 46:
|label10 = Subscribe
|label10 = Subscribe
|data10 = {{#ask:
|data10 = {{#ask:
[[Eventstartdate::+]]
[[Eventstartdate::>{{#time: Y-m-d | -2 days }}]]
[[Eventstartdate::<{{#time: Y-m-d | {{CURRENTYEAR}}-12-31}}]]
[[{{FULLPAGENAME}}]]
[[{{FULLPAGENAME}}]]
[[Status::Active]]
[[Status::Active]]
Line 52: Line 57:
|rsstitle=Upcoming {{FULLPAGENAME}}
|rsstitle=Upcoming {{FULLPAGENAME}}
|rssdescription=Upcoming {{FULLPAGENAME}}
|rssdescription=Upcoming {{FULLPAGENAME}}
}} {{b|·}} {{#ifexpr: {{#ask: [[Eventstartdate::+]] [[{{FULLPAGENAME}}]] [[Status::Active]] |format=count}} > 0
}} '''·''' {{#get_web_data:url=http://dreamhart.org/tiny.php?url={{#ask:

[[Eventstartdate::+]]
| {{#ask:
[[{{FULLPAGENAME}}]]
[[Eventstartdate::>{{#time: Y-m-d | -2 days }}]]
[[Status::Active]]
|? Eventstartdate = start
[[Eventstartdate::<{{#time: Y-m-d | {{CURRENTYEAR}}-12-31}}]]
[[{{FULLPAGENAME}}]]
|? Eventends = end
[[Status::Active]]
|format=icalendar
|sort=Eventstartdate
|? Eventstartdate = start
|? Eventenddate = end
|order=ASC

|searchlabel=
|format=iCalendar
|title=Upcoming {{FULLPAGENAME}}
|sort=eventstartdate
|description=Upcoming {{FULLPAGENAME}}
|order=ASC
|searchlabel=iCal
|title={{FULLPAGENAME}}
}}
| <span class="error">No iCal available.</span>
}}
}}

|format=csv|data=theurl=1}}<span class="plainlinks">[{{#external_value:theurl}} iCal]</span>

|belowstyle = background:#ddf;
|belowstyle = background:#ddf;
|below =
|below =

Latest revision as of 12:44, 12 April 2026

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 · No iCal available.