Deployment query examples: Difference between revisions

From OLPC
Jump to navigation Jump to search
(working timeline!)
(→‎Timeline of deployments: use format=eventline since OLPC Mozambique has multiple dates)
Line 1: Line 1:
== Timeline of deployments ==
== Timeline of deployments ==


Not many pages have [[Property:Has received laptops on date]], but this could be cool.
Currently, not many pages have [[Property:Has received laptops on date]], but this could be cool.
Click on each deployment's "dot" to see more info.

(Check out http://semanticweb.org/wiki/Upcoming_events for a really cool timeline)

format=timeline can display length bars. Check out http://semanticweb.org/wiki/Upcoming_events


{{#ask:
{{#ask:
[[Has received laptops on date::+]]
[[Has received laptops on date::+]]
| ?Contact person
| ?Contact person
| ?Keyboard
| ?Number of manufactured laptops
| ?Number of manufactured laptops
| ?Has received laptops on date
| ?Language spoken
| ?Keyboard
| ?School server status
| ?School server status
| ?Software release
| ?Software release
| format=eventline <!-- use this instead of "timeline" if a page has more than one value for the date property -->
| format=timeline|link=all
| link=all
| ?Has received laptops on date = start <!-- this is key, you have to identify some date property as "start", and optionally something as "end" -->
<!-- this is key, you have to identify some date property as the timelinestart, and optionally something as timelineend to draw duration bars -->
| timelinebands=MONTH,YEAR|
| timelinebands=MONTH,YEAR|
| timelinesize=200px
| timelineposition=start
| sort=Has received laptops on date
| sort=Has received laptops on date
| limit=50 <!-- limited to 50 entries in order to limit the complexity of client-side JavaScript processing -->
| limit=50 <!-- limited to 50 entries in order to limit the complexity of client-side JavaScript processing -->
| default=No pages with [[Property:Has received laptops on date]] found?
| default=No pages with [[Property:Has received laptops on date]] found?
}}
}}

Normally you use format=timeline, but August 2008, [[OLPC Mozambique]] has ''two'' of these date properties, so use format=eventline.

format=timeline can display length bars if pages have start and end dates, check out http://semanticweb.org/wiki/Upcoming_events.
This could be very useful for community stuff.

Revision as of 07:48, 16 August 2008

Timeline of deployments

Currently, not many pages have Property:Has received laptops on date, but this could be cool. Click on each deployment's "dot" to see more info.

{{#ask: Has received laptops on date::+

 | ?Contact person
 | ?Number of manufactured laptops
 | ?Has received laptops on date
 | ?Language spoken
 | ?Keyboard
 | ?School server status
 | ?Software release
 | format=eventline 
 | link=all
 | timelinebands=MONTH,YEAR|
 | timelinesize=200px
 | sort=Has received laptops on date
 | limit=50  
 | default=No pages with Property:Has received laptops on date found?

}}

Normally you use format=timeline, but August 2008, OLPC Mozambique has two of these date properties, so use format=eventline.

format=timeline can display length bars if pages have start and end dates, check out http://semanticweb.org/wiki/Upcoming_events. This could be very useful for community stuff.