Template:Infobox event: Difference between revisions

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.
No edit summary
m (Text replacement - "(['][']['])(.*)(['][']['])" to "{{b|$2}}")
 
(28 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|}}}{{!}}state={{{state|}}}{{!}}country={{{country|}}}}} [[Location::{{#geocode:{{{city|}}}, {{{state|}}} {{{country|}}}}}{{!}}]]|}}
|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|}}}
|data5 = {{#if:{{{nextheldon|}}}|{{#set:Eventstartdate={{#time: F j, Y | {{{nextdate}}}}}}}{{#time: F j, Y | {{{nextdate|}}}}}|[[Eventdate::{{#time: F j, Y | {{{nextdate|}}}}}]]}} {{#if:{{{nextends|}}}|to [[Eventends::{{#time: F j, Y {{!}} {{{nextends|}}}}}]]{{#switch: {{{nextdate|}}}
|{{#set:Eventstartdate={{#time: F j, Y | {{{nextdate}}} }} }}{{#time: F j, Y | {{{nextdate|}}}}} |}} {{#if:{{{nextends|}}}|to [[Eventends::{{#time: F j, Y | {{{nextends|}}}}}]]|}}
{{!}}TBD = {{#set:Eventnotscheduled=TRUE}}
{{!}}{{#set:Eventnotscheduled=FALSE}}
{{#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 54: Line 56:
|rsstitle=Upcoming {{FULLPAGENAME}}
|rsstitle=Upcoming {{FULLPAGENAME}}
|rssdescription=Upcoming {{FULLPAGENAME}}
|rssdescription=Upcoming {{FULLPAGENAME}}
}} '''·''' {{#get_web_data:url=http://dreamhart.org/tiny.php?url={{#ask:
}} {{b|·}} {{#get_web_data:url=https://dreamhart.org/lilliputian.php?url={{#ask:
[[Eventstartdate::+]]
[[Eventstartdate::+]]
[[{{FULLPAGENAME}}]]
[[{{FULLPAGENAME}}]]
[[Status::Active]]
[[Status::Active]]
|? Eventstartdate = start
|? Eventstartdate = start
|? Eventends = end
|? Eventenddate = end
|format=icalendar
|format=iCalendar
|sort=Eventstartdate
|sort=eventstartdate
|order=ASC
|order=ASC
|searchlabel=
|searchlabel=iCal
|default=No results found
|title=Upcoming {{FULLPAGENAME}}
|description=Upcoming {{FULLPAGENAME}}
|title={{FULLPAGENAME}}
}}
}}
|format=csv|data=theurl=1}}<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;
|below =
|below =

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]