Template:SMW display activity-onelineTEST: Difference between revisions

From OLPC
Jump to navigation Jump to search
(move test to separate TEST page)
m (typos!)
Line 1: Line 1:
<noinclude>
<noinclude>
''TEST''
''TEST''
Trying to control the size of the [[Property:Sugar icon]] in query results displayed with this template. E.g. [[Image::CP small.JPG]] , we want to stick |55px on the end to get [[Image::CP small.JPG|55px]]
Trying to control the size of the [[Property:Sugar icon]] in query results displayed with this template. E.g. [[Image:CP small.JPG]] , we want to stick |55px on the end to get [[Image:CP small.JPG|55px]].


See [[Activity query examples#TEST icon size]]

To use this template, make a query like:
<pre>
<pre>
{{#ask:
{{#ask:

Revision as of 01:59, 28 August 2008

TEST Trying to control the size of the Property:Sugar icon in query results displayed with this template. E.g. CP small.JPG , we want to stick |55px on the end to get CP small.JPG.

See Activity query examples#TEST icon size

To use this template, make a query like:

{{#ask:
  [[ some criteria]] ...
  | format=list
  | template=SMW display activity-onelineTEST
  | ?Sugar icon
}}

See query at Activity query examples.


Activity: {{{1}}}, icon: [[{{{2}}}|55px]]