Template:Infobox event: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
m (Doesn't need the extension in the title.)
(Trying to fix the ical link still.)
 
(9 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 45: 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 55: Line 57:
|rsstitle=Upcoming {{FULLPAGENAME}}
|rsstitle=Upcoming {{FULLPAGENAME}}
|rssdescription=Upcoming {{FULLPAGENAME}}
|rssdescription=Upcoming {{FULLPAGENAME}}
}} {{b|·}} {{#ifexpr: {{#ask: [[Eventstartdate::+]] [[{{FULLPAGENAME}}]] [[Status::Active]] |format=count}} > 0
}} '''·''' {{#ask:

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

|searchlabel=iCal
|format=iCalendar
|default=No results found
|sort=eventstartdate
|title={{FULLPAGENAME}}}}
|order=ASC
|searchlabel=iCal
|title={{FULLPAGENAME}}
}}
| <span class="error">No iCal available.</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.