Template:Infobox event: Difference between revisions
No edit summary |
(Trying to fix the ical link still.) |
||
| (34 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
|title = {{PAGENAME}} |
|title = {{PAGENAME}} |
||
|titlestyle = background:#ccf; |
|titlestyle = background:#ccf; |
||
|image ={{#if:{{{image|<noinclude>File:Example.png</noinclude>}}}|[[{{{image|<noinclude>File:Example.png</noinclude>}}}|200px|link={{{url|<noinclude>http://www.example.com</noinclude>}}}]]{{#set:hasimage=True |
|image ={{#if:{{{image|<noinclude>File:Example.png</noinclude>}}}|[[{{{image|<noinclude>File:Example.png</noinclude>}}}|200px|link={{{url|<noinclude>http://www.example.com</noinclude>}}}]]{{#set:hasimage=True}}}} |
||
|imagestyle = |
|imagestyle = |
||
|caption = {{{caption|<noinclude>Caption goes here</noinclude>}}} |
|caption = {{{caption|<noinclude>Caption goes here</noinclude>}}} |
||
| Line 16: | Line 16: | ||
|header2 = |
|header2 = |
||
|label2 = Status |
|label2 = Status |
||
|data2 = {{{status|<noinclude>Active</noinclude>}}} |
|data2 = [[Status::{{{status|<noinclude>Active</noinclude>}}}]] |
||
|header3 = |
|header3 = |
||
|label3 = Location |
|label3 = Location |
||
|data3 = {{#if:{{{country|}}}|{{{city|}}}, {{{state|}}} {{{country|}}} {{#set:city={{{city}}} |
|data3 = {{#if:{{{country|}}}|{{{city|}}}, {{{state|}}} {{{country|}}} {{#set:city={{{city|}}}|state={{{state|}}}|country={{{country|}}}}} [[Location::{{#geocode:{{{city|}}}, {{{state|}}} {{{country|}}}}}{{!}} ]]|}} |
||
|header4 = |
|header4 = |
||
|label4 = Average Attendees |
|label4 = Average Attendees |
||
| Line 25: | Line 25: | ||
|header5 = |
|header5 = |
||
|label5 = Next held on |
|label5 = Next held on |
||
|data5 = {{#if:{{{nextdate|}}} |
|||
|{{#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}} |
||
}} |
|||
| ⚫ | |||
}} |
|||
|header6 = |
|header6 = |
||
|label6 = First held on |
|label6 = First held on |
||
| Line 44: | 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 54: | 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: |
|||
| ⚫ | |||
[[Eventstartdate::>{{#time: Y-m-d | -2 days }}]] |
|||
| ⚫ | |||
[[Eventstartdate::<{{#time: Y-m-d | {{CURRENTYEAR}}-12-31}}]] |
|||
| ⚫ | |||
|? Eventends = end |
|||
| ⚫ | |||
| ⚫ | |||
| |
|? Eventstartdate = start |
||
|? Eventenddate = end |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
|sort=eventstartdate |
|||
|description=Upcoming {{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
![]() 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. |
