Sandbox
m (→Today query) |
m |
||
Line 103: | Line 103: | ||
Older Sandbox stuff on [[Sandbox/2]] | Older Sandbox stuff on [[Sandbox/2]] | ||
+ | |||
+ | == Workshops == | ||
+ | Without recurring events: | ||
+ | |||
+ | {{#ask: [[Category:Workshop]] [[Is Recurring::no]] | ||
+ | [[StartDate::{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}||>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] | ||
+ | [[EndDate::{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}||>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] | ||
+ | | mainlabel=Workshop | ||
+ | | sort=StartDate | ||
+ | | order=asc | ||
+ | | format=broadtable | ||
+ | | default=There are currently no workshops scheduled.<br/>[[Form:Workshop|Propose one]]! | ||
+ | | limit=99 | ||
+ | | ? StartDate = From | ||
+ | | ? EndDate = Till | ||
+ | | ? Location | ||
+ | | ? WorkshopLeader=Contact | ||
+ | }} | ||
+ | |||
+ | ---- | ||
+ | With recurring events: | ||
+ | {{#ask: [[Category:Workshop]] | ||
+ | [[StartDate::{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}||>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] | ||
+ | [[EndDate::{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}||>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] | ||
+ | | mainlabel=Workshop | ||
+ | | sort=StartDate | ||
+ | | order=asc | ||
+ | | format=broadtable | ||
+ | | default=There are currently no workshops scheduled.<br/>[[Form:Workshop|Propose one]]! | ||
+ | | limit=99 | ||
+ | | ? StartDate = From | ||
+ | | ? EndDate = Till | ||
+ | | ? Location | ||
+ | | ? WorkshopLeader=Contact | ||
+ | }} |
Revision as of 19:24, 15 November 2009
Contents |
Poll
<poll> Do you like this extension? Yes No I don't know yet. </poll>
Today query
Now is 10:42 (Which is Servertime-1) ?!
A date that has a time is > than one that does not. :(
This should be a workable workaround:
{{#ask:[[Category:Event||ExternalEvent||Workshop||Meeting]] [[Is Recurring::no]] [[StartDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 00:00]] [[StartDate::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 23:59]] | ?StartDate= | intro='''TODAY''':_ | searchlabel= | sort=StartDate | limit=1 | format=list }}
And with Currenttime instead of 00:00: (which isn't really what the TODAY query is all about.)
As well as a NOW query:
NOW: Arduino Soldering (15 March 2009 15:00:00)
External Data
asking for events from our wiki
{{#get_external_data:https://www.hackerspace.lu/wiki/Special:Ask?title=Special%3AAsk&q=%0D%0AStartDate::+&po=%3FStartDate&sc=0&eq=yes&p=format%3Dcsv&sep=%3D,|CSV with Header|event=|startdate=StartDate}}
{{#for_external_table: * {{{event}}} starts on {{{startdate}}}
}}
asking for external data from hackerspaces.org
{{#get_external_data:http://hackerspaces.org/wiki/Special:Ask?title=Special%3AAsk&q=%0D%0A&po=%3FStart%20date%0D%0A%3Ftitle%0D%0A&sc=0&eq=yes&p=format%3Dcsv&sep=%3D,%7CCSV with Header|event=title|startdate=Start date}}
{{#for_external_table: * {{{event}}} has {{{startdate}}}
}}
asking for opendoors startdate from our wiki {{#get_external_data:https://www.hackerspace.lu/wiki/Special:Ask/-5B-5BOpenDoors-5D-5D/-3FStartDate/-3FEndDate/format%3Dcsv/sep%3D,%7Ccsv with header|sdate=StartDate|edate=EndDate}}
- Opendoors has StartDate {{#external_value:sdate}} and ends on {{#external_value:edate}}
asking for smw sample data from semanticweb.org: {{#get_external_data:http://semanticweb.org/wiki/Special:Ask/-5B-5BGermany-5D-5D/-3FBorders/-3FPopulation/-3FArea/format%3Dcsv/sep%3D,%7Ccsv with header|bordered countries=borders|population=population|area=area}}
- Germany has area {{#external_value:area}}.
OggHandler
FlashMP3
Howto: http://www.mediawiki.org/wiki/Extension:FlashMP3
-
Error: file
02 - Mineralogique.mp3
not found
amazon
Note: if you don't see anything, maybe try turning Adblock off :D
Single box:
Single direkt link without preview: Hackers
Single direkt link with preview: Circuit Bending
Single search link: Books for HackersOlder Sandbox stuff on Sandbox/2
Workshops
Without recurring events:
There are currently no workshops scheduled.
Propose one!
With recurring events: There are currently no workshops scheduled.
Propose one!