Activity query examples: Difference between revisions

From OLPC
Jump to navigation Jump to search
(add a separate test)
Line 20: Line 20:
}}
}}


== TEST icon size ==
How do I control the icon size in [[Property:Sugar icon]] ? Feel free to fiddle around with [[Template:display_activity-onelineTEST]]

{{#ask:
[[Short description::+]]
| ?Sugar icon
|format=template
|template=SMW_display_activity-onelineTEST
|limit=10
|default=Nothing with [[Property:Short_description]] found?
}}


[[Category:Semantic MediaWiki]]
[[Category:Semantic MediaWiki]]

Revision as of 01:47, 28 August 2008

Count

There are {{#ask:

 Activity bundle::+
 | format=count

}} pages that have a value for Property:Activity bundle.

With a template

{{#ask:

 Short description::+
 | ?Sugar icon
 | ?Short description
 | ?Activity bundle
 | ?Activity version
 |format=template
 |template=SMW_display_activity-oneline
 |default=Nothing with Property:Short_description found?

}}

TEST icon size

How do I control the icon size in Property:Sugar icon ? Feel free to fiddle around with Template:display_activity-onelineTEST

{{#ask:

 Short description::+
 | ?Sugar icon
 |format=template
 |template=SMW_display_activity-onelineTEST
 |limit=10
 |default=Nothing with Property:Short_description found?

}}